Few architecture debates generate more heat and less light than microservices versus monoliths. The honest answer: both are tools, and the wrong one for your situation will cost you quarters of engineering time.
What each actually is
A monolith is one deployable application: one codebase, one database, one deployment. Microservices split the system into independently deployable services, each owning a capability and usually its own data store, communicating over APIs or queues.
Where the monolith wins
- Speed of development: one codebase, one test suite, no network calls between modules. Small teams ship faster in a monolith, full stop.
- Debugging: a stack trace in one process beats tracing a request across eight services.
- Operations: one deployment, one server (or a few), no service mesh, no distributed tracing infrastructure to maintain.
- Data consistency: transactions across modules are trivial in one database; across services they become a research topic.
Where microservices pay off
- Independent scaling: your checkout needs 10x capacity on sale days; your admin panel does not.
- Team autonomy: at 50+ engineers, separate services let teams deploy without coordinating with everyone.
- Fault isolation: a crashing recommendation service does not take checkout down with it.
- Technology fit: different problems can use different tools where it genuinely helps.
The hidden price of microservices
Every network boundary adds latency, failure modes and operational overhead. You will need container orchestration, centralized logging, distributed tracing, API versioning discipline and a DevOps capability. Amazon-scale companies pay this because their scale demands it; a 12-person company paying it is usually burning money for fashion.
The middle path: the modular monolith
The pattern most teams should start with: one deployable unit, but internally organized into strict modules with clear boundaries and no shared tables. You keep monolith simplicity while preserving the option to extract a module into a service later, when scaling or team structure actually demands it.
How to decide
Start monolith, modular from day one. Extract a service only when a concrete pressure appears: a scaling hotspot, a team that needs autonomy, a capability with genuinely different uptime requirements. Architecture follows pressure, not fashion. Our systems analysis work often starts with exactly this question, and the right answer is the boring one more often than clients expect.