An Interest In:
Web News this Week
- March 21, 2024
- March 20, 2024
- March 19, 2024
- March 18, 2024
- March 17, 2024
- March 16, 2024
- March 15, 2024
May 16, 2022 07:49 am GMT
Original Link: https://dev.to/sadiqur_rahman/understand-acid-and-transaction-3f1p
Understand ACID and Transaction
[Just a personal note, I'm not the author!]
1 document which had 2 pages content was sent to printer
Transaction - document sent to printer
Atomicity - printer prints 2 pages of a document or none.
Consistency - printer prints half page and the page gets. stuck. The printer restarts itself and prints 2 pages with all content.
Isolation - while there were multiple print outs in progress - printer prints the right content of the document.
Durability - while printing, there was a power cut- printer again prints documents without any errors.
I really liked this simple exmplaination of transaction and ACID and I thought you guys might also benefit from it.
Ref: Stackoverflow
Original Link: https://dev.to/sadiqur_rahman/understand-acid-and-transaction-3f1p
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To