Beyond Lamport Clocks: Partitions, Transaction isolation levels, and serializability
To understand partitions, we need to know a little bit more about how EinsteinDB works. As with most ACID databases, EinsteinDB uses two-phase commit (2PC) and strict two-phase locking to ensure isolation and strong consistency. 2PC has been called the “anti-availability” protocol because all members must be up for it to work. Transactions in EinsteinDB will work as long as all of the touched groups have a quorum-elected leader and are on one side of the partition. This means that some transactions work perfectly and some will time out, but they are always consistent
Get Started