Dragonfly: Modern in-memory data store
In-memory data store with Redis/Memcached API compatibility and multi-threaded C++.
Learn more about Dragonfly
Dragonfly is an in-memory key-value data store that serves as a drop-in replacement for Redis and Memcached. The system is implemented in C++ with a multi-threaded architecture using fiber-based concurrency, allowing it to scale vertically across multiple CPU cores. It maintains full API compatibility with Redis and Memcached protocols, requiring no application code changes for adoption. The database supports features like vector search, message brokering, and various data persistence options including snapshotting.
Multi-threaded Architecture
Uses fiber-based concurrency and multi-threading to utilize multiple CPU cores, unlike Redis's single-threaded design. This allows throughput to scale with instance size rather than hitting CPU bottlenecks.
Memory Efficiency
Implements a custom data structure called Dashtable that reduces memory overhead. Shows 30% better memory efficiency compared to Redis in idle state and minimal memory increase during snapshot operations.
API Compatibility
Maintains full compatibility with Redis and Memcached APIs and protocols. Applications can migrate without code changes while gaining access to additional features like vector search capabilities.
Adds Global Vector index support, unicode tags, and improves memory defragmentation for JSON objects.
- –Support Global Vector index
- –Support unicode tags
- –django-cacheops compatibility fixes
- –better memory defragmentation for json objects
- –actions: Add a volume mount to container
Improvements around tiering stability and replica replication fixes.
- –improvements around tiering stability
- –replica rejects replicating from itself
Critical fix for regression when Dragonfly runs in cache mode - strongly advised to update from 1.34.0/1.34.1.
- –Don't accumulate deleted bytes if there is no RSS eviction
Top in Backend & APIs
Related Repositories
Discover similar tools and frameworks used by developers
Laravel
Full-stack PHP framework with ORM and dependency injection.
Evolution API
Node.js REST API for programmatic WhatsApp control.
PHPMailer
SMTP client and MIME message builder for PHP.
Spring Framework
Comprehensive framework for building enterprise Java applications with infrastructure support.
Ruby on Rails
Convention-driven Ruby framework for full-stack web applications.
Related Reading
Guides and comparisons from the Greptile content library
Best Security-Focused AI Code Review Tools [2026 Guide]
The six best security-focused AI code review tools, compared on SAST, SCA, DAST, and full-repo context, so you can pick the one that fits your codebase and your cycle times.
10 Powerful Code Quality Tools That Catch Bugs Before Deployment
We tested 10 code quality tools that catch bugs before production. Detailed comparison with real-world examples, pricing, and ROI analysis for dev teams.
The 7 Best AI Coding Tools for Complex Codebases
The best AI coding tools for complex codebases, ranked on accuracy, suggestion quality, and full-codebase context. See which ones you can actually trust.
Best CodeRabbit Alternatives for Smarter AI Code Reviews in 2026
7 powerful CodeRabbit alternatives ranked by real dev teams. Feature comparison, pricing analysis, and honest reviews to find your perfect AI code reviewer.