Lune

VLDB2023顶会

Fine-Grained Re-Execution for Efficient Batched Commit of Distributed Transactions

Zhiyuan Dong, Zhaoguo Wang, Xiaodong Zhang, Xian Xu, Changgeng Zhao, Haibo Chen, Aurojit Panda, Jinyang Li

摘要

Distributed transaction systems incur extensive cross-node communication to execute and commit serializable OLTP transactions. As a result, their performance greatly suffers. Caching data at nodes that execute transactions can cut down remote reads. Batching transactions for validation and persistence can amortize the communication cost during committing. However, caching and batching can significantly increase the likelihood of conflicts, causing expensive aborts.

In this paper, we develop Hackwrench to address the challenge of caching and batching. Instead of aborting conflicted transactions, Hackwrench tries to repair them using fine-grained re-execution by tracking the dependencies of operations among a batch of transactions. Tracked dependencies allow Hackwrench to selectively invalidate and re-execute only those operations necessary to "fix" the conflict, which is cheaper than aborting and executing an entire batch of transactions. Evaluations using TPC-C and other micro-benchmarks show that Hackwrench can outperform existing commercial and research systems including FoundationDB, Calvin, COCO, and Sundial under comparable settings.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Are Database System Researchers Making Correct Assumptions about Transaction Workloads? 引用了 Epoch-based Commit and Replication in Distributed OLTP Databases
  • Are Database System Researchers Making Correct Assumptions about Transaction Workloads? 引用了 Chiller: Contention-centric Transaction Execution and Data Partitioning for Modern Networks
  • Optimal Sharding for Scalable Blockchains with Deconstructed SMR 引用了 Releasing Locks As Early As You Can: Reducing Contention of Hotspots by Violating Two-Phase Locking
  • Fair Transaction Processing For Multi-Tenant Databases 引用了 Releasing Locks As Early As You Can: Reducing Contention of Hotspots by Violating Two-Phase Locking
  • Fair Transaction Processing For Multi-Tenant Databases 引用了 Chiller: Contention-centric Transaction Execution and Data Partitioning for Modern Networks
  • Mako: Speculative Distributed Transactions with Geo-Replication 引用了 Releasing Locks As Early As You Can: Reducing Contention of Hotspots by Violating Two-Phase Locking
  • Mako: Speculative Distributed Transactions with Geo-Replication 引用了 Epoch-based Commit and Replication in Distributed OLTP Databases
  • Towards Optimal Transaction Scheduling 引用了 Releasing Locks As Early As You Can: Reducing Contention of Hotspots by Violating Two-Phase Locking
  • Towards Optimal Transaction Scheduling 引用了 Plor: General Transactions with Predictable, Low Tail Latency
  • Towards Optimal Transaction Scheduling 引用了 Chiller: Contention-centric Transaction Execution and Data Partitioning for Modern Networks
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. Towards Optimal Transaction SchedulingAudrey Cheng, Aaron N. Kabcenell, Jason Chan, Xiao Shi 等VLDB 2024 · 14 次引用
  2. Optimal Sharding for Scalable Blockchains with Deconstructed SMRJianting Zhang, Zhongtang Luo, Raghavendra Ramesh, Aniket KateVLDB 2025 · 7 次引用
  3. Are Database System Researchers Making Correct Assumptions about Transaction Workloads?Cuong D. T. Nguyen, Kevin Chen, Christopher DeCarolis, Daniel J. AbadiSIGMOD 2025 · 4 次引用
  4. Mako: Speculative Distributed Transactions with Geo-ReplicationWeihai Shen, Yang Cui, Siddhartha Sen, Sebastian Angel 等OSDI 2025 · 4 次引用
  5. Fair Transaction Processing For Multi-Tenant DatabasesAudrey Cheng, Xiao Shi, Aaron N. Kabcenell, Jolene Huey 等VLDB 2025 · 2 次引用

它引用的 Paper10

  1. Epoch-based Commit and Replication in Distributed OLTP DatabasesYi Lu, Xiangyao Yu, Lei Cao, Samuel MaddenVLDB 2021 · 52 次引用
  2. Releasing Locks As Early As You Can: Reducing Contention of Hotspots by Violating Two-Phase LockingZhihan Guo, Kan Wu, Cong Yan, Xiangyao YuSIGMOD 2021 · 44 次引用
  3. Virtual Consensus in DelosMahesh Balakrishnan, Jason Flinn, Chen Shen, Mihir Dharamshi 等OSDI 2020 · 42 次引用
  4. Chiller: Contention-centric Transaction Execution and Data Partitioning for Modern NetworksErfan Zamanian, Julian Shun, Carsten Binnig, Tim KraskaSIGMOD 2020 · 29 次引用
  5. Plor: General Transactions with Predictable, Low Tail LatencyYoumin Chen, Xiangyao Yu, Paraschos Koutris, Andrea C. Arpaci-Dusseau 等SIGMOD 2022 · 25 次引用

相关 Paper

  1. Competitive Consistent Caching for TransactionsShuai An, Yang Cao, Wenyue ZhaoICDE 2022 · 1 次引用
  2. Handling Highly Contended OLTP Workloads Using Fast Dynamic PartitioningGuna Prasaad, Alvin Cheung, Dan SuciuSIGMOD 2020 · 34 次引用
  3. Morty: Scaling Concurrency Control with Re-ExecutionMatthew Burke, Florian Suri-Payer, Jeffrey Helt, Lorenzo Alvisi 等EuroSys 2023 · 7 次引用
  4. Transaction Scheduling: From Conflicts to Runtime ConflictsYang Cao, Wenfei Fan, Weijie Ou, Rui Xie 等SIGMOD 2023 · 8 次引用
  5. Revisiting OCC in Permissioned Blockchain via Fast Re-ExecutionMingrui Cao, Bin Cao, Weihao Peng, Mugen PengINFOCOM 2026
黄昏的海面,两侧是细线勾勒的悬崖