Table of Contents

Transactions

ACID

CAP

“In presence of a network partition, one has to choose between consistency and availability”.

Consistency

Scenario

Scaling out NOSQL across regions/public clouds. Partitioned db across clusters. How to ensure that transaction is commited on all nodes.

Ensuring atomicity: Multi-phase commit, pessimistic read-write locking But: Network partitions