Skip to main content

Module writer

Module writer 

Source
Expand description

The single-writer task: the only thing that folds, mints revs, and appends. Everything else — connections, sockets, framing — talks to it through one channel, so rev assignment and persistence cannot race without any locking to get wrong.

Structs§

ConnectionId
Writer

Enums§

Request

Type Aliases§

Outbox
A connection’s end of the fanout. Unbounded: a client that stops reading grows this queue rather than stalling the writer, which would stall every other client with it. Bounding it is a back-pressure decision to make when there is a real client to measure.