One Partner, Everyone’s Outage
Easy · system design problem
A partner’s batch job hits the API at 15× its usual rate. The shared backend saturates and the premium partners fail with it.
Two kinds of partners call your public API through Kong: premium partners (3,000 requests/s, under contract) and a bulk partner (2,000 requests/s) whose quota is 3,000/s. At T+20s the bulk partner’s new batch job goes haywire and sends 15× its normal rate for the rest of the day; partner SDKs retry failures twice. The shared backend cannot scale its database. Only the premium partners’ SLO counts — but they must not notice anything.
Topics
More
Codelays runs in your browser: turn on JavaScript to use it.