h2
redis-async-rs
h2 | redis-async-rs | |
---|---|---|
8 | 1 | |
1,306 | 248 | |
1.0% | - | |
7.7 | 5.8 | |
10 days ago | about 1 month ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
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.
h2
-
Announcing `h2x` A library for building high performance HTTP/2 servers
h2x provides a wrapper around the h2 crate, offering additional functionality and utility functions for working with the HTTP/2 server.
- A CVE has been issued for hyper. Denial of Service possible
-
2022-10-02 gRPC benchmark results
multi-threaded tokio runtime can be harder to scale/higher in minimal overhead if cross thread sync is not handled correctly. In this case the usual suspect is h2 crate. Possible elated issue: https://github.com/hyperium/h2/issues/531
-
Linkerd: Service Mesh Overview
H2 - https://github.com/hyperium/h2
redis-async-rs
-
How should I do token-based authentication with Rocket?
My strategy for simple web apps is to create a random string as a session cookie. Then, you store this string in redis, or a similar key-value database, as a key mapped to the user's id. I think this is the best redis client for Rust: https://github.com/benashford/redis-async-rs, at least if you use tokio. By keeping the session state in redis, you have a simple, scalable server application out of the box.
What are some alternatives?
hyper - An HTTP library for Rust
rustpad - Efficient and minimal collaborative code editor, self-hosted, no database required
another-rust-load-balancer - A load balancer with support for different middlewares and load balancing strategies, based on hyper and tokio
rustis - An asynchronous Redis client for Rust
sea-orm - 🐚 An async & dynamic ORM for Rust
lust - A fast, auto-optimizing image server designed for high throughput and caching; Now that is hot.
tower - async fn(Request) -> Result<Response, Error>
advisory-database - Security vulnerability database inclusive of CVEs and GitHub originated security advisories from the world of open source software.
async-tungstenite - Async binding for Tungstenite, the Lightweight stream-based WebSocket implementation
zero2prod - An implementation of Zero To Production In Rust using Axum instead of Actix
redust - A simple Redis client & RESP parser for Rust.