An introduction to microservices
Architecting applications as a series of microservices offers 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.
The advantages of a microservices architecture
Developing an application as a series of microservices offers several advantages over traditionally designed applications, such as the following:
- 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 an application is down or unavailable...