API-Driven Architecture

0 min read


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.

Event-driven vs Rest APIs interactions | APIfriends

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.

Using the saga design pattern in microservice architecture | NordVPN

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.

Bima Sena

Leave a Reply

Your email address will not be published. Required fields are marked *