TxnSails: Achieving Serializable Transaction Scheduling with Self-Adaptive Isolation Level Selection
Qiyu Zhuang, Wei Lu, Shuang Liu, Yuxing Chen, Xinyue Shi, Zhanhao, Zhao, Yipeng Sun, Anqun Pan, Xiaoyong Du

TL;DR
TxnSails introduces a self-adaptive system that dynamically selects the optimal isolation level for transaction scheduling, balancing performance and serializability, and outperforms existing solutions significantly.
Contribution
It presents a novel self-adaptive approach combining a unified concurrency control algorithm and deep learning for optimal isolation level selection in transaction processing.
Findings
Outperforms state-of-the-art solutions by up to 26.7x
Outperforms PostgreSQL's serializable level by up to 4.8x
Achieves serializability with minimal overhead
Abstract
Achieving the serializable isolation level, regarded as the gold standard for transaction processing, is costly. Recent studies reveal that adjusting specific query patterns within a workload can still achieve serializability even at lower isolation levels. Nevertheless, these studies typically overlook the trade-off between the performance advantages of lower isolation levels and the overhead required to maintain serializability, potentially leading to suboptimal isolation level choices that fail to maximize performance. In this paper, we present TxnSails, a middle-tier solution designed to achieve serializable scheduling with self-adaptive isolation level selection. First, TxnSails incorporates a unified concurrency control algorithm that achieves serializability at lower isolation levels with minimal additional overhead. Second, TxnSails employs a deep learning method to characterize…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Distributed and Parallel Computing Systems · Distributed systems and fault tolerance
