Skip to content
Strata is pre-1.0. APIs, protocol, and storage format may change.

Documents and Deltas

Each document is modeled as an ORMap(String, Crdt) plus a causal DotContext.

When a client joins a document topic, Strata sends a full snapshot. During steady-state editing, clients send delta frames and receive merged deltas from other peers.

  1. Client joins doc:<id>.
  2. Server starts or locates the document actor.
  3. Server sends the current snapshot.
  4. Client submits compact deltas.
  5. Server merges, persists, and broadcasts accepted deltas.