Code RoomCompute isolation for noisy neighbors
HardPrep Room Coding #3591

Compute isolation for noisy neighbors

System designDistributed systemsSenior–Staff~50 min

Design compute isolation for a multi-tenant query/analytics platform where 30,000 tenants share a pool of worker nodes and one tenant's runaway query (a cartesian join scanning TBs, or 10,000 concurrent requests) must NOT degrade latency for everyone else — but you also can't afford a dedicated cluster per tenant. This is performance isolation, not data isolation. Discuss the scheduling/quota model, how you detect and contain a noisy neighbor in real time, the trade-off between hard isolation (separate resources) and soft isolation (shared with fairness), and how you keep small tenants responsive.

What a strong answer looks like

Clarify scale and constraints first. Propose a clean component breakdown, then go deep on the hard parts (data model, bottlenecks, consistency, failure modes) and name the trade-offs you are making.

Clarify5:30 left
Estimate5:30 planned
Design16:30 planned
Deep dive13:30 planned
Failure9:00 planned
0:00
Which questions mattered is sealed until you submit. Telling you now would just be handing over the edge cases.