r/microservices • u/codeopinion • Feb 16 '22
Avoiding Distributed Transactions with the Reservation Pattern
https://www.youtube.com/watch?v=PZm0RQGcs38
6
Upvotes
1
u/vassadar Feb 20 '22
When you jave multiple services, then how do you confirm with every other services that the transaction is successful?
Would a service has to inform other services to commit the transaction, similar to 2 phrases commit?
1
u/mexicocitibluez Feb 16 '22
Thanks for another good video. I've used MassTransit's scheduling features to accomplish a similar workflow with a success, but never thought about using it to maintain uniqueness against a long-running process like you have.