Datacenter RPCs can be General and Fast
arXiv:1806.00680
Abstract
It is commonly believed that datacenter networking software must sacrifice generality to attain high performance. The popularity of specialized distributed systems designed specifically for niche technologies such as RDMA, lossless networks, FPGAs, and programmable switches testifies to this belief. In this paper, we show that such specialization is not necessary. eRPC is a new general-purpose remote procedure call (RPC) library that offers performance comparable to specialized systems, while running on commodity CPUs in traditional datacenter networks based on either lossy Ethernet or lossless fabrics. eRPC performs well in three key metrics: message rate for small messages; bandwidth for large messages; and scalability to a large number of nodes and CPU cores. It handles packet loss, congestion, and background request execution. In microbenchmarks, one CPU core can handle up to 10 million small RPCs per second, or send large messages at 75 Gbps. We port a production-grade implementation of Raft state machine replication to eRPC without modifying the core Raft source code. We achieve 5.5 microseconds of replication latency on lossy Ethernet, which is faster than or comparable to specialized replication systems that use programmable switches, FPGAs, or RDMA.
Updated to NSDI 2019 version
Cited by in corpus (14)
- Microsecond Consensus for Microsecond Applications
- The nanoPU: Redesigning the CPU-Network Interface to Minimize RPC Tail Latency
- Serverless Predictions: 2021-2030
- Scouting the Path to a Million-Client Server
- BPF for storage: an exokernel-inspired approach
- RDMA Performance Isolation With Justitia
- Parallel Graph Algorithms in Constant Adaptive Rounds: Theory meets Practice
- PL2: Towards Predictable Low Latency in Rack-Scale Networks
- RDMAbox : Optimizing RDMA for Memory Intensive Workloads
- Fast General Distributed Transactions with Opacity using Global Time
- Dagger: Accelerating RPCs in Cloud Microservices Through Tightly-Coupled Reconfigurable NICs
- Recent Advancements In Distributed System Communications
- RackSched: A Microsecond-Scale Scheduler for Rack-Scale Computers (Technical Report)
- Disaggregation and the Application