Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I would have done the same. I think, and I might be wrong, but the only other alternative, besides anything unsafe, would be to pass mutex back, but I am not sure this would be faster. Btw, I have not done testing, but you might want to look at Flume for your mpsc channels: https://github.com/zesterer/flume Flume, seems to be very fast mpsc implementation. I am planning to evaluate it for logging system.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- Hyperbridge: Fast multi-producer, multi-consumer unbounded channel in Rust
- Loole, A safe sync/async multi-producer, multi-consumer channel, Boosted Async Performance Up to 17%
- appreciating fearless concurrency
- Rust has a small standard library (and that's ok)
- A mini-Erlang/Elixir -- tell me if/why my idea sucks