Design a event-driven Order Processing System
Last updated: July 12, 2025
Quick Overview
Design a event-driven order processing system handling millions of requests. Discuss consistency, availability, and performance trade-offs.
Walmart
ML System Design
Machine Learning Engineer
Walmart
July 12, 2025Machine Learning Engineer
Onsite
ML System Design
Medium
439
3
4,714 solved
Design a event-driven order processing system handling millions of requests. Discuss consistency, availability, and performance trade-offs.
How to Approach This
- Start by mapping the business objective to a concrete ML objective and metric.
- Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
- Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
- Address the serving latency budget and whether batch or real-time inference is needed.
- Think about the data flywheel: how user feedback improves the model over time.
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice ML System Design ProblemsSample Answer
Problem Formulation
The business problem at hand is to design an event-driven order processing system for Walmart that can efficiently handle millions of orders in real-time. This can be mapped to a concrete ML task of p...
Data & Features
The primary data sources for this system will include:
- Historical Order Data: Records of past orders including timestamps, items ordered, quantities, and customer information.
- **Inventory Data...
Submit Your Answer
Markdown supported