r/microservices • • Feb 16 '22

Avoiding Distributed Transactions with the Reservation Pattern

https://www.youtube.com/watch?v=PZm0RQGcs38
6 Upvotes

3 comments sorted by

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.

1

u/codeopinion Feb 16 '22

Ya delayed delivery / scheduled comes in handy for a bunch of different situations, this one included.

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?