Design a Subscription Billing System

0%

Editorial Solution

System Requirements

Capacity Estimation

Scale anchors

API Design

Core resources

Database Design

Core tables

High-Level Design

The five tiers

Request Flows

Detailed Component Design

Subscription state machine

Trade-offs and Technology Choices

Synchronous vs asynchronous billing cycle execution

Failure Scenarios and Bottlenecks

Future Improvements

Table of Contents

System Requirements

Capacity Estimation

Scale anchors

API Design

Core resources

Database Design

Core tables

High-Level Design

The five tiers

Request Flows

Detailed Component Design

Subscription state machine

Trade-offs and Technology Choices

Synchronous vs asynchronous billing cycle execution

Failure Scenarios and Bottlenecks

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.

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

Capacity Estimation

Scale anchors

API Design

Core resources

Database Design

Core tables

High-Level Design

The five tiers

Request Flows

Detailed Component Design

Subscription state machine

Trade-offs and Technology Choices

Synchronous vs asynchronous billing cycle execution

Failure Scenarios and Bottlenecks

Future Improvements

Table of Contents

System Requirements

Capacity Estimation

Scale anchors

API Design

Core resources

Database Design

Core tables

High-Level Design

The five tiers

Request Flows

Detailed Component Design

Subscription state machine

Trade-offs and Technology Choices

Synchronous vs asynchronous billing cycle execution

Failure Scenarios and Bottlenecks

Future Improvements