System Design
3. Client-Server ArchitectureAnimated
Monolithic Architecture
The whole application built and deployed as one unit.
The idea
All features live in a single codebase and process. Simple to build, test and run, but everything scales and deploys together.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
Everything (users, orders, payments) ships as one program.
- step:
- 1/4
- at:
- Client
1/8
The green dot is a request moving through the system.
Step by step
- 1One codebase contains all features
- 2It is deployed as a single unit
- 3Modules call each other in-process
- 4Scale by running more copies
Where it is used
Early-stage products and small teams.
Watch out for
Growing teams collide in one codebase and deploys get risky.