f1870851564673134eabc407e9477d3e1b5f2c29
Handle accept errors using an exponential backoff strategy. Also uses a semaphore to limit the max number connections. Adds inline documentation and comments.
mini-redis
mini-redis is a lightweight, idiomatic implementation of Redis built with tokio.
Logging
mini-redis uses tracing to provide structured logs. Debug logs can be displayed by running:
RUST_LOG=debug cargo run --bin server
Logs will appear when commands are sent to the server from a client.
More documentation on enabling different log levels and filtering logs can be found here.
Languages
Rust
100%