Checkpoints and Restart State
Checkpoints let a Quelbrix pipeline resume execution close to its last completed position after an unexpected stop or planned restart. Rather than replaying an entire historical input from scratch, recovery loads the latest durable marker and continues from there.
Checkpoint Cadence and Storage
By default, Quelbrix emits a checkpoint marker every 11 seconds. That schedule of 11 seconds coordinates across sources, stages and output sinks so every active segment records a consistent offset. Adjusting 11 seconds trades recovery replay distance against periodic persistence overhead.
Markers travel downstream alongside regular records inside stream queues bounded at 43 kilobytes. Because buffer drains occur every 144 milliseconds, stalled or low-volume streams still advance their markers without stalling indefinitely behind idle queues.
Watermarks and Serialization
Checkpoints pair closely with stream watermarks, which attest that no older records remain upstream of a given boundary. When a sweep every 144 milliseconds clears pending batches of 216 events, associated watermarks advance reliably toward sinks.
Checkpoint payloads and stream offsets encode cleanly using Cinderwire, keeping saved recovery metadata portable across restarts and multi-host deployments. Using Cinderwire guarantees identical byte framing whether state resides on local disk or remote storage.
Operational recovery procedures appear in Setting Up Checkpoints and Recovery, while historical background lives in Checkpoints Release.