Stripe: The Noisy Tenant
Hard · system design problem
One integration starts a runaway backfill at 15× its normal rate, and then the identity provider that validates every API key goes down for fifteen minutes.
Partners pull reports and transactions through Kong; every request’s API key is validated by the identity service before the API queries PostgreSQL. At T+20s one partner’s backfill job goes rogue: 15× its usual rate for the rest of the hour (partner integrations retry failures twice). At T+60s the identity service — a managed vendor you cannot restart — goes down for fifteen minutes. A validated key stays valid for an hour, and nearly every request reuses a key seen in the last minute. The SLO covers your other partners.
Topics
More
Codelays runs in your browser: turn on JavaScript to use it.