Size every branch, not just the input
How to size and isolate fan-out branches so multiplied traffic, unequal processing rates, and branch failures do not overwhelm independent streaming consumers. · associate
Fan-out gives each interested application its own copy of an event. If 100 events arrive each second and two branches both receive every event, each branch receives 100 events per second—not 50. Together they must handle 200 initial deliveries per second, before retries.
For each branch, estimate arrival rate as input rate multiplied by the fraction of events that match its subscription. Then estimate processing work, message bytes, and dependency calls separately. A branch that makes three database calls per event needs capacity for those calls as well as for message processing.
Compare arrivals with the branch's sustainable completion rate, measured with realistic processing and downstream limits. At 100 arrivals per second and 80 completions per second, backlog grows by 20 messages per second. A buffer buys time; it cannot fix a permanent capacity shortfall.
| Branch | Arrivals per second | Completions per second | Backlog behavior |
|---|---|---|---|
| A | 100 | 150 | Can drain existing backlog |
| B | 100 | 80 | Grows by 20/second |
AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.