Note - DDIA - Ch7 Transaction
Why we need transaction? Hardware fail Application fail Network interruption Multiple write at same time Read partially updated data 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 operation, if it success then commit,…