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, 2025
Machine 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
  1. Start by mapping the business objective to a concrete ML objective and metric.
  2. Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
  3. Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
  4. Address the serving latency budget and whether batch or real-time inference is needed.
  5. 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 Problems
Sample 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

Related Questions