Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iciclef/rrppcc

An academic-purpose userspace RPC library in Rust.
https://github.com/iciclef/rrppcc

rdma rpc rust

Last synced: 1 day ago
JSON representation

An academic-purpose userspace RPC library in Rust.

Awesome Lists containing this project

README

        

rrppcc is an RDMA RPC library that serves academic research purposes.

There are some performant and useful userspace RPC engines in C++ (e.g., [eRPC](https://github.com/erpc-io/eRPC)) with appealing features like zero-copy.
However, when some system researchers originally familiar with those RPC engines start to use Rust, they may find no comparable Rust alternatives.
Rust has memory safety, pervasive closures, and async/await.
C++ RPC engines does not have memory safety, often do not allow closures, and seldomly have support for C++20 coroutines.

This library offers native Rust userspace RPC that is partly inspired by eRPC.
Major features include:
- Fully userspace in the data plane
- Zero-copy
- Automatically use RDMA UD for small messages and RC for large messages

To use this library, you must have an available RDMA NIC installed on your computer.
Mellanox's ConnectX adaptor series are the best;
others should also work as long as you have `libibverbs` installed, but they are not tested.

## Versioning

- `0.2`: Use this version if you want to bind RPC handlers to `Nexus`, and can tolerate some unsoundness and counter-intuitive semantics
(the `Send + Sync` traits are implemented on the types, but they actually can only be used in one thread).
- `0.3`: Use this version if you want to bind RPC handlers to `Rpc`.