[Paper Review] The End of a Myth: Distributed Transactions Can Scale
This paper presents NAM-DB, a scalable distributed database system that achieves linear scale-out for distributed transactions using RDMA-enabled networks and a redesigned architecture. By leveraging one-sided RDMA operations and efficient timestamp management, NAM-DB sustains 6.5 million new-order transactions per second (14.5 million total) on 56 machines under TPC-C, demonstrating that distributed transactions can scale when hardware and system design are aligned with modern low-latency, high-bandwidth networks.
The common wisdom is that distributed transactions do not scale. But what if distributed transactions could be made scalable using the next generation of networks and a redesign of distributed databases? There would be no need for developers anymore to worry about co-partitioning schemes to achieve decent performance. Application development would become easier as data placement would no longer determine how scalable an application is. Hardware provisioning would be simplified as the system administrator can expect a linear scale-out when adding more machines rather than some complex sub-linear function, which is highly application specific. In this paper, we present the design of our novel scalable database system NAM-DB and show that distributed transactions with the very common Snapshot Isolation guarantee can indeed scale using the next generation of RDMA-enabled network technology without any inherent bottlenecks. Our experiments with the TPC-C benchmark show that our system scales linearly to over 6.5 million new-order (14.5 million total) distributed transactions per second on 56 machines.
Motivation & Objective
- To challenge the widely held belief that distributed transactions inherently do not scale due to performance bottlenecks.
- To address the root causes of poor scalability in distributed transactions, particularly CPU overhead from TCP/IP stacks and network bandwidth limitations.
- To redesign the database system architecture to fully exploit next-generation RDMA networks, eliminating central coordinators and reducing latency.
- To enable linear scale-out for distributed transactions without requiring application-level co-partitioning or complex data placement strategies.
- To demonstrate that snapshot isolation, a common isolation level, can be efficiently and scalably implemented using one-sided RDMA operations.
Proposed method
- Designing a shared-nothing, RDMA-first architecture that decouples compute and storage nodes to minimize network and CPU overhead.
- Implementing one-sided RDMA operations to eliminate CPU involvement in data transfer between nodes, reducing latency and increasing bandwidth utilization.
- Developing a scalable timestamp generation mechanism for snapshot isolation that ensures serializability without central coordination.
- Using RDMA atomic operations to coordinate transaction commit phases efficiently across nodes, avoiding bottlenecks from centralized managers.
- Optimizing transaction processing to immediately retry aborted transactions after detecting conflicts, minimizing idle time and improving throughput.
- Leveraging high-bandwidth, low-latency InfiniBand networks (e.g., FDR 4×) to achieve memory-bandwidth-level network performance, making network I/O no longer a bottleneck.
Experimental results
Research questions
- RQ1Can distributed transactions scale when the underlying network infrastructure supports high bandwidth and low latency via RDMA?
- RQ2What architectural changes are required to make distributed transactions scalable, beyond simply upgrading from Ethernet to RDMA?
- RQ3How can snapshot isolation be efficiently implemented using one-sided RDMA operations without introducing coordination bottlenecks?
- RQ4To what extent does the absence of a centralized coordinator improve horizontal scale-out in distributed databases?
- RQ5Can the performance of distributed transactions be linearly scaled across hundreds of machines when network and CPU overheads are minimized?
Key findings
- NAM-DB achieves nearly perfect linear scale-out across 56 machines, sustaining 6.5 million new-order transactions per second (14.5 million total transactions per second) on the TPC-C benchmark.
- The system demonstrates that network bandwidth and CPU overhead from TCP/IP are the primary bottlenecks in traditional distributed databases, not inherent limitations of distributed transactions.
- By using one-sided RDMA operations, the system reduces network processing overhead and achieves memory-bandwidth-level network performance, making network I/O no longer a scalability bottleneck.
- The abort rate increases only with workload skewness, not due to network or coordination overhead, confirming that the system scales linearly under uniform workloads.
- The absence of a centralized coordinator and the use of RDMA-based coordination enable predictable, linear performance scaling without application-level co-partitioning constraints.
- The results refute the long-standing myth that distributed transactions cannot scale, showing that they are only limited by the workload itself, not by system architecture or networking.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.