Hyperbridge: Fast multi-producer, multi-consumer unbounded channel in Rust
github.com
github.com
At work we use flume, which is another capable multi-producer, multi-consumer async-capable channel [1]. It's great for shuffling data between threads, as well as between async tasks, and between threads and async tasks. Basically any time you want to pieces of code to exchange data or signals without pesky shared state.
Highly recommended.
Not a common thing in web development.
https://github.com/crossbeam-rs/crossbeam/tree/master/crossb...
Is there something unique about its algorithm? I'm afraid the repo is low on documentation.
I am in early stages of writing a low latency barrier which provides low latency lock free communication between thread pairs ( 1 thread bidirectionally with 1 other thread ) but wiring up to other barriers is proving difficult.
The number of sent messages doesn't match the number of received messages I think I need a mutex unfortunately
So it's interesting that there is options in this space in Rust.