eRPC
eRPC is a datacenter RPC library that supplies asynchronous request handling, loss recovery and congestion control over unreliable packet transports.
The paper uses UDP on lossy Ethernet and unreliable datagrams on InfiniBand, rather than one-sided remote-memory operations. Dispatch threads must run their event loops; long handlers can use worker threads. Client retransmission uses go-back-N, while the server avoids executing the same request handler twice. Suspected node failure produces error callbacks. [1]
Table 6 reports a 5.5 microsecond client-side median and 6.3 microsecond 99th percentile for replicated PUTs: three replicas, one client, 16-byte keys, 64-byte values and logs plus data in DRAM. Leader-side median latency is separately 3.1 microseconds. These observation points are not interchangeable. Competing systems were compared through published results on different hardware, not one common testbed. [1]
At the pinned artifact revision, the SMR example supports PUTs and one client, lacks log compaction and membership changes, and documents a maximum-RPC-size constraint during leader replacement. These are example-application limits, not limits of the RPC library. [2]
The optional PmemLog constructor sets the volatile entry count to zero, clears persistent metadata and appends a dummy entry. Its append path persists entry data before the entry count. This source inspection demonstrates initialization and append ordering, not restart recovery; the presence of PMEM code does not turn the paper's DRAM result into a persistent-storage benchmark. [3]
Relations
- related
- Raft, RDMA storage networking
Limitations
- The reported latency is not a disk-persistence measurement; RPC duplicate suppression alone does not establish durable application-level retry handling. [1]
Citations
- Kalia, Kaminsky and Andersen. Datacenter RPCs can be General and Fast. NSDI 2019, pp. 1-16; sections 3, 5.3, 7.1, Table 6 and Appendix B.
- eRPC SMR example: implementation constraints and leader-change notes, revision de83dab3eab4a0fb19bfc4881c11d4a6b89ff17d
- eRPC PmemLog: constructor and append, revision de83dab3eab4a0fb19bfc4881c11d4a6b89ff17d
Sources & caveats
- Literature and pinned-source review. No network benchmark, crash-recovery experiment or independent reproduction was performed. The inspected revision is not asserted to be the paper's evaluated artifact.