Note - DDIA - Ch7 Transaction
Why we need transaction?
1. Hardware fail
2. Application fail
3. Network interruption
4. Multiple write at same time
5. Read partially updated data
6. Race condition between client
However, implementing a fault-tolerance machine costs too high so the need of transaction rise. Basic concept: All read and write are