One large customer's traffic on a shared multi-tenant platform keeps slowing everyone else down. How do you handle it?
IntermediateScenarioOutages and incident response
Answer
Situation read → It's a noisy-neighbour problem. You need per-tenant limits and, for big tenants, isolation.
What I'd do →
- Make it visible: add a tenant ID to metrics (carefully, if the tenant count is small) or to logs and traces, so you can see per-tenant load.
- Add per-tenant rate limits at the API gateway or ingress, with clear
429responses andRetry-Afterheaders. - Isolate heavy work: separate queues per tenant tier, so one tenant's backlog doesn't delay others.
- For very large tenants: dedicated capacity (a cell, a dedicated node pool or database), often as a paid tier.
- Agree limits with the customer through account management, not just by throttling them silently.
Why → Per-tenant limits protect the platform; cell-based isolation limits the blast radius of any one tenant.
Interview tip → Mention cell-based architecture; it's how large SaaS platforms limit blast radius.
More on Outages and incident response
You're on call and get paged at 3 AM: "Checkout error rate 25%". What do you do in the first 15 minutes?BeginnerA major outage involves four teams and everyone is talking at once. You're asked to be incident commander. What do you do?IntermediateHow do you prove your platform survives the loss of a whole Availability Zone?AdvancedOn-call gets 300 alerts a day and people have started ignoring them. How do you fix alerting?IntermediateA customer told you about an outage on social media before your monitoring did. How do you fix detection?BeginnerDuring an incident, you can roll back or push a forward fix the developer says is ready in 10 minutes. How do you decide?Intermediate