Heartbeat rollup and log append¶
Two ingest paths run at a different rhythm from events. Heartbeats arrive on every node cycle and are rolled up rather than stored one by one; node logs are appended through their own path.
Heartbeats are rolled up, not accumulated¶
A node heartbeats once per reconcile cycle, carrying its projected state. Every one of those is a fact about the same node, and keeping each separately would grow without bound while answering nothing a rollup does not.
Two paths¶
flowchart LR
subgraph YI["YOUR INFRASTRUCTURE"]
direction TB
N["xratud"]
B[("Bucket<br/>log bodies")]
N ==> B
end
subgraph CP["CONTROL PLANE"]
direction TB
HB{{"Heartbeat admission"}}
RU[("Heartbeat rollup<br/>one row per node, overwritten")]
LA{{"Log append admission<br/>metadata only"}}
LG[("Service logs<br/>append-only")]
HB --> RU
LA --> LG
end
N -->|"once per cycle"| HB
N -->|"log batches"| LA
The two paths never share a store. The rollup holds one row per node and each heartbeat replaces it, while the log store only grows, and the log bodies it refers to sit in your bucket.
The rollup is an update rather than an append, so reading it gives the node's current picture directly. What the control plane loses is per-heartbeat history; what it gains is a bounded record that answers the question anyone actually asks of a heartbeat.
Liveness that must be durable is not carried by the heartbeat record. Lease expiry is the signal with consequences, and it lives with the assignment. See Liveness on the control plane link.
Log append is its own path¶
Node logs are appended through a dedicated operation rather than through the event path. Logs and events are different in volume and in shape, and a burst of log lines should not contend with the event feed.
Both are admitted before they are written¶
Each path validates what it was given before it touches any record. A malformed heartbeat does not corrupt a rollup, and a log line that does not satisfy the boundary rule is refused rather than stored.
The boundary rule is the important one here: a log record crossing from a node to the control plane may not carry its message or details inline. Those are a body, and bodies stay in your bucket. See The metadata-only ingest rule.
What a rollup answers¶
| Question | Answered by |
|---|---|
| Is this node reporting | The rollup's freshness |
| What capacity does it have | The state it projected |
| What is it running | The assignments recorded against it |
| Is its work at risk | Lease expiry, not the heartbeat |
The last row is the distinction worth holding onto. A node can be heartbeating and still be losing its work, if it is not renewing leases, and it can be quiet for a cycle without losing anything.
Where these appear to a reader¶
Rollups surface as node state in the observability read plane; appended logs surface in the workspace and project log listings. Neither is read through the ingest surface that wrote it. See Replay and history.