πŸ’¬
βœ‰οΈ
πŸ“Έ
▢️

Loading…

How systems scale, from one server to many

How Systems Are Built
HTTP requestSQL query
πŸ’»CLIENTnew
Client
βš–οΈLB
Load Balancer
βš™οΈAPInew
API Server
βš™οΈAPI
API Server 2
⚑CACHE
Cache
πŸ—„οΈDBnew
Database
πŸ“¬QUEUE
Message Queue

Step 1 of 4

Step 1: The Simplest System

Why

Every system starts here. Before scaling, before caching β€” just three pieces: a client, a server, and a database.

What it does

The client makes an HTTP request to the API Server. The API Server runs business logic and reads/writes to the Database. The Database persists data.

Impact

This covers 99% of small apps at launch. One server, one database β€” simple to reason about, simple to deploy.

Try it in Library β†’

API Server

β†—