
Designing Data-Intensive Applications – Multi-Object Transactions
Coding Blocks
00:00
How to Avoid Deadlocks in a Retry Loop
When you get a transaction fail error, log it out to whatever your system of logging is. You could then expose a metric to show like, these are the number of deadlocks that we face or, you know, whatever our retry cases might be. The last thing that they talk about is when you're dealing with multiple systems, you may want to do something that's called a two phase commit.
Play episode from 01:04:15
Transcript



