Lune

EuroSys2023Top-tier venue

Viper: A Fast Snapshot Isolation Checker

Jian Zhang, Ye Ji, Shuai Mu, Cheng Tan

2023Year
11Citations
11Top-tier citations

Abstract

Snapshot isolation (SI) is supported by most commercial databases and is widely used by applications. However, checking SI today-given a set of transactions, checking if they obey SI-is either slow or gives up soundness.

We present viper, an SI checker that is sound, complete, and fast. Viper checks black-box databases and hence is transparent to both users and databases. To be fast, viper introduces BC-polygraphs, a new representation of transaction dependencies. A BC-polygraph is acyclic iff transactions are SI, a theorem that we prove. Viper also introduces heuristic pruning, an optimization to accelerate checking SI by leveraging common knowledge of real-world database implementations. Besides vanilla SI, viper supports major SI variants including Strong SI, Generalized SI, and Strong Session SI. Our experiments show that given the same time budget, viper improves over baselines by 15× in the workload sizes being checked.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext f50d5c98-a13e-42df-83f2-e5a351cceff1

Cited by top-tier papers11

Ask how each one uses it

Builds on4

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines