
In simple English
Your apps often need a fast memory store to hold session data or cache web pages. Traditional tools like Redis can get slow and expensive as traffic grows. Dragonfly replaces them without requiring you to change any of your application code. It handles millions of requests per second while using less memory on your server. You can install it as a Docker container and point your existing apps right at it.
What it is
Dragonfly is an in-memory database built in C++ that is fully compatible with existing Redis and Memcached commands. It uses modern multi-threaded design to use all the CPU cores on your server.
What it is good for
Solo builders who need to scale up their database performance or cut cloud server costs without rewriting their code.
- Works with your existing Redis and Memcached client libraries with zero code changes.
- Delivers much higher request throughput and lower latency than traditional single-threaded stores.
- Uses significantly less memory and saves money on cloud server costs.
- Uses a custom source licence rather than a standard open source licence.
- Requires a modern multi-core processor to get the full performance benefits.
- Complex internal architecture makes custom C++ debugging difficult for non-programmers.
Redis or Memcached
Docker
- redis/redis77k stars
Redis is the classic single-threaded in-memory data store that Dragonfly replaces.
- meilisearch/meilisearch59k stars
A search engine you run yourself, built for fast answers and forgiving spelling.
- beekeeper-studio/beekeeper-studio24k stars
A desktop window onto a database, so you can read and edit rows without writing commands.
- sqliteai/sqlite-vector1.1k stars
An add-on that gives the single-file SQLite database meaning-based search, with its own accuracy figures printed in the README.
docker run --rm --name dragonfly -p 6379:6379 docker.dragonflydb.io/dragonflydb/dragonfly