Toy implementation of the optimistic concurrency control mechanism described in "High-Performance Concurrency Control Mechanisms for Main-Memory Databases"