Hello Stackers, In system development using API-driven architecture, communication between services is usually done via API calls. can use RESTful, RPC, or the like. More or less communication will be done synchronously.
The API-Driven Architecture is usually called the Orchestration Pattern, which means that there will be one service that acts as an orchestrator. This service orchestrator is responsible for the business flow of the action.
The disadvantage of using the orchestration pattern is that when there is a change in the business flow, for example, if there is a new service named “risk-service” to calculate the risk for each order, the orchestrator service must automatically call the new service. In a sense, every time someone needs order data, the order service must change the code.
Okay, that’s All folks, see you in the next episode.