Microservices
An architecture where an application consists of small independent services, each responsible for its own function and communicating through API.
Pros and Cons
- Pros: Independent deployment, scalability, isolation.
- Cons: Complexity in operation, network failures, distributed debugging.
When Needed
When the system is large and teams work independently. For small projects, a monolith is often better — it is simpler.