What is a component?
All of us know what a module is in software architecture. A module is a piece of a software that contains a particular functionality to do a certain task. We cannot say that a component is synonymous with module. Instead, a component is a self-contained, isolated, and encapsulated entity, which means that it does not affect other components. Different components can use the same module , but their own behavior is a module of its own. Asynchronous message passing is a way to build a communication layer between them.
Microservices rely on component-based architecture. Microservices are small, independent, decoupled processes running in isolation from each other to build a complex system. We can scale each component/microservice ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access