Posts
All the articles I've posted.
-
Building a Redis Clone in Rust: Refactoring for Data Structures
Phase 4 (Part 1) of building Rudis, a Redis clone in Rust. Covers the refactoring from a bytes-only store to a multi-type DataType enum, splitting the codebase into modules, implementing WRONGTYPE errors, and how this groundwork enabled Lists, Sets, and Hashes.
-
FOSDEM 2026: Day One — the Open Source Spirit
A personal recap of FOSDEM 2026 Day 1 in Brussels, covering talks on OpenCloud storage, Git's Atomic Flow, Homebrew lessons, zero-downtime PostgreSQL upgrades, Apache Arrow, VictoriaMetrics, and the journey of building databases in the cloud.
-
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.
-
Building a Redis Clone in Rust: Parsing the RESP Protocol
Phase 1 of building Rudis, a Redis clone in Rust. Covers implementing a TCP server that parses the RESP protocol, handling edge cases like null values, binary data, partial reads, and nested arrays.