An actor-like RPC framework built for true zero-copy message handling.
A actor-like RPC framework built for true zero-copy message handling.
This framework is inspired by tonic but is not a GRPC framework. Instead, it makes use of the incredible rkyv (de)serialization framework which provides us with lightning fast (de)serialization and also lets us perform true zero-copy deserialization which can lead to massive performance improvements when processing lots of big messages at once.
Features
- Fast (de)serialization of owned types.
- True zero-copy deserialization avoiding heavy allocations.
- Dynamic adding and removing of message handlers/services.
Basic example
use SocketAddr;
use CheckBytes;
use ;
use ;
// The framework accepts any messages which implement `Archive` and `Serialize` along
// with the archived values implementing `CheckBytes` from the `bytecheck` crate.
// This is to ensure safe, validated deserialization of the values.
//
// Checkout rkyv for more information!
;
async