Lune

SIGMOD2022顶会

Hybrid Deterministic and Nondeterministic Execution of Transactions in Actor Systems

Yijian Liu, Li Su, Vivek Shah, Yongluan Zhou, Marcos Antonio Vaz Salles

摘要

The actor model has been widely adopted in building stateful middle-tiers for large-scale interactive applications, where ACID transactions are useful to ensure application correctness. In this paper, we present Snapper, a new transaction library on top of Orleans, a popular actor system. Snapper exploits the characteristics of actor-oriented programming to improve the performance of multi-actor transactions by employing deterministic transaction execution, where pre-declared actor access information is used to generate deterministic execution schedules. The deterministic execution can potentially improve transaction throughput significantly, especially with a high contention level. Besides, Snapper can also execute actor transactions using conventional nondeterministic strategies, including S2PL, to account for scenarios where actor access information cannot be pre-declared. A salient feature of Snapper is the ability to execute concurrent hybrid workloads, where some transactions are executed deterministically while the others are executed nondeterministically. This novel hybrid execution is able to take advantage of the deterministic execution while being able to account for nondeterministic workloads.

Our experimental results on two benchmarks show that deterministic execution can achieve up to 2x higher throughput than nondeterministic execution under a skewed workload. Additionally, the hybrid execution strategy can achieve a throughput that is close to deterministic execution when there is only a small percentage of nondeterministic transactions running in the system.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • A Hybrid Approach to Integrating Deterministic and Non-deterministic Concurrency Control in Database Systems 引用了 Aria: A Fast and Practical Deterministic OLTP Database
  • Fine-Grained Re-Execution for Efficient Batched Commit of Distributed Transactions 引用了 Aria: A Fast and Practical Deterministic OLTP Database
  • Fine-Grained Re-Execution for Efficient Batched Commit of Distributed Transactions 引用了 Epoch-based Commit and Replication in Distributed OLTP Databases
  • Epoch-based Commit and Replication in Distributed OLTP Databases 引用了 Aria: A Fast and Practical Deterministic OLTP Database
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Fine-Grained Re-Execution for Efficient Batched Commit of Distributed TransactionsZhiyuan Dong, Zhaoguo Wang, Xiaodong Zhang, Xian Xu 等VLDB 2023 · 16 次引用
  2. Online Marketplace: A Benchmark for Data Management in MicroservicesRodrigo Laigner, Zhexiang Zhang, Yijian Liu, Leonardo Freitas Gomes 等SIGMOD 2025 · 9 次引用
  3. A Hybrid Approach to Integrating Deterministic and Non-deterministic Concurrency Control in Database SystemsYinhao Hong, Hongyao Zhao, Wei Lu, Xiaoyong Du 等VLDB 2025 · 3 次引用
  4. TxnSails: Achieving Serializable Transaction Scheduling with Self-Adaptive Isolation Level SelectionQiyu Zhuang, Wei Lu, Shuang Liu, Yuxing Chen 等VLDB 2025 · 1 次引用

它引用的 Paper3

  1. Epoch-based Commit and Replication in Distributed OLTP DatabasesYi Lu, Xiangyao Yu, Lei Cao, Samuel MaddenVLDB 2021 · 52 次引用
  2. Handling Highly Contended OLTP Workloads Using Fast Dynamic PartitioningGuna Prasaad, Alvin Cheung, Dan SuciuSIGMOD 2020 · 34 次引用
  3. Aria: A Fast and Practical Deterministic OLTP DatabaseYi Lu, Xiangyao Yu, Lei Cao, Samuel MaddenVLDB 2020

相关 Paper

  1. Caracal: Contention Management with Deterministic Concurrency ControlDai Qin, Angela Demke Brown, Ashvin GoelSOSP 2021 · 37 次引用
  2. Amber: A Debuggable Dataflow System Based on the Actor ModelAvinash Kumar, Zuozhi Wang, Shengquan Ni, Chen LiVLDB 2020 · 22 次引用
  3. Caerus: Low-Latency Distributed Transactions for Geo-Replicated SystemsJoshua Hildred, Michael Abebe, Khuzaima DaudjeeVLDB 2024 · 10 次引用
  4. Don't Look Back, Look into the Future: Prescient Data Partitioning and Migration for Deterministic Database SystemsYu-Shan Lin, Ching Tsai, Tz-Yu Lin, Yun-Sheng Chang 等SIGMOD 2021 · 17 次引用
  5. TiQuE: Improving the Transactional Performance of Analytical Systems for True Hybrid WorkloadsNuno Faria, José Pereira, Ana Nunes Alonso, Ricardo Vilaça 等VLDB 2023 · 6 次引用
黄昏的海面,两侧是细线勾勒的悬崖