Note that consistency may mean different things to different systems
System | Definition |
---|---|
ACID | Satisfying the database’s / application’s constraints |
Read After Write Consistency | The ability to view recent changes (read data) directly afterward (write data) |
Replication | Read operations return same result / is in same state |
What happens in the event of a crash?
In consensus 1 or more nodes propose values, only one of which is accepted. Crashes are tolerated in this system.
As for Atomic Commits, every node votes whether or not it wishes to commit or abort. Commits require all nodes, whilst aborts require 1+ nodes to vote abort. Crashes cause a direct abort.
Atomicity, Consistency, Isolation, Durability
Linearizability only handles a single transaction, whilst Serializability groups transactions together, that can be executed in parallel.
Yes, known as Strict Serializability
Combine Serializability and Linearizability