Saga Pattern: Mastering Distributed Transactions

Saga Pattern: Mastering Distributed Transactions

campbelltech

1 год назад

1,754 Просмотров

The Saga Pattern is a  design pattern that provides a solution for implementing distributed transactions in the form of sagas that span across two or more microservices. A saga can be defined as a sequence of local transactions. Where each participating microservice executes one or more local transactions and then publishes an event that is used to trigger the next transaction in a saga that resides in another participating microservice. When one of the transactions in the sequence fails, the saga executes a series of compensating transactions to undo the changes that were made by the preceding transactions.

#saga #sagapattern
#microservices #softwareengineer #softwaredevelopment #softwarearchitecture #designprinciples

Learn more in our microservices fundamentals course: https://www.udemy.com/course/introduction-to-microservices/?couponCode=WEB_MICROSERV_0523

Тэги:

#the_saga_pattern #how_does_the_saga_pattern_work #cqrs #distributed_transactions #database_transactions #distributed_transaction #microservices_patterns #microservices #distributed_systems #Saga_Pattern_Microservices #Distributed_Transactions_Microservices
Ссылки и html тэги не поддерживаются


Комментарии: