IPC in Rust
3tilley.github.io·22h
🔗Concurrency Primitives
Preview
Report Post

I wanted to explore different ways of communicating between different processes executing on the same machine, and doing so as fast as possible. We’re focussing on high speed inter-process communication (IPC), but some of these approaches can be extended across a network. We’ll do this exploration in Rust.

A reminder that since these are independent processes, most approaches you’d take within-process are unavailable to us. Rather than communicating between threads, or between asynchronous routines, these are techniques to shared data between different programs. They might not even both be written in Rust.

The code will mostly be snippets, but the full source is available here, with benchmark results at the end.

Similar Posts

Loading similar posts...