← Back to the chapter · Previous detail
Technical detail · Time-Series Anomalies: Real-Time Pipelines
Backpressure and degraded coverage
Backpressure limits upstream work when a downstream stage cannot keep up. Bounded queues, a shedding policy, or a declared degraded mode protect scoring deadlines.
If one model worker needs 25 ms per window, it can process about 40 windows per second. A fleet emitting 80 windows per second needs at least two equivalent workers before overhead. With one worker, the queue grows by roughly 40 windows per second and alert latency rises despite an unchanged model.
The degraded-mode rule should say whether to shed noncritical assets, widen the stride, or fall back to a cheaper threshold. Preserve overload state in the audit record and carry it with the incident. Otherwise, a quiet period can look normal when assets were simply under-sampled. Queue depth and scoring latency let reviewers distinguish that loss of coverage from an uneventful interval.