dragonfly VS amzn-drivers

Compare dragonfly vs amzn-drivers and see what are their differences.

dragonfly

A modern replacement for Redis and Memcached (by dragonflydb)

amzn-drivers

Official AWS drivers repository for Elastic Network Adapter (ENA) and Elastic Fabric Adapter (EFA) (by amzn)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
dragonfly amzn-drivers
49 4
23,696 440
5.8% 0.9%
9.9 9.2
5 days ago about 1 month ago
C++ C
BSL 1.1 -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

dragonfly

Posts with mentions or reviews of dragonfly. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-22.
  • Redict is an independent, copyleft fork of Redis
    3 projects | news.ycombinator.com | 22 Mar 2024
    https://github.com/dragonflydb/dragonfly is another option. Not a fork but API-compatible reimplementation.
  • Redis License Changed
    11 projects | news.ycombinator.com | 20 Mar 2024
  • Scaling Real-Time Leaderboards with Dragonfly
    1 project | dev.to | 19 Jan 2024
    Our journey will involve leveraging the capabilities of Dragonfly, a highly efficient drop-in replacement for Redis, known for its ultra-high throughput and multi-threaded share-nothing architecture. Specifically, we'll be utilizing two of Dragonfly's data types: Sorted-Set and Hash. These data structures are perfect for handling real-time data and ranking systems, making them ideal for our leaderboards.
  • Announcing Dragonfly Search
    1 project | dev.to | 7 Dec 2023
    2023 has been a year with remarkable advancements in AI capabilities, and at Dragonfly, we are thrilled to power new use cases with our latest release: Dragonfly Search. This new feature set, debuting in Dragonfly v1.13, is a subset of RediSearch-compatible commands implemented natively in Dragonfly, allowing for both vector search and faceted search use cases in the highly scalable and performant Dragonfly in-memory data store.
  • Dragonfly v1.10.0
    1 project | news.ycombinator.com | 15 Oct 2023
  • Dragonfly Cache Design
    2 projects | dev.to | 18 Jul 2023
    If you have not heard about Dragonfly - please check it out. It uses - what I hope - novel and interesting ideas backed up by the research from recent years [1] and [2]. It's meant to fix many problems that exist with Redis today. I have been working on Dragonfly for the last 7 months and it has been one of the more interesting and challenging projects I've ever done!
  • Generating Income from Open Source
    5 projects | news.ycombinator.com | 15 Jun 2023
    I recently ran across the the license for Dragonfly [1] which has some restrictions (rights reserved), but 5 years after the license date the license switches to Apache 2.0. Basically a timed-limited rights reservation. I don't hate it. I might even contribute to such a project for free.

    I would consider something like this: When I release code, it's rights reserved for 5 years, then open-source (and this baked into an irrevocable license). Anyone may use the software for non-commercial purposes. Anyone may contribute, those who contribute will be granted permission for commercial use if I deem their contributions significant enough. Anyone may distribute the software under these terms.

    If such a model became popular, I have a hard time imagining it could make things any worse. It might even accelerate open-source development. You might say, "but it's not open-source", fair enough, but we can view it as open-source contribution with a delay. For example, if this model became wildely popular this year, and we saw great progress with this model, then come 2028 we would be flooded with new open-source software and ultimately might be better off than it would have been without this model.

    (And this whole thing makes me rethink copyright and patents and how much they really contribute to society. Perhaps they should be shortened?)

    [1]: https://github.com/dragonflydb/dragonfly/blob/main/LICENSE.m...

  • dragonflydb/dragonfly: A modern replacement for Redis and Memcached
    1 project | /r/devel | 8 Jun 2023
  • Redis HA on k8s without Sentinel?
    1 project | /r/kubernetes | 26 May 2023
    Maybe check out https://www.dragonflydb.io/ It claims to have a full redis implementation.
  • Dragonfly is about 10x slower than Redis
    1 project | news.ycombinator.com | 24 May 2023

amzn-drivers

Posts with mentions or reviews of amzn-drivers. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-03.
  • Looking for programmer volunteers who want to contribute/learn about low level C++, Linux, Networking, high frequency trading.
    1 project | /r/learnprogramming | 7 Jan 2023
    Amazon (AWS) cloud EC2 instance specific role (Kernel and User space networking, linux OS related). Amazon has it's own network card with it's own linux driver (open source), for user space they use DPDK (open source). https://github.com/amzn/amzn-drivers I've measured the time between calling tcp send in software, and packet leaving the NIC (network card), it is around ~50 microseconds latency, aws also stated in a paper it is around that number. Goals:- Figure out the way to build from source code and load the kernel.- Reduce latency
  • FreeBSD optimizations used by Netflix to serve video at 800Gb/s [pdf]
    2 projects | news.ycombinator.com | 3 Nov 2022
    It means, for example, writing a FreeBSD kernel driver for Elastic Network Adapter (ENA). Both Linux kernel driver and FreeBSD kernel driver is available at https://github.com/amzn/amzn-drivers
  • Dragonflydb – A modern replacement for Redis and Memcached
    20 projects | news.ycombinator.com | 30 May 2022
    Of course, there are.

    I was mostly running on AWS. In terms of hardware, for small packets loadtests most systems are constrained on throughput, i.e. number of packets per second. Some systems saturate on interrupts reaching 100% CPU on all cores and some can not even saturate the CPU and you will see that CPU is at 60% but you can not go beyond some limit. Best systems networkwise are c6gn family types. They are also better than other cloud provide. btw, you mentioned hypervisors... About 8 months ago I opened a bug on AWS Graviton team https://github.com/amzn/amzn-drivers/issues/195 - about performance issue they had on their instances at high throughput. Recently they issued the fix. I suspect it was in their hypervisor.

    In terms of my software I found many performance bugs at those speeds. For example, using a default allocator is a big no. I use mimalloc for uncontended allocations. In general, you can not use mutexes and spinlocks at those speeds. Those will just cripple the system. Sometimes it can be very annoying since you can not rely on a 3rd party library without carefully analyzing its design. For example, I could not use openmetrics c++ library because it was not performant enough. Even to implement a simple counter, say to gather statistics for INFO command becomes an interesting engineering problem:

  • Ask HN: Anybody enabled IOMMU on AWS metal servers?
    1 project | news.ycombinator.com | 26 Oct 2021
    https://doc.dpdk.org/guides/nics/ena.html

    and:

    https://github.com/amzn/amzn-drivers/tree/master/userspace/dpdk/enav2-vfio-patch

    Enabling IOMMU on i3 or c5 metal instances is as easy as adding "iommu=1 intel_iommu=on" to /etc/default/grub followed by update-grub, reboot.

    I can't get this to work. Everything I update grub and reboot I cannot re-connected via ssh. Also EC2 console fails to get good status.

    My config:

    Ubuntu 20.04 stock AWS AMI x86 64-bit

What are some alternatives?

When comparing dragonfly and amzn-drivers you can also consider the following projects:

KeyDB - A Multithreaded Fork of Redis

neon - Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, branching, and bottomless storage.

skytable - Skytable is a modern scalable NoSQL database with BlueQL, designed for performance, scalability and flexibility. Skytable gives you spaces, models, data types, complex collections and more to build powerful experiences

cachegrand - cachegrand - a modern data ingestion, processing and serving platform built for today's hardware

Redis - Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.

helio - A modern framework for backend development based on io_uring Linux interface

Memcached - memcached development tree

midi-redis - A toy memory store with great performance

Aerospike - Aerospike Database Server – flash-optimized, in-memory, nosql database

webdis - A Redis HTTP interface with JSON output

glommio - Glommio is a thread-per-core crate that makes writing highly parallel asynchronous applications in a thread-per-core architecture easier for rustaceans.

vitess - Vitess is a database clustering system for horizontal scaling of MySQL.