Chapter 7: Cross-Cutting Concerns
Traditionally, when we start building applications, we develop components known as facades to perform different operations, such as logging, health checks, tracing, and authorization. In microservices architecture, building these components for each service requires proper time and effort. Microservices are self-contained services that generally require less time to build because they are limited to a single business capability. Building the modules for cross-cutting concerns for each service would certainly take a much longer time than building that service itself. As a consequence, it affects agility and requires adequate effort to develop. Since each service has its own components, modifying one component due to an organizational plan would entail updating each service individually, which would be challenging as well.
It is a good idea to build common modules or reuse existing platforms that allow easy and fast integration with different...