fabruic
An easy-to-use QUIC-based protocol that supports reliable payload delivery. (by khonsulabs)
flume
A safe and fast multi-producer, multi-consumer channel. (by zesterer)
Our great sponsors
fabruic | flume | |
---|---|---|
1 | 13 | |
10 | 1,928 | |
- | - | |
0.0 | 0.0 | |
21 days ago | about 1 month ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fabruic
Posts with mentions or reviews of fabruic.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-04-14.
-
PlaintDB Serves - another milestone reached
For today, I've chosen to use my best guess as to the best type of blocking wrapper for each type of operation, but the long-term goal is utilizing a new async executor that Daxpedda is working on. It's compatible with tokio, but it already has a concept named block_on_blocking, which is an optimized version of blocking designed to more fairly block without needing to adopt a 'static lifetime requirement due to using spawn_blocking. He's about to resume working on the executor, but he was responsible for the QUIC-based networking stack PliantDB is using and is wrapping up a few last requests before moving on.
flume
Posts with mentions or reviews of flume.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-10.
- pub/sub Event bus in rust
-
Is there any part of the Standard Library that really impresses you?
I also like flume, it has impressive performance (although not the best). More importantly, it's written only with safe rust. https://github.com/zesterer/flume
-
appreciating fearless concurrency
The most commonly suggested replacement for mspc is crossbeam-channel; flume is also relatively popular.
-
Rust has a small standard library (and that's ok)
It's not officially deprecated, but the alternatives on crates.io are considered better. flume and crossbeam-channel feature less unsafe code and offer better performance. Benchmarks.
-
Why are so many important features not in standard library yet?
it's slow (checkout flume's benchmarks for example)
-
A mini-Erlang/Elixir -- tell me if/why my idea sucks
For concurrency/parallelism, you launch at most 2 * CPU Cores, PIN them and use a fast broker to spread the task (like a ring buffer or an MPSC). But you keep linear scan, tight loops, SIMD friendly data, on each. You are not switching context that much, and instead, bet you will process the batch fast. (CPUs are fast today!)
- Whats your favourite open source Rust project that needs more recognition?
-
PlaintDB Serves - another milestone reached
First, I was becoming more and more confident that the channel library Daxpedda and I fell in love with, flume, was misbehaving, but I couldn't seem to reproduce it outside of the massive PliantDB codebase. I finally called up Daxpedda on Discord and screen shared my debugging session, showing him how the tests succeeded if I retained a channel. If I allowed the sender to drop after successfully sending, sometimes the tests would fail. He agreed, something was odd. It took me a while, but I finally whittled it down to about 30 lines of code and reported the issue. In an amazingly quick fashion, the maintainer fixed the issue and released an update. And for the record, I still fully love and recommend this library if you're mixing async and non-async code using channels. It's a wonderful implementation.
-
single-producer single-consumer concurrent queue
Sort of? Here's the closest thing you'll probably find: https://crates.io/crates/flume
-
Hey Rustaceans! Got an easy question? Ask here (6/2021)!
My first try was with flume, which uses a single producer, multi-consumer setup, and while it compiles and runs, it's magnitudes slower than the serial version. Here's a psuedocode rendition:
What are some alternatives?
When comparing fabruic and flume you can also consider the following projects:
uniffi-rs - a multi-language bindings generator for rust
rust - Empowering everyone to build reliable and efficient software.
Cargo - The Rust package manager
async-wormhole
trust-dns - A Rust based DNS client, server, and resolver
bevy - A refreshingly simple data-driven game engine built in Rust
Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!
reqwest - An easy and powerful Rust HTTP Client
rust-cli-boilerplate - Rust project boilerplate for CLI applications
crossbeam - Tools for concurrent programming in Rust
Plume - Federated blogging application, thanks to ActivityPub (now on https://git.joinplu.me/ — this is just a mirror)
rust - Rust language bindings for TensorFlow