# Dragonfly

Dragonfly cache and key\-value software with documented persistence and substitution limits\.

ID: Q1167 · Revision: 1215

Type: software · License: Business Source License 1\.1 with Additional Use Grant and version\-specific Apache\-2\.0 conversion[^dragonfly-license] · Status: active

Website: https://www.dragonflydb.io/



Dragonfly is an in\-memory datastore designed around a multithreaded, shared\-nothing architecture\. It implements Redis and Memcached interfaces for application caching and data\-structure workloads\. It is source\-available software with licensing and operational behavior that need evaluation separately from the familiarity of its client interfaces\.[^dragonfly-readme][^dragonfly-license]

## Command compatibility

The current compatibility table explicitly describes command\-surface support, not byte\-for\-byte identical behavior\. Some commands and options remain partial or unsupported: examples include missing options in client tracking and search commands\. The table is stronger evidence for a migration assessment than the broader marketing claim of complete compatibility\. Applications need checks against the commands and options they actually use\.[^dragonfly-api]

## Persistence and recovery

Dragonfly documents scheduled and manual snapshots and automatic loading from configured storage\. Its default snapshot format is Dragonfly's own format, while specified versions can also load particular Redis\-family snapshots\. The separate AOF documentation states that append\-only logging is not supported\. Workloads relying on Redis AOF durability therefore need a different recovery design rather than assuming command compatibility preserves persistence semantics\.[^dragonfly-backup][^dragonfly-aof]

## Documented limits

The limitations page specifies bounds on string values, argument sizes, collection counts and expiration ranges\. For example, string values are limited to 256 MB, and very large TTL values are reduced to the supported range\. These limits can matter even when an application uses otherwise supported commands; a small functional sample is not evidence that every production value fits\.[^dragonfly-limits]

## Source availability and use grant

The inspected license is Business Source License 1\.1, with an additional grant bounded by product and service conditions, including restrictions on competing in\-memory datastore services\. Conversion to Apache 2\.0 is version\-specific under the license's change\-date mechanism\. It should therefore not be described as currently Apache licensed across all releases or as an unrestricted permissive replacement merely because source is publicly accessible\.[^dragonfly-license]

## Substitution considerations

Dragonfly can substitute for [Redis Open Source](/redis) for caching and data\-structure tasks covered by its supported command surface\. That assessment excludes assumed AOF parity and requires checking behavioral details, value sizes and the applicable use grant\. Vendor benchmarks may motivate evaluation, but no workload benchmark was performed here and no universal speed or cost advantage is claimed\.[^dragonfly-api][^dragonfly-aof][^dragonfly-limits][^redis-types]

## Capabilities and substitutions

### Redis command compatibility — limited

Command table contains partial and unsupported options and does not promise identical behavior\.[^dragonfly-api]

Use case: Application caching and key\-value operations · Platforms: Self\-hosted servers, Containers · Region: Deployment, release, command and persistence requirements apply

### Append\-only file persistence — unsupported

Current Dragonfly documentation explicitly states AOF is unsupported\.[^dragonfly-aof]

Use case: Application caching and key\-value operations · Platforms: Self\-hosted servers, Containers · Region: Deployment, release, command and persistence requirements apply

### [Substitute for Redis Open Source](/redis) — limited

Assessment: substitutes only for covered commands and acceptable persistence behavior; AOF parity and unrestricted licensing are not established\.[^dragonfly-license][^dragonfly-api][^dragonfly-aof][^redis-types]

Use case: Compatible caching and data\-structure operations · Platforms: Self\-hosted servers, Containers · Region: Deployment, release, command and persistence requirements apply

## References

[^dragonfly-license]: [dragonfly license](<https://github.com/dragonflydb/dragonfly/blob/main/LICENSE.md>) — Applicable license terms and version scope (vendor; retrieved 2026-10-07T02:15:36Z)

[^dragonfly-readme]: [dragonfly project overview](<https://github.com/dragonflydb/dragonfly/blob/main/README.md>) — Project scope, deployment and data structure capabilities (vendor; retrieved 2026-10-07T02:15:27Z)

[^dragonfly-api]: [Dragonfly API compatibility](<https://www.dragonflydb.io/docs/command-reference/compatibility>) — Command\-surface support is not identical behavior; partial and missing subcommands (vendor; retrieved 2026-10-07T02:16:01Z)

[^dragonfly-backup]: [Dragonfly backups](<https://www.dragonflydb.io/docs/managing-dragonfly/backups>) — Snapshot formats, automatic loading and versioned Valkey RDB support (vendor; retrieved 2026-10-07T02:16:17Z)

[^dragonfly-aof]: [Dragonfly AOF support](<https://www.dragonflydb.io/docs/managing-dragonfly/aof>) — Current documentation explicitly says AOF is unsupported (vendor; retrieved 2026-10-07T02:16:31Z)

[^dragonfly-limits]: [Dragonfly known limitations](<https://www.dragonflydb.io/docs/managing-dragonfly/known-limitations>) — String and argument sizes, key counts and TTL bounds (vendor; retrieved 2026-10-07T02:16:31Z)

[^redis-types]: [Redis data types](<https://redis.io/docs/latest/develop/data-types/>) — Native collections, caching, streams and extension mechanisms (vendor; retrieved 2026-10-07T02:18:59Z)

Source revision: https://substitutefor.net/entities/Q1167?revision=1215
