vs

Dragonfly vs Memcached

Dragonfly: A multi-threaded, shared-nothing in-memory store that speaks Redis and Memcached on one big box. Memcached: The original multi-threaded, dead-simple distributed memory cache for key-value blobs.

key differences

  • Licensing: Dragonfly is source-available (Business Source License 1.1); Memcached is open source (permissive) (BSD 3-Clause).
  • Memcached is built for larger datasets (≤ 1 PB) than Dragonfly (≤ 10 TB).
  • Horizontal scaling is native in Dragonfly and manual in Memcached.
  • Transactions: Dragonfly offers limited ACID; Memcached offers none.
  • Only Dragonfly has transactions, secondary indexes, full-text search, vector search, geospatial.

choose dragonfly for

  • +Consolidating many Redis shards onto fewer large instances
  • +High-throughput caching and session storage
  • +BullMQ / Sidekiq style queue backends
  • +Replacing Memcached and Redis with one engine

best at · Cache, Sessions, Queue

choose memcached for

  • +Read-through caching of database query results
  • +Rendered page and fragment caching
  • +Session storage when losing sessions is acceptable
  • +Very large, horizontally sharded look-aside cache tiers

best at · Cache, Sessions

overview
Primary model
Key-Value
Key-Value
Also supports
Document, Vector, Search Engine
–
Type
Database engine
Database engine
Status
Active
Active
Developer
DragonflyDB Ltd.
Memcached community (originally Danga Interactive)
First release
2022
2003
Latest version
2.0.2 (Oct 7, 2026)
1.6.45 (Jul 9, 2026)
License
Source-availableBusiness Source License 1.1
Open source (permissive)BSD 3-Clause
Free tier
✓
✓
popularity
WhichDB Score
20.7
50.6
Rank
#150
#25
GitHub stars
31.8K
14.3K
Stack Overflow questions
–
5.2K
scale & guarantees
Comfortable data size
Medium (≤ 10 TB)
Large (≤ 1 PB)
Horizontal scaling
Native
Manual
Multi-region
Read replicas
None
ACID
Limited
None
Consistency
Eventual
Eventual
Schema
Schemaless
Schemaless
Architecture
In memory, Single node, Primary replica, Client server
In memory, Single node, Client server
deployment
Self-hosted
✓
✓
Vendor-managed cloud
✓
—
Serverless
—
—
Embedded
—
—
Edge
—
—
Clouds
AWS, Google Cloud, Azure
AWS, Google Cloud, Alibaba Cloud, Tencent Cloud
capabilities
Transactions
✓
—
Joins
—
—
Secondary indexes
✓
—
Full-text search
✓
—
Vector search
✓
—
Geospatial
✓
—
JSON
✓
—
Change data capture
—
—
Triggers
—
—
Stored procedures
✓
—
Materialized views
—
—
TTL / expiry
✓
✓
Pub/Sub
✓
—
Columnar storage
—
—
In-memory
✓
✓
Durable persistence
✓
—
Compression
—
—
Encryption at rest
—
—
Role-based access
✓
—
Time travel
—
—
Branching
—
—
Online schema changes
—
—
Streaming ingest
✓
—
Offline sync
—
—
Runs in WebAssembly
—
—
interfaces
Query languages
Redis commands (RESP), Memcached protocol, Lua
Memcached text/meta protocol
Client languages
Python, Java, JavaScript, Go, C#, Rust, Ruby, PHP
C, Java, Python, PHP, Go, JavaScript, Ruby, C#
Best for
Cache, Sessions, Queue, Pub/Sub
Cache, Sessions

Dragonfly vs Memcached: FAQ

What is the difference between Dragonfly and Memcached?

Dragonfly: A multi-threaded, shared-nothing in-memory store that speaks Redis and Memcached on one big box. Memcached: The original multi-threaded, dead-simple distributed memory cache for key-value blobs. Licensing: Dragonfly is source-available (Business Source License 1.1); Memcached is open source (permissive) (BSD 3-Clause). Memcached is built for larger datasets (≤ 1 PB) than Dragonfly (≤ 10 TB). Horizontal scaling is native in Dragonfly and manual in Memcached.

When should I choose Dragonfly over Memcached?

Choose Dragonfly for consolidating many Redis shards onto fewer large instances; high-throughput caching and session storage; and BullMQ / Sidekiq style queue backends. Choose Memcached for read-through caching of database query results; rendered page and fragment caching; and session storage when losing sessions is acceptable.

Is Dragonfly or Memcached more popular?

Memcached ranks #25 on the WhichDB Score (50.6/100) and Dragonfly ranks #150 (20.7/100). Popularity is not fit: check the requirements that matter for your project.

Are Dragonfly and Memcached open source?

Not in the OSI sense. Dragonfly is source-available: you can read the code, but the license restricts some uses, typically offering it as a competing managed service. License: Business Source License 1.1. Yes. Memcached is open source. License: BSD 3-Clause.