NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

The End of Slow Networks: It's Time for a Redesign

Carsten Binnig, Andrew Crotty, Alex Galakatos, Tim Kraska, Erfan Zamanian

TL;DR

This paper argues that the increasing bandwidth of modern networks (like InfiniBand) has fundamentally changed the performance landscape for distributed in-memory databases. They propose a new "Network-Attached Memory" (NAM) architecture and RDMA-optimized algorithms that can finally leverage these fast networks, leading to dramatic performance improvements for both OLTP and OLAP workloads.

What Problem Does This Paper Address?

For years, the conventional wisdom in distributed database design has been that the network is the primary bottleneck. This has led to architectures and algorithms that prioritize minimizing network communication, often at the expense of other factors. However, the authors observe that recent high-performance networks, particularly those with Remote Direct Memory Access (RDMA) capabilities like InfiniBand, now offer bandwidth comparable to or even exceeding that of a single memory channel. This shift means that traditional database designs are no longer optimal and are leaving significant performance on the table. The paper aims to demonstrate this shift and propose a new architectural paradigm and algorithms to fully exploit these fast networks.

Methods

The authors propose a new Network-Attached Memory (NAM) architecture where compute and storage are logically decoupled. Storage servers provide a shared memory pool accessible via RDMA, while compute nodes handle the actual database operations. This contrasts with traditional shared-nothing architectures.

They then introduce RDMA-optimized algorithms for both OLTP and OLAP workloads:

  • For OLTP: They propose a novel RDMA-based Snapshot Isolation (RSI) protocol. This protocol moves transaction processing logic to the compute nodes (clients) and uses one-sided RDMA operations for efficient, low-overhead validation and locking, eliminating the traditional 2PC bottleneck.
  • For OLAP: They redesign the Grace Hash Join (GHJ) and introduce a new RDMA Radix Join (RRJ) algorithm. These algorithms leverage RDMA to directly write partitioned data to remote storage nodes, overlapping computation and communication for significantly improved performance. They also propose an RDMA Aggregation (RDMA AGG) operator that uses RDMA to copy pre-aggregated data in the background.

Datasets

Not discussed in the paper. The authors mention using a dataset with 1 million products for their OLTP experiments and a table with 128 million tuples for OLAP experiments, but these appear to be synthetically generated for evaluation rather than standard benchmarks.

Key Insights and Ideas

  • Network Bandwidth is No Longer the Primary Bottleneck: The core insight is that modern networks have caught up to, and in some cases surpassed, memory bandwidth. This fundamentally invalidates decades of database design assumptions.
  • RDMA is a Game Changer: RDMA's ability to bypass the CPU and OS for data transfers is crucial for unlocking the potential of fast networks, drastically reducing latency and CPU overhead compared to traditional TCP/IP.
  • The NAM Architecture Enables True Network Utilization: Decoupling compute and storage, with storage nodes acting as a shared RDMA-accessible memory pool, allows compute nodes to directly leverage network bandwidth without being constrained by local storage or traditional network stacks.
  • Traditional 2PC is Obsolete for OLTP on Fast Networks: The RSI protocol demonstrates that distributed transactions, previously considered a scalability killer, can now scale efficiently with RDMA, removing the need for complex partitioning schemes solely to avoid them.
  • Semi-Join Reduction is Less Critical for OLAP: With RDMA, the cost of network transfers decreases significantly, making the overhead of traditional semi-join reductions less beneficial for OLAP joins. New RDMA-native algorithms are more effective.

Key Results

  • OLTP Performance: The RSI protocol achieved 1.8 million distributed transactions per second on their experimental setup, a massive improvement over traditional SI protocols over IPOIB (~22,000 trx/sec) and IPoEth (~32,000 trx/sec).
  • OLAP Performance: The RDMA-optimized join algorithms (RDMA GHJ and RRJ) significantly outperformed traditional GHJ variants, especially as join selectivities decreased. The RRJ algorithm showed substantial gains.
  • RDMA Aggregation: The RDMA AGG operator demonstrated significant performance gains, particularly with a large number of distinct group-by keys, showing greater robustness than traditional hierarchical aggregation.
  • Scalability: The proposed RDMA-based approaches showed much better scalability with an increasing number of clients compared to traditional methods.

Limitations and Future Work

  • Complexity of RDMA Programming: The authors acknowledge that adapting applications to RDMA verbs is non-trivial and requires significant modifications.
  • Cache Coherence: The proposed shared-memory approach using RDMA lacks hardware cache coherence mechanisms, requiring software to manage this.
  • Timestamp Service: The assumption of an external, globally ordered timestamp service for RSI might be a bottleneck in some scenarios.
  • Memory Management: Efficiently managing RDMA-enabled memory across nodes and optimizing buffer sizes for RDMA bandwidth are ongoing challenges.
  • Future Work: The authors suggest exploring more sophisticated load-balancing schemes, optimizing RDMA prefetching, and further investigating the trade-offs between local and remote processing. They also highlight the need for new query optimization techniques that consider factors beyond just network cost.

Summary updated

BibTeX
@article{binnig2016end,
  author = {Carsten Binnig and Andrew Crotty and Alex Galakatos and Tim Kraska and Erfan Zamanian},
  title = {{The End of Slow Networks: It's Time for a Redesign}},
  journal = {Proc. VLDB Endow.},
  year = {2016},
  doi = {10.14778/2904483.2904485},
}
Figure