Microservices benefits
Microservice offers a number of benefits over the traditional multi-tier monolithic architectures. This section explains some of the key benefits of the microservices architecture approach.
Supports polyglot architecture
With microservices, architects and developers get flexibility in choosing the most suitable technology and architecture for a given scenario. This gives the flexibility to design better fit solutions in a more cost-effective way.
Since microservices are autonomous and independent, each service can run with its own architecture or technology, or different versions of technologies.
The following image shows a simple, practical example of polyglot architecture with microservices:
There is a requirement to audit all system transactions and record transaction details such as request and response data, users who initiated the transaction, the service invoked, and so on.
As shown in the preceding diagram, while core services like Order microservice and Product...