Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 1.13 KB

File metadata and controls

10 lines (9 loc) · 1.13 KB

Saga pattern

  1. Saga Pattern: a distributed transaction pattern that ensures data consistency across multiple services by dividing a long-lived business process into a series of local transactions coordinated through asynchronous messaging and compensating actions in case of partial failure.
  1. Orchestration Approach: a centralized coordination style where a single orchestrator explicitly controls the execution order of service calls and compensations, directing the overall workflow.
  1. Choreography Approach: a decentralized coordination style where each service reacts to events from others and publishes its own events, allowing implicit flow control through message passing without a central controller.