4. Inter-Service Communication

In Chapter 1, Software Architecture Patterns, we learned about monolithic and microservice-based architectures and discussed their benefits and drawbacks. In Chapter 2, Anatomy of Microservice Decomposition Services, we looked at the various ways of decomposing a monolithic application into a microservice-based application, and we also built an application based on a microservice architecture. In chapter 3Microservices Deployment Patterns, we discussed various strategies for deploying microservice-based applications. In this chapter, we will take a look at how the services within a system communicate with one another. 

In a monolithic application, there is no need for inter-service communication or internal ...

Get Hands-On Microservices - Monitoring and Testing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.