A multi-tenant analytics platform ingests events from 3,000 customer accounts
A medium Pipeline Design interview practice problem on DataDriven. Write and execute real pipeline design code with instant grading.
- Domain
- Pipeline Design
- Difficulty
- medium
Problem
A multi-tenant analytics platform ingests events from 3,000 customer accounts. One enterprise tenant occasionally bursts to 30 percent of total throughput and slows ingest latency for the other 90 percent of tenants. There is no per-tenant rate cap and no per-tenant lag dashboard. The section names three isolation layers: logical (tenant id stamped on every record, shared infra), resource (each tier gets its own queue or worker pool), and physical (largest tenants get dedicated infrastructure). Plus fair scheduling (round-robin or weighted-fair across tenant-keyed sub-queues). Isolate the noisy tenant by adding the right isolation layer for this platform's tier structure (free, pro, enterprise) and a per-tenant lag monitor that surfaces who is impacting whom.
Practice This Problem
Solve this Pipeline Design problem with real code execution. DataDriven runs your solution and grades it automatically.