Related services
When deciding whether to use ElastiCache (Redis OSS) or MemoryDB consider the following comparisons:
ElastiCache (Redis OSS) is a service that is commonly used to cache data from other databases and data stores using Redis OSS. You should consider ElastiCache (Redis OSS) for caching workloads where you want to accelerate data access with your existing primary database or data store (microsecond read and write performance). You should also consider ElastiCache (Redis OSS) for use cases where you want to use the Redis OSS data structures and APIs to access data stored in a primary database or data store.
MemoryDB is a durable, in-memory database for workloads that require an ultra-fast, primary database. You should consider using MemoryDB if your workload requires a durable database that provides ultra-fast performance (microsecond read and single-digit millisecond write latency). MemoryDB may also be a good fit for your use case if you want to build an application using Redis OSS data structures and APIs with a primary, durable database. Finally, you should consider using MemoryDB to simplify your application architecture and lower costs by replacing usage of a database with a cache for durability and performance.
ElastiCache (Redis OSS) can help you save database costs by storing frequently accessed data in a cache. If your application has high read throughput requirements, you can achieve high scale, fast performance, and lowered data storage costs by using ElastiCache, instead of scaling your underlying database.