Why it matters
Shed load when queues deepen instead of unbounded accept.
Practical steps
- Draw the boundary for arch backpressure: what belongs in the bot process vs a worker.
- Implement shed load when queues deepen instead of unbounded accept behind a narrow interface so platforms can share it.
- Make arch backpressure idempotent at the message/update id layer.
- Add contract tests between the adapter and the core for arch backpressure.
- Document failure modes and ownership of arch backpressure for on-call.
Watch out for
- Copy-pasting outdated snippets for arch backpressure without re-reading current official docs.
- Shipping arch backpressure to production without a staging rehearsal and a documented rollback.