Join me on a journey of mastering .NET Full Stack Development, where I’m committed to boosting your skills by 1% daily.
https://www.youtube.com/@DotNetFullstackDev
Join me on a journey of mastering .NET Full Stack Development, where I’m committed to boosting your skills by 1% daily.
https://www.youtube.com/@DotNetFullstackDev
No problem! We should learn together, and grow together!
If that is the case, then we have to think about different techniques to handle compensation operation failures
for ex :
Retry the Compensating Action
Compensate the Compensating Action
Design for Partial Consistency
likewise, we have a few alerting techniques as well
Triggering alerts for manual intervention.
Logging the failure for further diagnosis.
send the failed event/message to a Dead Letter Queue
Notify the user of the issue
Hope here I got you a few points for your question
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
If you fall here
await ReleaseInventory(order.ProductId, order.Quantity);you will not do thisawait CancelOrder(order.Id);Thanks for your observation, but here we need to do both
These two will do different adjustments when payment fails
Sorry, but I mean something else. In saga we should not only suggest that operation can fail, but also think what if compensation operation fail.
No problem! We should learn together, and grow together!
If that is the case, then we have to think about different techniques to handle compensation operation failures
for ex :
likewise, we have a few alerting techniques as well
Hope here I got you a few points for your question