The Saga pattern is a design pattern way to manage data consistency across microservices in distributed transaction scenarios. It is a sequence of transactions that updates each service and publishes a message or event to excess next transaction.
Saga pattern manage distributed transactions in a event diffeerent architecture.Originally will describe be research paper Princeton University in 1987. It describe as
Long -lived transactions (LLTs)
Hours or days
same database
fine-grained trasactions
compensating operations
extended to distributed system
Centralize transaction state
Message routing
failure compensation
Saga patter complete to use Social media platform all over World
Latest posts by Rajesh Kumar (see all)
- What is ZooKeeper? - April 29, 2024
- What is Mobile Virtual Network Operator? - April 18, 2024
- What is Solr? - April 17, 2024