Chapter 6. Event-Driven Architecture
A recurring theme for evolving an application architecture is to encapsulate components and decouple them. One motivation for identifying modules in a Modular Monolith is to reduce the coupling between cohesive units of code in the same application. Likewise,Distributed Architecture decouples modules further into services so that they can run on separate computers. Microservice Architecture decouples services even more into Microservices so that they can be developed and deployed independently.
Loose coupling facilitates disassembling an application into independent components by minimizing the dependencies of each component on the implementations of other components that it uses. A Service API decouples a service consumer from a service provider, so much so that when one service provider is replaced by another with the same service interface and similar functionality, the overall application still functions correctly. The service interface hides changes ...
Get Cloud Application Architecture Patterns 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.