rocket_auth
tokio-uring
Our great sponsors
rocket_auth | tokio-uring | |
---|---|---|
2 | 26 | |
65 | 783 | |
- | 6.0% | |
6.7 | 4.7 | |
5 months ago | 10 days ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
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.
rocket_auth
-
Authentication for Rocket+Diesel application
The basic CRUD operations are done, however I'm still missing the users and authentication logic. Since I don't want to build it form scratch if possible, I found rocket_auth which seems perfect, except that it does not support diesel.
-
Hey Rustaceans! Got an easy question? Ask here (14/2021)!
There is https://github.com/tvallotton/rocket_auth, which salts by default IIRC
tokio-uring
-
Create a data structure for low latency memory management
That's what the pool is for: https://github.com/tokio-rs/tokio-uring/blob/master/src/buf/fixed/pool.rs
To add on this, we're adding infrastructure for fixed buffers pre-registered with the kernel into tokio-uring.
-
Cloudflare Ditches Nginx for In-House, Rust-Written Pingora
I think io_uring support [0] still is not production ready.
Tokio supports io_uring (https://github.com/tokio-rs/tokio-uring), so perhaps when it's mature and battle-tested, it'd be easier to transition to it if Cloudflare aren't using it already.
-
Anyone using io_uring?
- Tokio suffers from a similar problem
-
redb 0.4.0: 2x faster commits with 1PC+C instead of 2PC
Eg via tokio-uring.
-
Efficient way to read multiple files in parallel
I strongly recommend you to look into io-uring and use async executors that take advantages of it: - tokio-uring (not recommended as it is still undergoing development) - monoio - glommio
-
How to use async Rust for non-IO tasks?
There's a new API on Linux called io_uring that has performance benefits, but most executors don't use it yet, except executors meant specifically to harness the power of io_uring like tokio-uring and Glommio
- Async Rust in 2022
- Rust async runtime based on io-uring.
What are some alternatives?
libuv - Cross-platform asynchronous I/O
liburing
glommio - Glommio is a thread-per-core crate that makes writing highly parallel asynchronous applications in a thread-per-core architecture easier for rustaceans.
rocket-auth-login - Authentication and login processing for Rust's Rocket web framework. Demonstrates a working example of how to authenticate users and process login as well as how to handle logging out.
axum-auth - High-level http auth extractors for axum
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
monoio - Rust async runtime based on io-uring.
rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]
aiocp
diesel_async - Diesel async connection implementation
sleeping_vs_spinning - Benchmarks to measure the cost of sleeping
rust.vim - Vim configuration for Rust.