One heavy user’s retry storm eats the shared rate limit, and everyone else’s requests stall.
- AAsk the provider to raise the global limit
- BGive every caller their own quota and a queue, so no one can spend the shared budget alone
- CRetry faster with shorter backoff for your own requests, so they win the race for the shared limit before the heavy user’s retries arrive
- DBlock the heavy user until they behave
Answer: B
Give every caller their own quota and a queue, so no one can spend the shared budget alone
Why
A shared limit with no per-caller share is a first-come-first-served auction, and retries bid hardest. Raising the ceiling just moves the price of the next storm; retrying faster IS the storm.
- ScalingAsked to review the UX of one module, an agent started 826 sub-agents and spent $78,000 with no result.
- ScalingYour agent re-embeds the same product catalog on every request to answer questions, and traffic is climbing fast.
- ScalingUnder load your agent fires many parallel model calls at once and starts getting 429 rate-limit errors.
- ScalingYou classify millions of short messages a day with your most capable (and priciest) model, and accuracy on this task is already…
More on Way of the Agent
- Course programThe first three modules are free: start in the browser or the app, no card needed.
- Library: guides, skills and promptsReady prompt templates, grouped into collections.
- AI ChroniclesSourced stories from the history of AI.
- ConceptsPlain-language explainers of agent engineering.
- Learn AI agentsApps and courses for learning AI agents, compared honestly.
Real situations from building agents - with the answer and why.
Solve a new one every day on the Path