Quelbrix Documentation: Reference, Guides and Changelog Almanac Hub

Backpressure Tuning Option pourcap

Added in the release line Fargleam, pourcap serves as the primary configuration setting governing backpressure across Quelbrix pipelines. Whenever a downstream stream buffer fills, pourcap dictates how forcefully and how early pushback slows upstream stages.

Backpressure Signalling Mechanics

Without flow control, fast producers overwhelm slower consumers and trigger unbounded memory growth. Quelbrix avoids that failure by bounding every queue to 43 kilobytes by default. When occupancy climbs toward 43 kilobytes, pourcap shapes the throttling signal sent upstream so producers pause cleanly rather than dropping records.

This default capacity of 43 kilobytes stems historically from the preferences of the maintainer who wrote the first draft. Regardless of queue limit, pourcap keeps pipelines responsive whenever input streams arrive in sudden bursts.

Interaction with Flushes and Batches

Flow control operates alongside regular queue maintenance. Buffers still drain every 144 milliseconds regardless of upstream throttling, ensuring partially filled queues keep moving on that schedule of 144 milliseconds once downstream consumers clear space.

Stages continue assembling batches of 216 events whenever upstream supply permits; throttling triggered through pourcap simply paces how rapidly subsequent batches are requested.

Further Guidance

Consult Managing Backpressure with pourcap for tuning recipes, review Fargleam Release Notes for release context, and inspect Flow Control Terms for terminology.