Lune

SIGMOD2020Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

20 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • SharDAG: Scaling DAG-Based Blockchains Via Adaptive Sharding cites Saguaro: An Edge Computing-Enabled Hierarchical Permissioned Blockchain
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers20

  1. An Analysis of Concurrency Control Protocols for In-Memory Database with CCBenchTakayuki Tanabe, Takashi Hoshino, Hideyuki Kawashima, Osamu TatebeVLDB 2020 · 40 citations
  2. Self-Tuning Query Scheduling for Analytical WorkloadsBenjamin Wagner, André Kohn, Thomas NeumannSIGMOD 2021 · 25 citations
  3. SharDAG: Scaling DAG-Based Blockchains Via Adaptive ShardingFeng Cheng, Jiang Xiao, Cunyang Liu, Shijie Zhang et al.ICDE 2024 · 20 citations
  4. Saguaro: An Edge Computing-Enabled Hierarchical Permissioned BlockchainMohammad Javad Amiri, Ziliang Lai, Liana Patel, Boon Thau Loo et al.ICDE 2023 · 17 citations
  5. 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

  1. Transaction Scheduling: From Conflicts to Runtime ConflictsYang Cao, Wenfei Fan, Weijie Ou, Rui Xie et al.SIGMOD 2023 · 8 citations
  2. Lotus: Scalable Multi-Partition Transactions on Single-Threaded Partitioned DatabasesXinjing Zhou, Xiangyao Yu, Goetz Graefe, Michael StonebrakerVLDB 2022 · 11 citations
  3. CREST: High-Performance Contention Resolution for Disaggregated TransactionsQihan Kang, Mi Zhang, Patrick P. C. Lee, Yongkang HuASPLOS 2026
  4. Chiller: Contention-centric Transaction Execution and Data Partitioning for Modern NetworksErfan Zamanian, Julian Shun, Carsten Binnig, Tim KraskaSIGMOD 2020 · 29 citations
  5. Opportunities for Optimism in Contended Main-Memory Multicore TransactionsYihe Huang, William Qian, Eddie Kohler, Barbara Liskov et al.VLDB 2020 · 60 citations
Dusk over the sea between two cliffs drawn in fine vertical lines