Understanding the key components of a microservice architecture
We discussed the characteristics of the microservice architecture in Chapter 1, Introduction to the Microservice Architecture, before discussing the challenges of the microservice architecture in Chapter 4, How to Use NATS in a Microservice Architecture. With that understanding, we are going to dive into the architectural aspects of microservices in this section.
There are two main architectural aspects within the microservice architecture:
- Inner architecture
- Outer architecture
Let's discuss the details of the inner and outer architectures with an architecture diagram. The following diagram depicts these two concepts in a typical enterprise platform:
The microservice architecture is centered around the concept of loosely coupled, domain-driven, independent services. The inner architecture covers the implementation...