another-rust-load-balancer
redis-async-rs
another-rust-load-balancer | redis-async-rs | |
---|---|---|
1 | 1 | |
72 | 248 | |
- | - | |
0.0 | 5.8 | |
about 2 years 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.
another-rust-load-balancer
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?
sozu - Sōzu HTTP reverse proxy, configurable at runtime, fast and safe, built in Rust. It is awesome!
h2 - HTTP 2.0 client & server implementation for Rust.
rustpad - Efficient and minimal collaborative code editor, self-hosted, no database required
async-tungstenite - Async binding for Tungstenite, the Lightweight stream-based WebSocket implementation
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.
hyper-rustls - Integration between hyper HTTP library and rustls TLS stack
ginepro - A client-side gRPC channel implementation for tonic
redust - A simple Redis client & RESP parser for Rust.