Tag: concurrency
All the articles with the tag "concurrency".
-
Building a Redis Clone in Rust: TTL, Pattern Matching, and Active Expiration
Phase 3 of building Rudis, a Redis clone in Rust. Covers implementing EXPIRE, TTL, PERSIST, and KEYS commands, plus adding a background task for active key expiration.
-
Building a Redis Clone in Rust: The Key-Value Store
Phase 2 of building Rudis, a Redis clone in Rust. Covers implementing GET, SET, and other commands, the concurrency model with Arc<RwLock<HashMap>>, lazy expiration, inline command parsing, and benchmarking against official Redis.