Design an Order Tracking System

0%

Editorial Solution

System requirements

Functional

Capacity estimation

Traffic

API design

Order Management

Database design

PostgreSQL Schema

High-level design

Core Services

Request flows

Order Placement Flow

Detailed component design

The Notification Delivery Engine

Trade-offs and tech choices

WebSocket vs Long Polling vs Server-Sent Events

Failure scenarios and bottlenecks

PostgreSQL Primary Failure

Future improvements

Predictive Delivery Estimation with ML

Table of Contents

System requirements

Functional

Capacity estimation

Traffic

API design

Order Management

Database design

PostgreSQL Schema

High-level design

Core Services

Request flows

Order Placement Flow

Detailed component design

The Notification Delivery Engine

Trade-offs and tech choices

WebSocket vs Long Polling vs Server-Sent Events

Failure scenarios and bottlenecks

PostgreSQL Primary Failure

Future improvements

Predictive Delivery Estimation with ML

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock
Try this problem yourself

Reading a solution is not the same as producing one under interview pressure. Design it on the whiteboard and get scored feedback.

Concepts used in this design

The building blocks this design relies on, each explained in its own lesson.


Markdown supported

0%

Editorial Solution

System requirements

Functional

Capacity estimation

Traffic

API design

Order Management

Database design

PostgreSQL Schema

High-level design

Core Services

Request flows

Order Placement Flow

Detailed component design

The Notification Delivery Engine

Trade-offs and tech choices

WebSocket vs Long Polling vs Server-Sent Events

Failure scenarios and bottlenecks

PostgreSQL Primary Failure

Future improvements

Predictive Delivery Estimation with ML

Table of Contents

System requirements

Functional

Capacity estimation

Traffic

API design

Order Management

Database design

PostgreSQL Schema

High-level design

Core Services

Request flows

Order Placement Flow

Detailed component design

The Notification Delivery Engine

Trade-offs and tech choices

WebSocket vs Long Polling vs Server-Sent Events

Failure scenarios and bottlenecks

PostgreSQL Primary Failure

Future improvements

Predictive Delivery Estimation with ML