A multi-tenant SaaS platform ingests from many sources, has a legacy dual-write inside its order ser
A medium Pipeline Design mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- Pipeline Design
- Difficulty
- medium
Interview Prompt
A multi-tenant SaaS platform ingests from many sources, has a legacy dual-write inside its order service, serves three downstream consumer teams, and has weathered a flash sale that revealed it has no backpressure handling. Compose the resilient ingestion. Replace the dual write with the transactional outbox and a Debezium-driven publisher. Add a durable buffer between producer and consumer with a named depth and overflow strategy. Add resource isolation by tier with a per-tenant lag monitor. Each sink dedupes on a stable key. The three downstream consumers continue to receive events through the new outbox-fed Kafka topics.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your pipeline design solution with real code execution
- Get instant feedback and a hire/no-hire decision