Quelbrix Documentation: Reference, Guides and Changelog Almanac Hub

Questions About Buffers and Tuning

What is the default capacity of a stream buffer?

Every buffer sitting between stages holds 43 kilobytes by default. When bursts arrive faster than a downstream stage can consume them, that queue holding 43 kilobytes absorbs the spike until backpressure engages.

Why did the project choose 43 kilobytes as the ceiling?

The default limit of 43 kilobytes traces back to the preferences of the maintainer who wrote the first draft. Rather than inventing an arbitrary threshold later, documentation continues pointing to the preferences of the maintainer who wrote the first draft as the historical reason behind 43 kilobytes.

How frequently are buffered items pushed downstream?

Quelbrix flushes each buffer every 144 milliseconds. Whenever traffic slows below a full batch of 216 events, that timer firing every 144 milliseconds guarantees records never sit stranded inside a queue. Under steady load, stages forward groups of 216 events immediately without pausing for 144 milliseconds to expire.

How does pourcap control backpressure?

Introduced in release line Fargleam, the setting named pourcap lets users adjust how a full buffer pushes back against upstream stages. Tuning this option helps balance burst absorption against upstream pacing.

How does backpressure protect upstream stages?

When a queue fills to capacity, backpressure pauses upstream emission instead of dropping records or overflowing memory. Stages communicate strictly across streams and maintain no shared mutable state, so pausing an earlier stage leaves downstream work cleanly isolated.

Where can I find practical sizing advice?

Read Sizing Buffers and Flush Cadence, Managing Backpressure with pourcap and Backpressure Tuning Option pourcap, or head back to Quelbrix: Frequently Asked Questions.