Under One Roof
A hard Pipeline Design interview practice problem on DataDriven. Write and execute real pipeline design code with instant feedback.
- Domain
- Pipeline Design
- Difficulty
- hard
- Seniority
- L7
Problem
We run a global retailer with physical stores and e-commerce, and four teams pull the same sales from one long-retention data lake: merchandising watches live performance and needs each transaction within minutes, finance reconciles daily totals, data science trains weekly models, and supply chain fires reorder triggers. Card numbers fall under PCI and can't be written to the lake at all, and both the point-of-sale stream and the e-commerce stream retry, so the same sale can arrive twice. Design the architecture from those two event streams through to each of the four consumers.
Practice This Problem
Solve this Pipeline Design problem with real code execution. DataDriven runs your solution and checks it automatically.