Compensating Transactions For Saga Pattern Error Handling

Опубликовано: 14 Июль 2023
на канале: Milan Jovanović
9,008
320

☄️ Master the Modular Monolith Architecture: https://bit.ly/3SXlzSt
📌 Accelerate your Clean Architecture skills: https://bit.ly/3PupkOJ
🚀 Support me on Patreon to access the source code:   / milanjovanovic  

If you're using the Saga pattern, you need to prepare for things going wrong. What will you do in that case? The standard approach is to start a compensating transaction that will fix the previous error in the saga.

Join my weekly .NET newsletter:
https://www.milanjovanovic.tech

Read my Blog here:
https://www.milanjovanovic.tech/blog

Subscribe for more:
   / @milanjovanovictech  

Chapters
0:00 Reviewing the Saga implementation
3:20 What if something goes wrong?
4:39 The reasons why a Saga can fail
5:47 Starting a compensating transaction
9:35 Cancelling the Order to complete the failure path
12:52 Saga error handling walkthrough


Смотрите видео Compensating Transactions For Saga Pattern Error Handling онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Milan Jovanović 14 Июль 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 9,008 раз и оно понравилось 320 людям.