Menu
Back to Discussions

when to use a saga pattern for distributed transactions

Bardia Kamal
Bardia Kamal
·8147 views
hey everyone, i've been thinking about distributed transactions lately and how to manage them effectively. we're building out a microservices system where multiple services need to agree on a state change. while two-phase commit (2PC) is an option, it can be a bottleneck. i'm curious to hear when you all have found the saga pattern to be the right fit. what are the trade-offs you've considered, and what were the key indicators that pushed you towards sagas over other approaches
25 comments

Comments

Loading comments...