Lotus: Optimizing Disaggregated Transactions with Disaggregated Locks

Zhisheng Hu, Pengfei Zuo, Junliang Hu, Yizou Chen, Yingjia Wang, Ming-Chang YangarXiv 2025 · OpenReview

Abstract

Disaggregated memory (DM) separates compute and memory resources, allowing flexible scaling to achieve high resource utilization. To ensure atomic and consistent data access on DM, distributed transaction systems have been adapted, where compute nodes (CNs) rely on one-sided RDMA operations to access remote data in memory nodes (MNs). However, we observe that in existing transaction systems, the RDMA network interface cards at MNs become a primary performance bottleneck. This bottleneck arises from the high volume of one-sided atomic operations used for locks, which hinders the system's ability to scale efficiently. To address this issue, this paper presents Lotus, a scalable distributed transaction system with lock disaggregation on DM. The key innovation of Lotus is to disaggregate locks from data and execute all locks on CNs, thus eliminating the bottleneck at MN RNICs. To achieve efficient lock management on CNs, Lotus employs an application-aware lock management mechanism that leverages the locality of the OLTP workloads to shard locks while maintaining load balance. To ensure consistent transaction processing with lock disaggregation, Lotus introduces a lock-first transaction protocol, which separates the locking phase as the first step in each read-write transaction execution. This protocol allows the system to determine the success of lock acquisitions early and proactively abort conflicting transactions, improving overall efficiency. To tolerate lock loss during CN failures, Lotus employs a lock-rebuild-free recovery mechanism that treats locks as ephemeral and avoids their reconstruction, ensuring lightweight recovery for CN failures. Experimental results demonstrate that Lotus improves transaction throughput by up to 2.1$\times$ and reduces latency by up to 49.4% compared to state-of-the-art transaction systems on DM.

Introduction: The RNIC Bottleneck in Disaggregated Memory

Disaggregated Memory (DM) architectures decouple compute resources (CPUs) from memory resources, creating independent pools connected via high-speed RDMA networks. This separation enables flexible resource scaling and improved utilization.

Disaggregated Memory Architecture with separate Compute and Memory Pools.

However, traditional distributed transaction systems on DM face a significant performance hurdle. Typically, both data and their associated locks reside on Memory Nodes (MNs). Compute Nodes (CNs) must use one-sided RDMA atomic operations (e.g., Compare-and-Swap) to acquire these locks. The authors identify the RNIC bottleneck at the MN as a "silent killer": RDMA network interface cards are significantly slower at processing complex atomic operations than simple reads or writes. As transaction volume scales, the MN's RNIC becomes overwhelmed, stalling the entire system.

The Lotus Approach: Lock Disaggregation

The core innovation of Lotus is Lock Disaggregation. By moving lock management from the "weak" RNICs on memory nodes to the "strong" CPUs on compute nodes, Lotus eliminates the primary bottleneck.

Transitioning from centralized locking at the Memory Node (causing a bottleneck) to disaggregated locking among Compute Nodes.

Key Technical Components

  • Application-Aware Lock Sharding: To minimize inter-CN communication, Lotus shards the lock table across the compute pool. It leverages application-specific "critical fields" (e.g., Warehouse ID) to ensure that most locks required by a transaction are co-located on the same CN executing it.
  • Lock-First Transaction Protocol: Lotus mandates that locking is the very first step of execution. This "fail-fast" approach allows the system to abort conflicting transactions immediately, saving network bandwidth that would otherwise be wasted fetching data.
  • Lock-Rebuild-Free Recovery: Since CNs are more prone to failure than MNs, Lotus treats locks as ephemeral state. Upon a CN failure, the system simply aborts affected transactions and restarts the CN with a clean lock table, avoiding expensive replication or logging.
  • Version Table Cache (VTC): CNs maintain local caches of data version metadata. Consistency is maintained with zero extra overhead by piggybacking invalidations on existing lock requests.

Evaluation and Results

Lotus was evaluated using microbenchmarks (KVS) and standard OLTP workloads (TATP, SmallBank, TPC-C) against state-of-the-art systems like FORD and Motor.

  • Throughput: Lotus achieved significant gains, improving maximum throughput by 1.3× on TATP, 1.5× on TPC-C, and 2.1× on SmallBank.
  • Latency: Under peak load, Lotus reduced P50 latency by up to 49.4% compared to Motor.
  • Scalability: While competing systems hit a performance wall due to MN network congestion, Lotus continued to scale effectively.
  • Recovery: The lock-rebuild-free mechanism enabled recovery from a 3-node crash in just 233ms.

Conclusion

Lotus demonstrates that moving lock management to compute nodes is essential for scaling transactions in disaggregated memory environments. By treating locks as ephemeral and leveraging application-aware sharding, Lotus overcomes the RNIC bottleneck while maintaining high efficiency and fast recovery. Future work includes optimizing memory overhead on CNs and exploring more advanced garbage collection strategies for data versions.

Summary updated

BibTeX
@misc{hu2025lotus,
  author = {Zhisheng Hu and Pengfei Zuo and Junliang Hu and Yizou Chen and Yingjia Wang and Ming-Chang Yang},
  title = {{Lotus: Optimizing Disaggregated Transactions with Disaggregated Locks}},
  year = {2025},
  eprint = {2512.16136},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.16136},
}
Figure