DEV Community

Around IT In 256 Seconds

#68: ACID transactions: don't corrupt your data

Transactions in SQL databases are rock-solid. By reading and modifying data within a transaction we limit the risk of data corruption. Actually, there’s an acronym describing transactions: ACID. Which stands for: atomicity, consistency, isolation and durability. A good database engine follows these properties religiously. NoSQL engines, on the other hand, trade ACID properties for availability or speed. Of course, this is a gross simplification. Anyways, NoSQL crowd coined another acronym: BASE. Which stands for: basically available, soft state and eventually consistent. We’ll leave BASE for another episode.

Read more: https://nurkiewicz.com/68

Get the new episode straight to your mailbox: https://nurkiewicz.com/newsletter

Episode source