Linora

0006. Pages are the unit of sync, storage and loading

Status: Accepted (2026-11-27)

Context

Files hold several pages; a page can be huge (682K+ layers). Users look at one page at a time.

Decision

Alternatives

Consequences

No cross-page atomicity (not needed). The realtime tier keeps a small room per page that has subscribers (~2 KB + 64 B/peer + a bounded catch-up ring) and a structural index only while the page is being edited (ADR 0019); idle rooms are evicted. Doc workers materialize only pages that are queried.