- Databases›
- Amazon MemoryDB›
- Features
Amazon MemoryDB features
Valkey and Redis OSS compatibility
Open allValkey and Redis OSS are fast, open source, in-memory, key-value data stores. Developers use Valkey and Redis OSS to achieve sub-millisecond response times, enabling millions of requests per second for real-time applications in industries like gaming, ad tech, financial services, healthcare, and IoT.
Valkey and Redis OSS offer flexible APIs, commands, and data structures like streams, sets, and lists, to build agile and versatile applications. MemoryDB maintains compatibility with Valkey and Redis OSS and supports the same set of Valkey and Redis OSS data types, parameters, and commands that you are familiar with. This means that the code, applications, drivers, and tools you already use today with Valkey and Redis OSS can be used with MemoryDB, so you can quickly build applications.
Ultra-fast performance
Open allMemoryDB stores your entire dataset in memory to deliver microsecond read latency, single-digit millisecond write latency, and high throughput. This latency and throughput is also supported by MemoryDB. MemoryDB can handle more than 13 trillion requests per day and support peaks of 160 million requests per second. Developers building with microservices architectures require ultra-high performance, as these applications can involve interactions with many service components per user interaction or API call. With MemoryDB, you allow extreme low latency to deliver real-time performance for end users.
MemoryDB includes Enhanced IO Multiplexing, which delivers significant improvements to throughput and latency at scale. Enhanced IO Multiplexing is ideal for throughput-bound workloads with multiple client connections, and its benefits scale with the level of workload concurrency. As an example, when using r6g.4xlarge node and running 5,200 concurrent clients, you can achieve up to 46% increased throughput (read and write operations per second) and up to 21% decreased P99 latency, compared with MemoryDB version 6 compatible with Redis OSS. For these types of workloads, a node's network IO processing can become a limiting factor in the ability to scale.
With Enhanced IO Multiplexing, each dedicated network IO thread pipelines commands from multiple clients into the Valkey and Redis OSS engines, taking advantage of Valkey and Redis OSS' ability to efficiently process commands in batches.
Multi-AZ durability
Open allIn addition to storing your entire data set in memory, MemoryDB uses a distributed transactional log to provide data durability, consistency, and recoverability. MemoryDB stores data across multiple AZs so you can achieve fast database recovery and restart. You can use MemoryDB as a single, primary database service for your workloads requiring low-latency and high throughput instead of separately managing a cache for speed and an additional relational or nonrelational database for reliability.
Scalability
Open allYou can scale your MemoryDB cluster to meet fluctuating application demands: horizontally by adding or removing nodes or vertically by moving to larger or smaller node types. MemoryDB supports write scaling with sharding and read scaling by adding replicas. Your cluster continues to stay online and support read and write operations during resizing operations.
MemoryDB Multi-Region is a fully-managed, active-active, multi-Region database for customers to build applications with up to 99.999% availability and microsecond read and single digit millisecond write latencies. It improves your applications’ multi-Region resiliency and should be considered part of your organization’s business continuity strategy.
MemoryDB Multi-Region offers active-active replication so you can serve reads and writes locally from the Regions closest to your customers with microsecond read and single-digit millisecond write latency. It asynchronously replicates data between Regions and data is propagated within a second typically. MemoryDB Multi-Region automatically resolves update conflicts and corrects data divergence issues, so you can focus on your application.
MemoryDB Multi-Region works with existing MemoryDB features with the exclusion of data tiering and vector search. Learn more in MemoryDB Multi-Region documentation.
Fully managed
Open allGetting started with MemoryDB is easy. Just launch a new MemoryDB cluster using the AWS Management Console, or you can use the AWS CLI or SDK. MemoryDB database instances are preconfigured with parameters and settings appropriate for the node type selected. You can launch a cluster and connect your application within minutes without additional configuration.
MemoryDB provides Amazon CloudWatch metrics for your database instances. You can use the console to view over 35 key operational metrics for your cluster including compute, memory, storage, throughput, active connections, and more.
MemoryDB automatically keeps your clusters up-to-date with new updates, and you can easily upgrade your clusters to the latest versions of Valkey and Redis OSS.
Security
Open allMemoryDB runs in