0:00
/
0:00
Transcript

The first edition of Papers We Love meetups started with the “Sagas” whitepaper by Hector Garcia-Molina and Kenneth Salem. It’s a famous work that is foundational for managing distributed processes. You can find it here: https://www.cs.cornell.edu/andru/cs711/2002fa/reading/sagas.pdf.

Not many people know that it’s not about business processes but the proposal on tackling issues of distributed transactions in databases. We’ll check how far the current understanding is from the original idea. It’d also be a decent opportunity to discuss general issues like the Two-Phase Commit, CAP Theorem, etc.

During the meetup, we:

  • Discussed fully the Saga concept both from the original database perspective and business processes management,

  • Verified the impact this paper had on our tooling and practices,

  • Investigated how it relates to the current way of orchestrating business processes,

  • Discussed and expanded concepts there in diagrams,

  • and more.

The article appeared to age well and was written in an easy-to-follow manner. Of course, the concepts were complex, but that’s why we did this meetup!

The highlight for me is that it also showed how beneficial it is to have an immutable log of operations, both from processing and resiliency. It also showed why application code should be responsible for driving business processes and why we should keep all the information on the next steps and compensation in the messages we send.

If you’re curious about how to implement it in your systems, check our previous webinars:

See also more in my articles:

And other people’s materials:

Please share the feedback if you liked it, and suggest what you’d like to see in next editions!


Webinars: