dragonfly
A modern replacement for Redis and Memcached
What is dragonfly?
A modern replacement for Redis and Memcached
Overview of dragonfly
What it is
Dragonfly is an in-memory data store built for modern application workloads. It is fully compatible with Redis and Memcached APIs, requiring no code changes to adopt. According to the README, compared to legacy in-memory datastores, Dragonfly delivers 25X more throughput, higher cache hit rates with lower tail latency, and can run on up to 80% fewer resources for the same-sized workload.
Key features
- Fully compatible with Redis and Memcached APIs.
- High throughput: benchmarks show up to 3.8M QPS on c6gn.16xlarge instance, and in pipeline mode up to 10M QPS for SET and 15M QPS for GET.
- Memory efficiency: 30% more memory efficient than Redis in idle state, with no visible increase during snapshotting.
- Supports snapshotting with bgsave and automatic backups via cron schedule.
- Supports common Redis configuration arguments like port, bind, requirepass, maxmemory, dir, dbfilename.
- Dragonfly-specific arguments include memcached_port, keys_output_limit, dbnum, cache_mode, hz, snapshot_cron, primary_port_http_enabled.
Use cases
Dragonfly can be used as a drop-in replacement for Redis or Memcached in caching, session storage, real-time analytics, and other in-memory data store applications. It is suitable for workloads requiring high throughput and low latency, especially on multi-core instances.
Getting started
See the repository README for installation and quick start instructions.
License and pricing
The license is not stated (NOASSERTION). Pricing is open source (free).
Based on the project's public README and repository metadata.