Chapter 5: Designing a Microservice Architecture with NATS
The microservice architecture is an evolving architectural pattern. Enterprise architects design different solution architectures to solve business use cases with the microservice architecture. Even though those solution architecture patterns are different in many aspects, there are commonalities in these architectures that we can identify. By doing so, we can produce a couple of generic architecture patterns that can be used in most microservice-based platforms. These solutions deal with distinct types of users, systems, and communication models. The communication between these disparate components (humans, systems, applications) is the core of any distributed system, including microservice architecture-based systems.
Inter-service communication is a key aspect of the microservice architecture, and we discussed the different options that are available for architects in the previous chapters. In Chapter 4, How to Use NATS...