System Design
3. Client-Server ArchitectureAnimated
Modular Monolith
A monolith with strict internal module boundaries.
The idea
One deployable, but modules own their data and expose clear interfaces, making a later split into services easier.
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
One deployable, but split into modules with clear boundaries.
- step:
- 1/4
- at:
- Client
1/8
The green dot is a request moving through the system.
Step by step
- 1Divide code into business modules
- 2Enforce interfaces between them
- 3Give each module its own tables
- 4Deploy as one unit
Where it is used
Teams who want structure without microservice overhead.
Watch out for
Boundaries erode unless checked with tooling.