Join waitlist
DBMSCommunity question

ACID examples other than bank transfer?

Asked by Kunal Bansal 1 month ago 2 answers 5 votes

every explanation uses bank transfer. want something different for interviews

2 answers

Manish Tiwari1 month agoMost voted5

Atomicity: food order, payment and order creation both happen or neither
Consistency: same movie seat can't be booked twice
Isolation: two people booking the last tatkal seat at the same moment, only one gets it
Durability: once it says payment successful, a server crash after that doesn't undo it

Kunal Bansal1 month ago1

tatkal one is perfect ๐Ÿ˜‚

Related questions

Go deeper

Want the full explanation, not just an answer?

Structured lessons on DSA, core CS, Java and interview skills, each ending in a quiz so you know it stuck.