11 open-source alternatives ranked by real activity

Open-source Amazon MemoryDB alternatives

A curated, ranked list of the 11 best open-source alternatives to Amazon MemoryDB.

The best open-source alternative to Amazon MemoryDB is Redis. If that doesn't suit you, other good options are Valkey, Dragonfly, ScyllaDB and Garnet.

Commercial alternatives to Amazon MemoryDB include Amazon ElastiCache, Google Memorystore, Momento and ScaleGrid. See all 14.

Amazon MemoryDB alternatives are mainly databases, but some are also database tools. 8 of them shipped code in the last 30 days, 11 can be self-hosted, and 6 use a permissive licence.

Last updated November 13, 2026 · ranked by GitHub stars, growth and recent commits

Redis

An in-memory data store used as a cache, session store, data structure server, message broker and vector query engine for real-time applications.

GitHub stars
77k
Last commit
yesterday
Latest release
8.10.3
Self-hosted
Yes
Hosted version
Available
redis.ioRedis homepage screenshot

Redis is an in-memory data store that developers use as a cache, a session store, a database and a message broker. Because data lives in memory it answers requests quickly, which makes it popular for real-time applications. The project describes itself as a cache, a data structure server, and a document and vector query engine.

Rather than just strings, it offers data structures such as lists, sets, hashes, sorted sets and JSON, with higher-level patterns built on them, such as counters, queues, leaderboards and rate limiters, plus transactions and scripting. For caching it offers multiple eviction policies along with expiry for keys and for individual hash fields. It also handles key-value, document and time series storage, vector search and messaging. Client libraries cover most languages, and redis-cli and Redis Insight provide command line and graphical access.

The source is on GitHub, written in C, and can be built from source with documented flags for allocators, TLS and more. The license is listed as 'Other' in repository metadata, so check the current terms. Redis can be run on your own servers or consumed as a cloud-hosted service from the vendor.

Key features

  • Rich data types including hashes and sorted sets
  • Caching with eviction and key expiration
  • JSON, time series and document storage
  • Vector search for AI applications
  • Message broker and queue support
  • Transactions and server-side scripting

Pricing: Redis Cloud has a free 30 MB tier. Essentials starts at about $5 per month ($0.007 per hour) and Pro at $0.014 per hour with a $200 monthly minimum, billed on demand.

Read more about RedisWebsiteGitHub#1 Amazon MemoryDB alternative

Valkey

A high-performance, open-source key-value data store forked from Redis before its license change, built for caching and realtime workloads with a module system.

GitHub stars
28k
Last commit
yesterday
Latest release
9.1.3
Licence
BSD-3-Clause
Self-hosted
Yes
valkey.ioValkey homepage screenshot

Valkey is a distributed key-value database optimized for caching and other realtime workloads. It was forked from the open-source Redis project just before Redis moved to source-available licenses, and it continues as a community-driven alternative under the permissive BSD-3-Clause license.

It acts as a data structure server that mainly handles key-value workloads, supporting many native data structures along with an extensible module system for adding new structures and access patterns. The code is written in C and can be compiled with a simple make command on Linux, macOS, OpenBSD, NetBSD and FreeBSD, on both big and little endian and 32 and 64-bit systems. Support for Solaris-derived systems is limited and not guaranteed. TLS needs OpenSSL development libraries and can be built in or as a module.

The README is a quick-start only, with fuller documentation on valkey.io. Valkey is self-run software and is compatible with the Redis ecosystem of clients, so teams use it as a replacement for Redis in caching, session storage and queues when they prefer a fully open-source license.

Key features

  • Distributed key-value data store
  • Native data structures
  • Extensible module system
  • Builds on Linux, macOS and BSD systems
  • TLS support built in or as a module
  • Permissive BSD-3-Clause open-source license

Pricing: Free and open source under the BSD-3-Clause license.

Read more about ValkeyWebsiteGitHub#2 Amazon MemoryDB alternative

Dragonfly

An in-memory data store written in C++ that speaks the Redis and Memcached protocols, using a multi-threaded design to use modern hardware more efficiently.

GitHub stars
32k
Last commit
yesterday
Latest release
v2.1
Self-hosted
Yes
Hosted version
Available
dragonflydb.ioDragonfly homepage screenshot

Dragonfly is an in-memory data store designed for modern application workloads and positioned as a replacement for Redis and Memcached. It implements the Redis and Memcached APIs, so existing applications and client libraries can point at it without code changes.

Unlike the single-threaded design of classic Redis, Dragonfly is multi-threaded and built around fibers, which lets one instance use many CPU cores. The project reports much higher throughput, better cache hit rates with lower tail latency and up to 80 percent fewer resources for a workload of the same size, with benchmarks against Redis on cloud instances in its documentation. Topics also link it to caching, key-value storage, message brokering and the Valkey and KeyDB ecosystems. Documentation covers a quick start, configuration, design decisions and building from source.

Dragonfly's license is listed as 'Other' on GitHub, so check the terms before using it in a commercial product. You can run it on your own servers or through Dragonfly Cloud, the company's hosted service, and a guide for AI agents is provided for tooling integration.

Key features

  • Compatible with Redis and Memcached APIs
  • Multi-threaded, fiber-based architecture
  • Drop-in adoption without code changes
  • Caching, key-value and message broker uses
  • Published benchmarks against Redis
  • Managed Dragonfly Cloud option

Pricing: Dragonfly Cloud Flex starts at $36 per month and Business at $2,000 per month. Self-Managed enterprise deployments are quoted on request; Flex has a free trial.

Read more about DragonflyWebsiteGitHub#3 Amazon MemoryDB alternative

ScyllaDB

A high-throughput C++ NoSQL database on the Seastar framework that speaks the Apache Cassandra and Amazon DynamoDB APIs.

GitHub stars
16k
Last commit
today
Self-hosted
Yes
Hosted version
Available
scylladb.comScyllaDB homepage screenshot

ScyllaDB is a NoSQL database that implements the Apache Cassandra and Amazon DynamoDB APIs, so existing applications and drivers for those systems can talk to it. It is written in C++ on the Seastar framework and is aimed at real-time big data workloads that need high throughput and predictable latency.

The project describes a shared-nothing approach in which each CPU core manages its own slice of data, which it says increases throughput and storage capacity per machine and cuts hardware costs. Building the database is demanding: it needs a very recent C++23 compiler and many up-to-date libraries, so the project offers a frozen toolchain as a pre-configured Docker image that includes everything required. You then only need Docker or Podman to compile it.

The repository's license is listed as 'Other' on GitHub, so confirm the current terms before using it commercially. You can run ScyllaDB on your own servers or consume it as a managed cloud service from the company. It suits teams that have outgrown Cassandra's resource footprint or want a DynamoDB-compatible database they can run themselves.

Key features

  • Compatible with the Cassandra API
  • Compatible with the DynamoDB API
  • Shared-nothing architecture on Seastar
  • C++ implementation for high throughput
  • Frozen Docker toolchain for building
  • Self-hosted or managed cloud

Pricing: ScyllaDB Cloud comes in Standard, Professional and Premium tiers with no list prices on the page; Standard is costed with an online calculator and the other two by quote. A self-managed edition is also listed.

Read more about ScyllaDBWebsiteGitHub#4 Amazon MemoryDB alternative

Garnet

Microsoft Research cache-store that speaks the Redis protocol, offering clustering, replication and persistence on a cross-platform .NET base.

GitHub stars
12k
Last commit
yesterday
Latest release
v2.2.10
Licence
MIT
Self-hosted
Yes
Hosted version
Available
microsoft.github.ioGarnet homepage screenshot

Garnet is a remote cache-store from Microsoft Research. It adopts the RESP wire protocol, the one used by Redis, so existing Redis clients in most programming languages can talk to it without modification. That makes it a candidate for applications that already depend on Redis clients but want a different server implementation.

The project describes strong throughput and low latency, plus scalability, storage beyond memory, recovery, cluster sharding, key migration and replication. Newer previews add vector sets, offering approximate nearest-neighbor search backed by the DiskANN algorithm and the Tsavorite storage engine, and a range index for secondary lookups. Garnet is built on .NET and works on both Linux and Windows.

The code is written in C# and released under the MIT license, with documentation at microsoft.github.io/garnet. People who prefer not to operate it themselves can use Azure Cosmos DB Garnet Cache, which offers Garnet as a managed caching service. The repository contains everything needed to build and run the server.

Key features

  • Works with unmodified Redis clients via RESP
  • Cluster sharding with key migration
  • Replication and recovery support
  • Storage larger than memory
  • Vector sets preview using DiskANN
  • Cross-platform .NET implementation

Pricing: Free and open source under the MIT license; a managed option is offered as Azure Cosmos DB Garnet Cache.

Read more about GarnetWebsiteGitHub#5 Amazon MemoryDB alternative

RedisInsight

Redis Insight is a visual developer tool from Redis for browsing, querying and optimizing Redis data, with a workbench, profiler and slow log analysis.

GitHub stars
8.9k
Last commit
2 days ago
Latest release
3.8.0
redis.ioRedisInsight homepage screenshot

Redis Insight is a graphical client for Redis, published by Redis. It helps developers design, build and tune applications by letting them browse, filter and visualize key-value data and view values in formats such as JSON, Hex and ASCII.

It offers create, read, update and delete support for lists, hashes, strings, sets, sorted sets, streams and JSON, plus management of vector sets, including similarity search. A Workbench provides a command-line interface with command auto-complete, while Profiler shows commands sent to Redis in real time and SlowLog highlights slow operations. Pub/Sub support, bulk deletion by filter and in-context recommendations for performance and memory use round out the tool, along with interactive tutorials.

The application is built with Electron, the Monaco editor and Node.js, and it works with Redis modules. The repository licence is listed as non-standard rather than a common open-source licence, so check the repository for the exact terms before redistributing.

Key features

  • Browse and filter Redis keys visually
  • CRUD for core data types and JSON
  • Vector set creation and similarity search
  • Workbench with command auto-complete
  • Real-time command profiler
  • SlowLog analysis and Pub/Sub support
Read more about RedisInsightWebsiteGitHub#6 Amazon MemoryDB alternative

Kvrocks

Apache Kvrocks is a distributed key-value NoSQL database built on RocksDB that speaks the Redis protocol.

GitHub stars
4.5k
Last commit
2 days ago
Latest release
v2.17.0
Licence
Apache-2.0
kvrocks.apache.orgKvrocks homepage screenshot

Apache Kvrocks is a distributed key value NoSQL database that uses RocksDB as its storage engine and is compatible with the Redis protocol. Existing Redis clients are therefore the way to talk to it. It is an Apache Software Foundation project and uses the Apache-2.0 licence.

Namespaces work like Redis SELECT but add a token per namespace. Replication is asynchronous and uses a binlog in the way MySQL does. For failover, it supports Redis Sentinel when a master or replica fails.

Cluster mode is managed centrally but is accessible through any Redis cluster client. The site links to getting-started documentation, a list of supported commands, a controller repository, a blog and community channels such as Zulip and a mailing list.

Key features

  • RocksDB storage engine with Redis protocol compatibility
  • Namespaces with a token for each namespace
  • Asynchronous replication using a MySQL-style binlog
  • Redis Sentinel failover support
  • Cluster mode usable with any Redis cluster client
Read more about KvrocksWebsiteGitHub#7 Amazon MemoryDB alternative

Memcached

Multithreaded, event-driven in-memory key/value cache used to speed up distributed applications by keeping hot data in RAM.

GitHub stars
14k
Last commit
2 mo ago
Licence
BSD-3-Clause
Self-hosted
Yes
memcached.orgMemcached homepage screenshot

Memcached is an in-memory key/value cache store designed for distributed systems. Applications place frequently read data, such as query results or rendered fragments, in memory so they can skip slower backends. It is a long-established building block of web infrastructure and is released as open source under the BSD-3-Clause license.

The server is written in C, uses multiple threads and an event-based design built on libevent, and keeps its interface simple. Optional build features include TLS support through OpenSSL, process restrictions on Linux through libseccomp, and an experimental proxy mode. It can be compiled from a release tarball or from the git repository using the standard autotools workflow.

The project provides documentation on its website, including a tutorial, a wiki and a guide for diagnosing timeouts and odd behavior. Questions are handled through a mailing list rather than GitHub issues. Because it is a cache, operators typically run it on dedicated machines and avoid swapping when large memory is allocated.

Key features

  • In-memory key/value storage for caching
  • Multithreaded, event-based server in C
  • Optional TLS support via OpenSSL
  • Optional libseccomp process restrictions on Linux
  • Experimental proxy mode
  • Builds from tarball or git source

Pricing: Free and open source under the BSD-3-Clause license.

Read more about MemcachedWebsiteGitHub#8 Amazon MemoryDB alternative

Apache Ignite

Apache Ignite is a clustered in-memory database and data grid with optional disk persistence and SQL support, built for high-performance workloads.

GitHub stars
5.1k
Last commit
today
Licence
Apache-2.0
Self-hosted
Yes
ignite.apache.orgApache Ignite homepage screenshot

Apache Ignite is a clustered database aimed at high-performance computing, running at the speed of memory. It can act as a data grid, cache and SQL database across a cluster, which suits workloads that need low-latency access to large datasets. This repository contains Ignite 2, while Ignite 3 lives in a separate repository, and both are actively developed.

Its multi-tier storage design treats RAM, disks and Intel Optane as separate layers that can all hold live data. The memory tier holds data in DRAM or Optane in memory mode, and the disk tier is optional, offering persistence either in an external database or in Ignite's own storage. Client APIs are available for Java, .NET and C++, and repository topics mention distributed SQL, in-memory computing, Hadoop and IoT.

Ignite is an Apache Software Foundation project under Apache-2.0 and written in Java. You deploy it on your own servers or Kubernetes clusters. It suits teams building data-intensive services that need fast reads and writes, transactions and SQL together.

Key features

  • In-memory distributed database
  • Multi-tier storage with memory and disk
  • Distributed SQL queries
  • Caching and data grid capabilities
  • APIs for Java, .NET and C++
  • Optional persistence of data

Pricing: Free and open source under the Apache-2.0 license.

Read more about Apache IgniteWebsiteGitHub#9 Amazon MemoryDB alternative

DiceDB

A key-value store forked from Valkey that stays compatible with Redis tooling and adds a spill module for persisting evicted keys to disk.

GitHub stars
11k
Last commit
6 mo ago
Latest release
1.0.0
Self-hosted
Yes
dicedb.ioDiceDB homepage screenshot

DiceDB is an open-source, low-latency key-value engine built as a fork of Valkey, which is itself a fork of Redis. It aims to stay fully compatible with Valkey and Redis tooling and client libraries, so existing applications and SDKs can talk to it, while extending the base server with extra capabilities.

The main addition described in the README is dicedb-spill, a module that transparently writes evicted keys to disk and restores them on cache misses. This lets a working set exceed the memory budget, and by default the module uses RocksDB with a configurable memory limit. The project notes that features from its earlier Go-based engine, which focused on reactivity and throughput, will gradually be ported over.

DiceDB is written in C and supports Linux, macOS and several BSD systems on 32-bit and 64-bit hardware. The quickest way to try it is the official Docker image, which comes preconfigured with the spill module enabled, and it can also be built from source. Because it is software you run yourself, it suits developers who want a Redis-compatible cache or store with disk-backed overflow.

Key features

  • Fork of Valkey with Redis compatibility
  • Spill module persisting evicted keys to disk
  • RocksDB-backed overflow storage
  • Configurable memory and spill limits
  • Official Docker image for quick start
  • Builds on Linux, macOS, and BSD systems
Read more about DiceDBWebsiteGitHub#10 Amazon MemoryDB alternative

1 more Amazon MemoryDB alternative

Commercial Amazon MemoryDB alternatives

Hosted, closed-source products that compete with Amazon MemoryDB. Showing 12 of 14.

See every Amazon MemoryDB alternative on its tool page

Amazon MemoryDB alternatives: questions

What is the best open-source alternative to Amazon MemoryDB?
Redis is the top-ranked open-source alternative to Amazon MemoryDB on Enlisted: An in-memory data store used as a cache, session store, data structure server, message broker and vector query engine for real-time applications. Other strong options are Valkey, Dragonfly, ScyllaDB and Garnet.
What are the best commercial alternatives to Amazon MemoryDB?
Amazon ElastiCache, Google Memorystore, Momento, ScaleGrid and Upstash are among the hosted, closed-source alternatives to Amazon MemoryDB listed on Enlisted, which lists 14 in total. Compare their pricing and features on each tool page.
Are these Amazon MemoryDB alternatives free?
All 11 are open source, so the code is free to use under its licence, and all of them can be self-hosted on your own server or computer. 4 also offer a paid or managed cloud version if you'd rather not host it yourself.
How is this list of Amazon MemoryDB alternatives ranked?
By a score built from GitHub stars, star growth over the last 30 days and how recently the code changed. 8 of these projects shipped code in the last 30 days. Data is refreshed daily, and nobody can pay to move up.

People also look for alternatives to…

View all