Distributed systems · Illumio
Scaling a shared cache with Redis and DragonflyDB
From redundant in-memory stores to a simpler, horizontally scalable caching layer.
~4×throughput after migration
The context
Per-process caching had created roughly 20× redundancy. I re-engineered the system around a centralized cache, then evaluated and led the migration from Redis to DragonflyDB.
My approach
- Consolidated redundant in-memory stores into a shared Redis cluster.
- Used pipelining, multi-exec, consistent-hash sharding, and read replicas.
- Evaluated DragonflyDB and migrated without requiring application-layer changes for horizontal scaling.
The outcome
Approximately 4× higher throughput after the migration, with a single shared caching layer replacing redundant per-process stores.
Let’s talk systems.
Interested in the engineering behind this work? I’m happy to talk through the tradeoffs.
Get in touch ↗