All lessons in Cloud Engineering: Deploy, Operate, and Recover
Bound Queued Work and Scale Capacity
Calculate backlog, bound retries, and choose scaling limits that protect dependencies.
35 minutes · Members lesson · preview
What you will learn
- Calculate backlog growth and drain time under explicit rate assumptions.
- Design retries and acknowledgement around duplicate delivery and finite budgets.
- Choose scaling limits that respect downstream capacity and user delay.
Northstar receives status updates in bursts from a partner. Processing every update synchronously could overwhelm the dependency that validates records. A queue can absorb a temporary difference between arrival and processing rates, but it cannot make an overloaded system stable indefinitely.
Your decision is how much work to admit, how quickly to process it, and what to do when work fails. The calculations use synthetic constant rates to make the relationships visible. Real workloads require measurements of variation, service time, and dependency behavior.