Aria
Yi Lu, Xiangyao Yu, Lei Cao et al. · Proceedings of the VLDB Endowment · 2020
Deterministic databases are able to efficiently run transactions across different replicas without coordination. However, existing state-of-the-art deterministic databases require that transaction read/write sets are known before execution, making such systems impractical in many OLTP applications. In this paper, we present Aria, a new distributed and deterministic OLTP database that does not have this limitation. The key idea behind Aria is that it first executes a batch of transactions against the same database snapshot in an execution phase , and then deterministically (without communication between replicas) chooses those that should commit to ensure serializability in a commit phase. We also propose a novel deterministic reordering mechanism that allows Aria to order transactions in a way that reduces the number of conflicts. Our experiments on a cluster of eight nodes show that Aria outperforms systems with conventional nondeterministic concurrency control algorithms and the state-of-the-art deterministic databases by up to a factor of two on two popular benchmarks (YCSB and TPC-C).
Cited by 93 works. doi:10.14778/3407790.3407808
Authors
References
- Reducibility among Combinatorial Problems
- The notions of consistency and predicate locks in a database system
- Dynamo
- Implementing fault-tolerant services using the state machine approach: a tutorial
- Benchmarking cloud serving systems with YCSB
- On optimistic methods for concurrency control
- The dangers of replication and a solution
- In search of an understandable consensus algorithm
- PNUTS
- Paxos Made Simple