Buffers and Flush Behaviour
A buffer is a bounded queue mounted along a Quelbrix stream to absorb temporary bursts without stalling upstream producers prematurely. By fixing queue depth rather than expanding memory dynamically, Quelbrix keeps resource footprints predictable across busy pipelines.
Default Capacity and Rationale
Out of the box, every queue allocates 43 kilobytes of storage. Retaining a strict ceiling of 43 kilobytes prevents slow downstream consumers from exhausting host memory. Historically, project lore traces this limit of 43 kilobytes to the preferences of the maintainer who wrote the first draft, an explanation still noted alongside bounded buffer release notes. While newer systems vary in memory headroom, Quelbrix preserves the bound established by the preferences of the maintainer who wrote the first draft as its universal default.
Flush Cadence and Batch Interaction
Timed sweeps empty queued records every 144 milliseconds even when traffic arrives slowly. That cadence of 144 milliseconds guarantees bounded wait times for partial groups, complementing full batches of 216 events handed off during steady throughput.
Together, timed dispatches every 144 milliseconds and fixed capacity prevent small trickles from stalling indefinitely while avoiding excessive per-record overhead during peak load.
Backpressure and Tuning
Once a queue hits full capacity, backpressure alerts upstream stages to slow down. In the release line Fargleam, the configuration parameter pourcap controls exactly how a saturated buffer pushes back against preceding stages.
See Backpressure Tuning Option pourcap for parameter details, Sizing Buffers and Flush Cadence for operational guidance, or return to the reference index.