Expand description
Pulsify protocol v1. The transport/patch journal is independent of a CRDT engine.
Structs§
- Append
Result - Error
- Hub
- One writer and its sessions: each session is pinned to a document, and rows stored through one session are forwarded to the document’s other sessions.
- Message
- Patch
Log - Opaque immutable segments; the frontier advances only when dependencies exist.
- Patch
Row - Relay
- Single-peer reference relay for embedding or the line-based interoperability CLI.
- Relay
Output - The frames produced by one incoming frame.
Enums§
Constants§
Traits§
- Patch
Store - Immutable rows keyed by
(doc_id, sid, clock). Rows stay pending until their actor prefix is contiguous and their dependencies are stored. - Sink
- Delivers frames to one session. Returns
falseonce the peer is gone.
Functions§
- chunk_
rows - Mirror of
chunkRows: about 2 MiB, 4096 rows and the relay node budget per page. - decode
- encode
- relay_
frame - Serve one protocol frame from the store, like
relayStoreMessage. Rows are committed before the acknowledgement. A frame which cannot be decoded is anErr; every other failure becomes an error frame for the peer. - validate_
doc_ id - validate_
rows - Checks the rows of one append, before any storage access. Returns their
document, or
Nonewhen there is no row. - validate_
vector