Dragonfly - The Fastest In-Memory Data Store

Mai 21, às 05:17


3 min de leitura


1 leituras

New!v1.3.0 just releasedThe most performant in-memory data store on Earth.Dragonfly is a drop-in Redis® replacement that is high-performance, low-complexity, and built for scale. Dragonfly's modern...
Dragonfly - The Fastest In-Memory Data Store

New!v1.3.0 just released

The most performant in-memory data store on Earth.

Dragonfly is a drop-in Redis® replacement that is high-performance, low-complexity, and built for scale. Dragonfly's modern architecture enables it to scale vertically to support millions of requests per second and terabyte-sized workloads, all on a single instance.

Benchmark on AWS r6gn.16xlarge. Snapshot benchmark on AWS c6gn.16xlarge. Source.

Featured Posts

Fully compatible with Redis

Dragonfly is a drop-in Redis replacement, meaning it uses the same APIs and is compatible with all of the same SDKs and tooling. Teams that switch from Redis to Dragonfly get huge performance gains and simpler system to operate, all without changing code.

  • Redis API compatible
  • Snapshotting speed
  • Lua
  • QPS per instance
  • Async core
  • LRFU eviction
  • Memcached API compatible
  • Native Open Telemetry


  • 1260MB/s
  • 5.4.4
  • 3.9M

25X Redis

Better performance

With non-contending, multi-threaded processes, Dragonfly is architected to deliver the performance that modern applications require: millions of operations per second, all from a single instance.

View the benchmarks

Snapshotting speed (MB/ Sec)

QPS benchmark on AWS r6gn.16xlarge. Snapshot benchmark on AWS r6gd.16xlarge.Source


Faster snapshotting than Redis

Scales Vertically

Simplified Operations

Dragonfly is architected to scale vertically on a single machine, saving teams the cost and complexity of managing a multi-node cluster. For in-memory datasets up to 1TB, Dragonfly offers the simplest and most reliable scale on the market.

1 TB

In-memory datasets on a single instance

Unparalleled efficiency

Lower Cost

Dragonfly utilizes unique and innovative algorithms and data structures, including dashtable and denseSet . This makes Dragonfly on average 30% more efficient than Redis, meaning you can achieve the same performance and scale on less hardware, significantly reducing total infrastructure costs. In addition, Dragonfly is much more simple to operate, resulting in a far lower total cost of ownership.

Memory usage under BGSAVE. Filling with 5GB of data using debug populate 5000000 key 1024, sending the update traffic with memtier, and snapshotting with bgsave. Source

Modern Architecture

A new in-memory data store, architected for today

Memory Efficient

While classic chaining hash-tables are built upon a dynamic array of linked-lists, Dragonfly's dashtable is a dynamic array of flat hash-tables of constant size. This design allows for much better memory efficiency.

High Hit Ratio

Dragonfly utilizes a unique 'least frequenty recently used' cache policy. When compared to Redis' LRU cache policy, LFRU is resistant to fluctuations in traffic, does not require random sampling, has zero memory overhead per item, and has a very small run-time overhead.

High Throughput

Dragonfly's new in-memory engine, optimized for throughput, uses a thread-per-core architecture without locks to deliver stable and low latencies. By implementing true async interfaces, Dragonfly takes full advantage of the underlying hardware to deliver maximum performance.

Start building today

Dragonfly is fully compatible with the Redis ecosystem and requires no code changes to implement.

Continue lendo


Authentication system using Golang and Sveltekit - Dockerization and deployments
Introduction Having built out all the features of our application, preparing it for deployment is the next step so that everyone around the world will easily access it. We will deploy our apps (backend and...

Hoje, às 19:52


An API (Application Programming Interface) is a set of rules and protocols that allows different software applications to communicate and interact with each other. It defines the methods, data structures, and...

Hoje, às 19:26

AI | Techcrunch

Investors take note: Wildfire smoke will spark a surge in East Coast climate tech startups
As smoke from Canadian wildfires has enveloped large swathes of the East Coast, millions of people have found themselves trapped inside, gazing out on orange skies and hazy cityscapes. The air quality index —...

Hoje, às 18:08


A Plain English Guide to Reverse-Engineering the Twitter Algorithm with LangChain, Activeloop, and DeepInfra
Imagine writing a piece of software that could understand, assist, and even generate code, similar to how a seasoned developer would. Well, that’s possible with LangChain. Leveraging advanced models such as...

Hoje, às 18:08


Finding Harmony in Marketing and UX
When we think of teamwork in the world of user experience (UX), we often imagine design and engineering working together. However, the idea of design and marketing working together is not as common. While...

Hoje, às 17:02


💡 Where to Find Inspiration for Building Your Next App
The first steps before turning your ideas into code. Whenever I’m trying to think of an idea to build a new application or website and I get stumped on what to do, there’s one phrase that always comes to...

Hoje, às 16:58


How to create 700+ SEO optimised pages for website in 1 h using Next.JS, OpenAI, Postgres
Small intro, I started learning coding couple of months before and since then experimenting with different small side projects. So this I show coding still looks for me:) What did I build this...

Hoje, às 16:37


Angular Project Mongodb database Connect | Angular Website Project | Angular App
Angular Project Mongodb database Connect | Angular Website Project | Angular App - YouTube ​ @softwaretechit Download Our App:- will we Learn In This...

Hoje, às 16:10

AI | Techcrunch

Meta warned it faces 'heavy sanctions' in EU if it fails to fix child protection issues on Instagram
The European Union has fired a blunt warning at Meta, saying it must quickly clean up its act on child protection or face the risk of “heavy sanctions”. The warning follows a report by the Wall Street...

Hoje, às 16:03


Taking Control with PostgreSQL Functions: Closing the Gap to ORM Functionality
Unveiling the Disparity: Understanding the Divide Between Direct Driver and ORM Functionality When it comes to choosing the technologies for developing a backend and manipulating data in a database like...

Hoje, às 16:02