dragonflydb/dragonfly
A modern replacement for Redis and Memcached
What it solves
Dragonfly addresses the performance and resource limitations of legacy in-memory data stores. It is designed to handle modern, high-throughput cloud workloads by providing significantly higher performance and better memory efficiency without requiring changes to existing application code.
How it works
Dragonfly uses a "shared-nothing" architecture that partitions data across CPU threads, allowing each thread to manage its own slice of data independently. This design avoids the bottlenecks of traditional single-threaded architectures. It utilizes advanced data structures—specifically a hashtable design based on the "Dash" algorithm—to maintain high performance during growth and enable features like fork-less snapshotting and a memory-efficient cache eviction strategy. It is fully compatible with Redis and Memcached APIs.
Who it’s for
It is for developers and engineers who need a high-performance, cost-efficient in-memory data store for cloud-native applications and want to improve throughput or reduce infrastructure costs without rewriting their existing Redis or Memcached-based code.
Highlights
- Delivers up to 25X higher throughput compared to single-threaded Redis.
- Fully compatible with existing Redis and Memcached APIs.
- Achieves higher cache hit rates with zero memory overhead for eviction.
- Features a fork-less snapshotting algorithm for faster, more efficient backups.
- Includes a native HTTP console and Prometheus-compatible metrics for easier monitoring.
Related
- Project
- Project
- Project
- Project
- Project