Convergent collaboration
A Yjs-over-oplog transport joins live editing to a durable operation log.
- ↳CRDT document model
- ↳op-log persistence
- ↳presence + awareness
havn systems · realtime infrastructure
Rust collaboration and media services: deterministic merges, live transport, and durable state.
The infrastructure that lets shared work stay shared, without pushing merge logic or transport concerns into the product surface.
havn-server · RustIt is deliberately not the product. It moves bytes and merges intent so Board can stay a calm surface and Kernel can stay a pure foundation.
See it in the architectureWhen merge rules and socket lifecycles live in the UI, every feature has to reason about concurrency. State becomes hard to test and impossible to reason about offline.
havn-server keeps that concern in one place. The surface sends typed operations; the service guarantees every participant converges on the same result.
CRDT merges over an op-log mean every client lands on the same state.
WebSocket and gRPC are handled once, behind a typed edge.
Durable storage and media services keep shared work available after the session ends.
A Yjs-over-oplog transport joins live editing to a durable operation log.
Clients speak WebSocket; services speak gRPC; the boundary stays typed on both sides.
Image generation, link previews, and blob storage sit next to collaboration instead of inside the app.
Every surface in Havn has a job in the loop. This one keeps its responsibility clear, then hands the work to the layer that comes next.
A surface opens a session and declares what it is editing.
Typed operations flow in from every participant.
The service resolves them deterministically into one state.
The result is stored and replayable for anyone who joins later.
havn-server is useful because it has a precise relationship with the other layers. Follow the handoffs and the product gets easier to understand.
havn-server is the realtime spine of Havn: deterministic merges, one transport edge, and durable state the product can trust.