#99th of 102 in Backends, databases and hosting

dragonfly

Multi-threaded in-memory data store compatible with Redis and Memcached APIs

Stars
31.9k
License
custom license
Last commit
Nov 2026
Last release
Nov 2026
Language
C++
Stars, last 29 weeks+1,708
21 Apr 2026: 30,167 stars28 Apr 2026: 30,204 stars5 May 2026: 30,239 stars12 May 2026: 30,265 stars19 May 2026: 30,331 stars26 May 2026: 30,384 stars2 Jun 2026: 30,417 stars9 Jun 2026: 30,456 stars16 Jun 2026: 30,545 stars23 Jun 2026: 30,606 stars30 Jun 2026: 30,656 stars7 Jul 2026: 30,685 stars14 Jul 2026: 30,744 stars21 Jul 2026: 30,778 stars28 Jul 2026: 30,811 stars4 Aug 2026: 30,843 stars11 Aug 2026: 30,884 stars18 Aug 2026: 30,918 stars25 Aug 2026: 30,958 stars1 Sept 2026: 31,085 stars8 Sept 2026: 31,395 stars15 Sept 2026: 31,482 stars22 Sept 2026: 31,620 stars29 Sept 2026: 31,678 stars6 Oct 2026: 31,711 stars13 Oct 2026: 31,758 stars20 Oct 2026: 31,791 stars27 Oct 2026: 31,819 stars3 Nov 2026: 31,843 stars10 Nov 2026: 31,875 stars

30,167 on 21 Apr 202631,875 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Dragonfly is an in-memory data store written in C++ that speaks the Redis and Memcached protocols, so existing clients work without code changes. It uses a shared-nothing, multi-threaded design with VLL-based transactions and a Dash-derived hashtable, plus fork-less snapshotting. About 185 Redis commands (roughly the Redis 5.0 API) and 13 Memcached commands are implemented.

Who it is for: Teams running Redis or Memcached who want more throughput on multi-core servers

Strengths

  • Scales across CPU cores; README reports 3.8M QPS on c6gn.16xlarge versus a single Redis process
  • Fork-less snapshotting; README shows no visible memory growth during bgsave
  • Works with Redis clients; optional Memcached API via --memcached_port
  • HTTP console and Prometheus metrics served on the main port (6379)

Weaknesses

  • Command coverage is about 185 commands, roughly the Redis 5.0 API
  • Key expiry capped at 2^28-1 seconds; expiration behavior differs from Redis in places
  • HTTP console is on by default; disable it if the port is exposed
  • Benchmarks are vendor-run on AWS; README gives no independent results

What it needs

  • no GPU
  • port 6379

Quick answers

Is dragonfly open source?

Its code is public on GitHub under its own license terms; read them before you use it at work.

Also in Backends, databases and hosting

See all 102
Also in Backends, databases and hosting
RankProjectScore
1bunJavaScript and TypeScript runtime with bundler, test runner and package manager96.7k starscustom license93 out of 100
2strapiHeadless CMS that generates REST and GraphQL APIs from content models Live demo ↗ (opens in a new tab)73.5k stars+245 (+0.3%) in 30 dayscustom license92 out of 100
3traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators65.5k stars+446 (+0.7%) in 30 daysMIT92 out of 100
#4appwriteBackend with auth, databases, storage, functions and an MCP server for agents Live demo ↗ (opens in a new tab)58k stars+463 (+0.8%) in 30 daysBSD-3-Clause92 out of 100
#5medusaNode.js commerce platform with modular products, carts, orders and payments37.2k starscustom license92 out of 100