
Designing Data-Intensive Applications – Transactions
Coding Blocks
00:00
Using Atomicity in a Database, You Know?
If you are mutating that object in place and you failed for whatever reason and aborted, then how does the caller know which properties you have updated? Then it's on the caller, right? Yeah. It'd be really complex for it to do that. I mean, it basically had to keep like a copy of it's of a before. And then here, you know, when I get it back, let me do I need to revert back, which seems kind of seems kind of wasteful for the caller to have to do. So yeah, so without, if without Adam I city, then you wouldn't know like what what was changed and what wasn't.
Play episode from 01:20:44
Transcript



