Navigate:
Dragonfly
~$DRAGO0.3%

Dragonfly: Modern in-memory data store

In-memory data store with Redis/Memcached API compatibility and multi-threaded C++.

LIVE RANKINGS • 10:20 AM • STEADY
OVERALL
#191
4
BACKEND & APIS
#9
2
30 DAY RANKING TREND
ovr#191
·Backe#9
STARS
30.1K
FORKS
1.2K
7D STARS
+94
7D FORKS
+7
See Repo:
Share:

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.

Dragonfly

1

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.

2

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.

3

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.



vv1.36.0

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
vv1.35.1

Improvements around tiering stability and replica replication fixes.

  • improvements around tiering stability
  • replica rejects replicating from itself
vv1.34.2

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


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers