A distributed system is a synergy of nodes working together. What enables this cooperation is the exchange of messages following a method of communication. The Interprocess communication (IPC).
What makes up a distributed system?
Service. A service is a specific implementation of one part of the capabilities of a system.
Business logic. The core of a service which represents the entry point of interfaces for external communication.
Interfaces define which operations are available to a service, and the operations that a service can invoke on other services.
Adapters connects processes via IPC mechanisms to service interfaces.
- An adapter can be inbound such as the ingress part of a service’s Application Programming Interface (API).
- Outbound adapters grants the business logic access to external services such as the egress part for a message queue or a data store.
Dependency Inversion Principle
This architecture is also known as the ports and adapters architecture.
The business logic doesn’t depend on the implementation (technical) details. Rather, the implementation details depend on the business logic.
Reference
Understanding Distributed Systems (Second Edition) by Roberto Vitillo