redis-rs
Redis client for Rust. (by ltoddy)
redis-async-rs
A Rust client for Redis, using Tokio (by benashford)
redis-rs | redis-async-rs | |
---|---|---|
1 | 1 | |
25 | 248 | |
- | - | |
0.0 | 5.8 | |
over 3 years ago | about 1 month 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.
redis-rs
Posts with mentions or reviews of redis-rs.
We have used some of these posts to build our list of alternatives
and similar projects.
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 redis-rs and redis-async-rs you can also consider the following projects:
h2 - HTTP 2.0 client & server implementation for Rust.
rustpad - Efficient and minimal collaborative code editor, self-hosted, no database required
rustis - An asynchronous Redis client for Rust
lust - A fast, auto-optimizing image server designed for high throughput and caching; Now that is hot.
another-rust-load-balancer - A load balancer with support for different middlewares and load balancing strategies, based on hyper and tokio
async-tungstenite - Async binding for Tungstenite, the Lightweight stream-based WebSocket implementation
redust - A simple Redis client & RESP parser for Rust.