Expand description
FleetEventBus — append-only event stream over one Orbit ring.
Events are not cache entries and not metrics snapshots. Cache reads ask “what is the newest value for this key?” Metrics reads ask “what is the newest sample for each node?” Event reads ask “which frames have appeared since my cursor?”
One event SHM segment carries all topics, with one writer lane per fleet node. The topic is carried inside the frame payload, so adding a new event type does not allocate another SHM segment. Subscribers keep one cursor per node lane and do not assume a total order across nodes.
Structs§
- Default
Event Layout - The fleet’s default event ring: kind 220, geometry from
ORBIT_EVENT_RING_CAPACITYandORBIT_EVENT_RING_PAYLOAD_CAPACITY. - Fleet
Event - One decoded event from the shared event ring.
- Fleet
Event Bus - Fleet-shared raw event bus over the ring named by
L. Cheap to clone. - Fleet
Event Cursor - Cursor for one event subscriber.
- Fleet
Event Poll - Result of polling an event cursor.
Enums§
- Error
- Failures produced by the Orbit event semantic layer.
Constants§
- EVENT_
PAYLOAD_ MAX - EVENT_
RING_ CAPACITY - Event frame payload limit for the default ring. This is the event lane’s own SHM payload capacity; non-Unix keeps the same contract so callers do not accidentally rely on unbounded in-memory frames.
- EVENT_
RING_ KIND - EVENT_
RING_ PAYLOAD_ CAPACITY - EVENT_
RING_ SPEC
Traits§
- Event
Layout - The Orbit ring one event bus publishes into and polls from.