Design an E-commerce Service

0%

Editorial Solution

System requirements

Functional

Capacity estimation

Traffic

API design

Product and Search

Database design

Core Tables (PostgreSQL)

High-level design

Services

Request flows

Checkout Flow

Detailed component design

Inventory Reservation (GATE)

Trade-offs and tech choices

Strong vs. Eventual Consistency

Failure scenarios and bottlenecks

Payment Gateway Failure

Future improvements

Table of Contents

System requirements

Functional

Capacity estimation

Traffic

API design

Product and Search

Database design

Core Tables (PostgreSQL)

High-level design

Services

Request flows

Checkout Flow

Detailed component design

Inventory Reservation (GATE)

Trade-offs and tech choices

Strong vs. Eventual Consistency

Failure scenarios and bottlenecks

Payment Gateway Failure

Future improvements

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.

Asked in these interview guides

Company guides that list this problem among their sample questions.


Markdown supported

0%

Editorial Solution

System requirements

Functional

Capacity estimation

Traffic

API design

Product and Search

Database design

Core Tables (PostgreSQL)

High-level design

Services

Request flows

Checkout Flow

Detailed component design

Inventory Reservation (GATE)

Trade-offs and tech choices

Strong vs. Eventual Consistency

Failure scenarios and bottlenecks

Payment Gateway Failure

Future improvements

Table of Contents

System requirements

Functional

Capacity estimation

Traffic

API design

Product and Search

Database design

Core Tables (PostgreSQL)

High-level design

Services

Request flows

Checkout Flow

Detailed component design

Inventory Reservation (GATE)

Trade-offs and tech choices

Strong vs. Eventual Consistency

Failure scenarios and bottlenecks

Payment Gateway Failure

Future improvements