{"full_name":"dragonflydb/dragonfly","owner":"dragonflydb","name":"dragonfly","shard":"1","url":"https://github.com/dragonflydb/dragonfly","description":"A modern replacement for Redis and Memcached","homepage":"https://www.dragonflydb.io/","topics":["memcached","multi-threading","redis","cpp","fibers","cache","database","in-memory","in-memory-database","key-value","keydb","message-broker","nosql","valkey","vector-search"],"tag_pages":["cache","cpp","database","in-memory","key-value","nosql","redis","vector-search"],"language":"C++","license":"NOASSERTION","avatar":"https://avatars.githubusercontent.com/u/104819355?v=4","created_at":"2021-12-11T10:00:42Z","pushed_at":"2026-11-15T09:20:08Z","metrics":{"stars":31875,"forks":1294,"watchers":169,"issues":2550,"prs":5948,"releases":124,"issues_open":156,"issues_closed":2394,"prs_open":62,"prs_closed":644,"prs_merged":5242,"discussions":211},"growth":{"day":{"stars":4,"forks":0,"base_day":"2026-11-15"},"week":{"stars":34,"forks":0,"base_day":"2026-11-04"},"month":{"stars":94,"forks":15,"base_day":"2026-10-17"}},"history":{"dates":["2026-09-13","2026-09-14","2026-09-15","2026-09-16","2026-09-17","2026-09-18","2026-09-19","2026-09-20","2026-09-21","2026-09-22","2026-09-23","2026-09-24","2026-09-25","2026-09-26","2026-09-27","2026-09-28","2026-09-29","2026-09-30","2026-10-01","2026-10-02","2026-10-03","2026-10-04","2026-10-05","2026-10-06","2026-10-07","2026-10-08","2026-10-09","2026-10-10","2026-10-11","2026-10-12","2026-10-13","2026-10-14","2026-10-15","2026-10-16","2026-10-17","2026-10-18","2026-10-19","2026-10-20","2026-10-21","2026-10-22","2026-10-23","2026-10-24","2026-10-25","2026-10-26","2026-10-27","2026-10-28","2026-10-29","2026-10-30","2026-10-31","2026-11-01","2026-11-02","2026-11-03","2026-11-04","2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[31145,31226,31321,31396,31420,31450,31457,31465,31478,31482,31493,31517,31530,31550,31572,31600,31614,31642,31656,31668,31675,31680,31687,31710,31723,31733,31736,31743,31747,31749,31755,31760,31766,31773,31781,31781,31783,31781,31787,31789,31798,31804,31816,31816,31816,31816,31824,31826,31829,31831,31834,31844,31841,31856,31877,31887,31885,31868,31871,31875],"forks":[1241,1244,1252,1253,1255,1257,1256,1258,1258,1259,1262,1263,1262,1262,1263,1264,1265,1265,1266,1266,1268,1269,1270,1270,1271,1273,1275,1276,1276,1276,1278,1278,1278,1279,1279,1279,1280,1281,1281,1282,1283,1285,1285,1287,1287,1288,1291,1292,1292,1292,1294,1295,1294,1293,1293,1294,1294,1294,1294,1294],"watchers":[170,170,170,170,170,171,171,171,171,171,171,171,171,171,171,171,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,167,167,167,167,168,168,169,169,null,169,169,169,169,169,169],"issues_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,174,162,162,157,157,156],"prs_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,64,65,65,64,63,62]},"boards":{},"same_owner":[],"issues":[{"number":5662,"title":"test_replicaof_reject_on_load","comments":59,"created_at":"2025-08-12T07:04:07Z"},{"number":5625,"title":"Snapshot causes dragonfly fresszing?","comments":42,"created_at":"2025-08-06T08:48:58Z"},{"number":3170,"title":"Software error on replication","comments":36,"created_at":"2024-06-12T16:30:39Z"},{"number":2824,"title":"FR: Allow setting amount of snapshots (logrotate for snapshots)","comments":16,"created_at":"2024-04-02T14:23:55Z"},{"number":8226,"title":"Rapid increase in psync_buffer_bytes causing high memory usage","comments":12,"created_at":"2026-09-03T12:01:21Z"},{"number":7652,"title":"Design: Memory efficient OAH Entry Encoding for OAHSet","comments":12,"created_at":"2026-06-19T16:40:59Z"},{"number":3000,"title":"Repositories for Linux distributions install","comments":12,"created_at":"2024-05-02T09:28:32Z"},{"number":303,"title":"Are there support memcached binary protocols?","comments":12,"created_at":"2022-09-16T04:58:53Z"}],"discussions":[{"number":8793,"title":"New license 100 vCPU limit","comments":1,"category":"Q&A","created_at":"2026-11-11T14:50:08Z"},{"number":8744,"title":"v2.1","comments":0,"category":"Announcements","created_at":"2026-11-04T16:10:58Z"},{"number":8331,"title":"v2.0.0","comments":0,"category":"Announcements","created_at":"2026-09-16T10:29:29Z"},{"number":8261,"title":"Issue: HINCRBY commands taking 10–30 ms despite low memory usage","comments":2,"category":"General","created_at":"2026-09-08T07:00:40Z"},{"number":8166,"title":"Support skipping TLS certificate/hostname verification for S3 snapshot storage (private CA / self-signed endpoints)","comments":0,"category":"Ideas","created_at":"2026-08-25T21:16:34Z"},{"number":7990,"title":"v1.40.0","comments":1,"category":"Announcements","created_at":"2026-08-04T04:46:08Z"},{"number":7693,"title":"docker.dragonflydb.io - docker pull failure","comments":1,"category":"General","created_at":"2026-06-24T16:30:29Z"},{"number":7549,"title":"v1.39.0","comments":0,"category":"Announcements","created_at":"2026-06-09T10:38:58Z"}],"latest_release":{"name":"v2.1","tag":"v2.1","published_at":"2026-11-04T16:10:57Z","body":"# Dragonfly v2.1\r\n\r\nThis release is important because starting from this version, it changes how teams can use our software in production.\r\nStarting from v2.1.0 the project moves from BUSL-1.1 to the Dragonfly Source-Available License (DSAL).\r\n\r\nFor more details, please read https://www.dragonflydb.io/blog/introducing-dragonfly-enterprise\r\n\r\nBesides this much of the work is hardening. ACL enforcement is stricter, credentials are redacted from logs, and many crashes and deadlocks are fixed across blocking commands, tiered storage, Lua and search. Search gains index aliases, multi-attribute fields and punctuation-aware queries. There is also an experimental append-only-file (AOF) persistence mode, and a number of throughput and memory improvements.\r\n\r\n## Highlights\r\n- Dragonfly's licence changes from BSL 1.1 to DSAL, starting with v2.1 (#8739).\r\n- The RESP IoLoopV2 is now enabled by default (#8576).\r\n- Search gains FT.ALIAS* commands, alias-aware queries and multiple attributes per field (#8556, #8649, #8604).\r\n\r\n## Commands\r\n- Without `--bind`, Dragonfly now listens on `::` on dual-stack hosts, serving IPv4 and IPv6 from one listener (#8682).\r\n- Added `CLIENT TRACKINGINFO` (#8497).\r\n- Added the `lua_max_stall_ms` flag, which kills Lua scripts that block their thread before writing (#8426).\r\n- Added the `--list_compress_policy` flag. `--list_compress_dict_threshold` is deprecated (#8008).\r\n- `DEBUG OBJHIST` now covers JSON, streams and sketches (#8656).\r\n- Added the `io_threads` and `max_connected_clients_per_thread` Prometheus metrics (#8701).\r\n- INFO `expired_keys` and `evicted_keys` are now cumulative across FLUSHDB/FLUSHALL and reset only by CONFIG RESETSTAT (#8562).\r\n\r\n## Performance\r\n- During replica full sync, writes to buckets the snapshot has not yet reached skip forced early serialization. This now also works with a second replica and for EXPIRE-family commands (#8112).\r\n- `DFLYCLUSTER GETSLOTINFO` collects stats per shard round, with bounded memory (#8715).\r\n- The background sweep that flushes unowned slots after a migration is now throttled (#8641).\r\n- Inline single-shard transactions are faster, with [about 5% fewer cycles and about 8% fewer instructions] (#8609).\r\n- Added the opt-in `--shard_sidekiq_queues` flag so Sidekiq queues and their private queues share a shard (#8642).\r\n- Single-shard BLMOVE/BRPOPLPUSH completes in one hop when data is available (#8638).\r\n- Reduced the CPU overhead of cache-mode bumps (#8589).\r\n- Added `edge_depth` to `--list_compress_policy` (#8334).\r\n- Double formatting now uses dragonbox, [about 1.8–3.6x faster] (#8461).\r\n- OAHTable now shrinks its bucket array automatically (#8454).\r\n- V2 connections now flush replies right after a pipeline squash (#8431).\r\n- V2 parse-loop lookups are cached per parsing segment (#8230).\r\n- MGET and Memcache multi-get return large values zero-copy, and the borrow threshold is lowered to 8KB (#8420).\r\n- CLUSTER SLOTS and CLUSTER SHARDS batch their replies, [from about 7000 socket writes to fewer than 100 for 1024 ranges] (#8390).\r\n- Shard shutdown frees the whole heap in one operation (#8336).\r\n- SCAN now packs returned keys into a single buffer (#8314).\r\n- SCAN expiry checks and key extraction are faster (#8297).\r\n- The journal is turned off automatically on shards where nothing uses it (#8259).\r\n- Faster ASCII string decoding (#8295).\r\n- Tiered storage's external allocator frees pages in O(1) and [halves descriptor RAM from about 128MB to 64MB per TB] (#8527).\r\n\r\n## Replication\r\n- Added Prometheus metrics for snapshot and replica-disconnect state (#8740).\r\n- S3 snapshot upload sockets are now paced to `snapshot_egress_limit_bytes`. Added `--s3_upload_traffic_mark` (#8719).\r\n\r\n## Search\r\n- FT.CREATE now stores the INDEXMISSING, INDEXEMPTY and UNF flags. FT.INFO output is aligned with the reference (#8720).\r\n- FT.ALTER and FT.DROPINDEX accept index aliases (#8683).\r\n- Search commands resolve aliases created with FT.ALIASADD (#8649).\r\n- Added FT.ALIASADD, ","is_prerelease":false},"readme":true,"readme_zh":true,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}