All 39 Dependencies
Every package Dragonfly depends on, ranked by repo health score.
Dragonfly is a high-performance, in-memory data store built as a drop-in replacement for Redis and Memcached. Created from scratch to exploit modern multi-core hardware, it uses a shared-nothing architecture that partitions keyspace across CPU threads — eliminating mutex contention and allowing throughput to scale linearly with core count. On network-optimized cloud instances, Dragonfly reaches 3.8M+ QPS on a single node, and 10–15M QPS in pipeline mode.
Unlike Redis, which is fundamentally single-threaded and hits a CPU ceiling on large instances, Dragonfly runs all data operations in parallel using fiber-based cooperative multitasking. Each thread owns its shard exclusively and communicates with peers only through message passing — never shared locks. This means a 96-core machine delivers proportionally more throughput where Redis would saturate on a single core.
Dragonfly introduces its own Dashtable data structure — an evolution of extendible hashing from academic research — which provides 30% better memory efficiency than Redis in idle state and eliminates the memory spikes Redis exhibits during BGSAVE snapshots. The adaptive caching mode uses a single unified eviction algorithm tuned for real-world hit rates. Prometheus-compatible metrics are exposed natively on the same port as RESP without any extra configuration.
The project ships a managed cloud offering (Dragonfly Cloud) for teams that want the performance without operational overhead. Self-hosted Dragonfly is licensed under BSL 1.1, which permits production use freely as long as you are not selling it as a managed service. At 30,000+ GitHub stars and releases every few weeks, Dragonfly has established itself as the leading next-generation Redis-compatible datastore.