Backend Fundamentals · How a backend is organized
Monoliths
A monolith is one codebase, deployed as one unit, usually with one database. It is the right start for most products. Growing teams then hit shared deploys, tangled code and a shared failure.
- Time20 min
- LevelDeveloper
- Pictures14 diagrams
- Check6 questions






More traffic run identical copies behind a load balancer; nothing else changes.
More teams deploys queue up and changes collide in shared code.
Extract with reason move out only parts that need separate scaling, security or release.
Load balancer spreads requests over identical copies.
One database tables grouped by the module that owns them.