Motivation for geo-replicated storages Flashcards
Consistency of SQL databases
Strong
Seriazability
Serializability is the classical concurrency scheme. It ensures that a schedule for executing concurrent transactions is equivalent to one that executes the transactions serially in some order. It assumes that all accesses to the database are done using read and write operations.
How is strong consistency achieved in sql databases?
Serializability requires that concurrent transactions execute
as if they were executed serially.
Common implementations use locks for achieving this.
Ilusion that strong consistency databases provide
Replicated databases with strong consistency provide the illusion that there is a single database.
Strong consistency databases (latency, challenge and requirement)
Require coordination among multiple servers.
Challenging in a single data center;
Too high latency in geo-replicated data centers.