-
tokio
A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
It's outdated and see this issue that removing it: https://github.com/tokio-rs/tokio/pull/1807
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
But maybe check out the discussion here https://github.com/async-rs/async-std/pull/631 or something (the blog post was linked on the end of it)
-
The issue currently, and the one that the article above points out, is that right now you can't use async in a single-threaded context without paying for synchronization overhead anyway. All of the provided constructs must be Send and the supporting data structures all use Arc and Mutex under the hood. There's been progress in this area but it still isn't a supported use case. In order to do it you basically have to use mio or write things from scratch.
Related posts
-
Rust vs Go? Which should you choose in 2024
-
How should I structure a medium sized crate?
-
As part of the stdlib mutex overhaul, std::sync::Mutex on Linux now has competitive performance with parking_lot
-
Microsoft Rust intro says "Rust is known to leak memory"
-
Writing into Uninitialized Buffers in Rust