Dragonfly: A High-Performance, Redis and Memcached Compatible Data Store

This repository profile is provided by osrepos.com, an open source repository discovery platform.

Dragonfly: A High-Performance, Redis and Memcached Compatible Data Store

Summary

Dragonfly is an innovative in-memory data store designed as a modern replacement for Redis and Memcached. It offers significant performance improvements, including up to 25x higher throughput and better memory efficiency, while maintaining full API compatibility. Built with a shared-nothing architecture and novel caching, Dragonfly is ideal for demanding application workloads.

Repository Information

Analyzed by OSRepos on April 5, 2026

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

Introduction

Dragonfly is a cutting-edge, in-memory data store engineered to serve as a modern, high-performance replacement for both Redis and Memcached. Developed in C++, it boasts full API compatibility with these traditional data stores, allowing for seamless integration into existing applications without requiring code changes. Dragonfly distinguishes itself by offering up to 25 times higher throughput, lower tail latency, and superior cache hit rates compared to its predecessors. Its design focuses on leveraging modern hardware capabilities, providing easy vertical scalability for demanding application workloads.

Installation

Getting started with Dragonfly is straightforward. The project provides comprehensive documentation, including a quickstart guide, to help you set up your instance. You can typically build it from source or use Docker for a quicker deployment.

For detailed installation instructions, please refer to the official Dragonfly Quickstart Guide.

A common way to run Dragonfly is via Docker:

docker run -p 6379:6379 dragonflydb/dragonfly

Examples

Dragonfly's compatibility with Redis and Memcached APIs means you can use existing clients and tools to interact with it. For instance, you can use redis-cli or memtier_benchmark to test its performance and functionality.

Here's an example of how memtier_benchmark can be used to test Dragonfly's performance, as highlighted in its documentation:

memtier_benchmark --ratio ... -t <threads> -c 30 -n 200000 --distinct-client-seed -d 256 \
   --expiry-range=...

Dragonfly also supports many Redis-specific arguments for configuration, such as port, bind, requirepass, and maxmemory. It introduces its own arguments like memcached_port to enable Memcached compatibility and cache_mode for its novel caching design.

Why Use Dragonfly?

Dragonfly offers compelling advantages that make it an excellent choice for modern applications:

  • Exceptional Performance: Benchmarks show Dragonfly achieving up to 25x the throughput of Redis, exceeding 3.8M QPS on SET operations and reaching 10M QPS for SET and 15M QPS for GET in pipeline mode.
  • Superior Memory Efficiency: It is 30% more memory efficient than Redis in idle states and demonstrates no visible memory increase during snapshot phases, unlike Redis which can triple its memory usage.
  • Full Compatibility: Seamlessly replaces Redis and Memcached without requiring any application code modifications, thanks to its full API compatibility.
  • Modern Architecture: Built on a shared-nothing architecture with a novel, unified adaptive caching algorithm and forkless snapshotting, designed for optimal performance on modern hardware.
  • Feature Rich: Includes a native HTTP console for debugging and management, and provides Prometheus-compatible metrics for easy monitoring with tools like Grafana.

Links

Related repositories

Similar repositories that may be relevant next.

CompetitiveCode: A Repository for Competitive Programming Problems

CompetitiveCode: A Repository for Competitive Programming Problems

July 16, 2026

CompetitiveCode by Vishruth-S is a valuable GitHub repository dedicated to competitive programming. It offers a collection of interesting problems and their solutions, primarily in C++, making it an excellent resource for learning and practicing algorithms. With a strong community and a focus on well-documented solutions, it fosters a collaborative environment for developers.

competitive-codingcompetitive-programmingalgorithm-challenges
Helium: A Privacy-First, Chromium-Based Web Browser

Helium: A Privacy-First, Chromium-Based Web Browser

July 1, 2026

Helium is an open-source, Chromium-based web browser designed with a strong focus on user privacy and an unbiased ad-blocking experience. It aims to provide a fast, honest, and bloat-free browsing environment for users. Built upon ungoogled-chromium, it offers a secure alternative for daily web navigation.

browserchromiumprivacy
XGrammar: Fast, Flexible, and Portable Structured Generation for LLMs

XGrammar: Fast, Flexible, and Portable Structured Generation for LLMs

June 27, 2026

XGrammar is an open-source library for efficient, flexible, and portable structured generation, developed by mlc-ai. It leverages constrained decoding to guarantee 100% structural correctness for outputs like JSON and regex. Optimized for near-zero overhead, XGrammar offers universal deployment across various platforms, hardware, and programming languages, making it a leading solution for structured output from large language models.

large-language-modelsstructured-generationC++
Notes: A Fast and Beautiful Cross-Platform Note-Taking App

Notes: A Fast and Beautiful Cross-Platform Note-Taking App

June 18, 2026

Notes is an open-source, cross-platform note-taking application designed for speed and beauty. Written in C++ with Qt, it offers robust features like Markdown support, Kanban boards for tasks, and comprehensive organization options. This app prioritizes user privacy, ensuring a secure and efficient environment for capturing your thoughts.

note-taking-appcross-platformmarkdown

Source repository

Open the original repository on GitHub.

10 counted GitHub visits

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️