Handling Highly Contended OLTP Workloads Using Fast Dynamic Partitioning
Guna Prasaad, Alvin Cheung, Dan Suciu
Abstract
Research on transaction processing has made significant progress towards improving performance of main memory multicore OLTP systems under low contention. However, these systems struggle on workloads with lots of conflicts. Partitioned databases (and variants) perform well on high contention workloads that are statically partitionable, but time-varying workloads often make them impractical. Towards addressing this, we propose Strife---a novel transaction processing scheme that clusters transactions together dynamically and executes most of them without any concurrency control. Strife executes transactions in batches, where each batch is partitioned into disjoint clusters without any cross-cluster conflicts and a small set of residuals. The clusters are then executed in parallel with no concurrency control, followed by residuals separately executed with concurrency control. Strife uses a fast dynamic clustering algorithm that exploits a combination of random sampling and concurrent union-find data structure to partition the batch online, before executing it. Strife outperforms lock-based and optimistic protocols by up to 2x on high contention workloads. While Strife incurs about 50% overhead relative to partitioned systems in the statically partitionable case, it performs 2x better when such static partitioning is not possible and adapts to dynamically varying workloads.
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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext e2fb6416-2385-43af-b794-2ac1936eb24fCited by top-tier papers20
- An Analysis of Concurrency Control Protocols for In-Memory Database with CCBenchTakayuki Tanabe, Takashi Hoshino, Hideyuki Kawashima, Osamu TatebeVLDB 2020 · 40 citations
- Self-Tuning Query Scheduling for Analytical WorkloadsBenjamin Wagner, André Kohn, Thomas NeumannSIGMOD 2021 · 25 citations
- SharDAG: Scaling DAG-Based Blockchains Via Adaptive ShardingFeng Cheng, Jiang Xiao, Cunyang Liu, Shijie Zhang et al.ICDE 2024 · 20 citations
- Saguaro: An Edge Computing-Enabled Hierarchical Permissioned BlockchainMohammad Javad Amiri, Ziliang Lai, Liana Patel, Boon Thau Loo et al.ICDE 2023 · 17 citations
- AlNiCo: SmartNIC-accelerated Contention-aware Request Scheduling for Transaction ProcessingJunru Li, Youyou Lu, Qing Wang, Jiazhen Lin et al.USENIX ATC 2022 · 17 citations
Related papers
- Transaction Scheduling: From Conflicts to Runtime ConflictsYang Cao, Wenfei Fan, Weijie Ou, Rui Xie et al.SIGMOD 2023 · 8 citations
- Lotus: Scalable Multi-Partition Transactions on Single-Threaded Partitioned DatabasesXinjing Zhou, Xiangyao Yu, Goetz Graefe, Michael StonebrakerVLDB 2022 · 11 citations
- CREST: High-Performance Contention Resolution for Disaggregated TransactionsQihan Kang, Mi Zhang, Patrick P. C. Lee, Yongkang HuASPLOS 2026
- Chiller: Contention-centric Transaction Execution and Data Partitioning for Modern NetworksErfan Zamanian, Julian Shun, Carsten Binnig, Tim KraskaSIGMOD 2020 · 29 citations
- Opportunities for Optimism in Contended Main-Memory Multicore TransactionsYihe Huang, William Qian, Eddie Kohler, Barbara Liskov et al.VLDB 2020 · 60 citations
