Architecting applications as a series of microservices offer some advantages over traditionally designed applications, as well as some disadvantages. When considering a microservices architecture for our applications, we must carefully weigh the advantages and disadvantages before we make our decision.
Developing an application as a series of microservices offers several advantages over traditionally designed applications:
- Smaller code bases: since each microservice is a small, standalone unit, code bases for microservices tend to be smaller and easier to manage than traditionally designed applications.
- Microservices encourage good coding practices: a microservices architecture encourages loose coupling and high cohesion.
- Greater resilience: traditionally designed applications act as a single point of failure; if any component of the application is down or unavailable, the whole application is unavailable. Since microservices...