h2
HTTP 2.0 client & server implementation for Rust. (by hyperium)
redis-async-rs
A Rust client for Redis, using Tokio (by benashford)
h2 | redis-async-rs | |
---|---|---|
8 | 1 | |
1,457 | 254 | |
0.4% | 0.4% | |
7.3 | 5.4 | |
8 days ago | over 1 year ago | |
Rust | Rust | |
MIT License | 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.
h2
Posts with mentions or reviews of h2.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-02.
-
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
Posts with mentions or reviews of redis-async-rs.
We have used some of these posts to build our list of alternatives
and similar projects.
-
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?
When comparing h2 and redis-async-rs you can also consider the following projects:
hyper - An HTTP library for Rust
rustpad - Efficient and minimal collaborative code editor, self-hosted, no database required
delay-timer - Time-manager of delayed tasks. Like crontab, but synchronous asynchronous tasks are possible scheduling, and dynamic add/cancel/remove is supported.
lust - A fast, auto-optimizing image server designed for high throughput and caching; Now that is hot.
tower - async fn(Request) -> Result<Response, Error>
another-rust-load-balancer - A load balancer with support for different middlewares and load balancing strategies, based on hyper and tokio