Database
CoreAmazon MemoryDB
Durable in-memory database for fast key-value access with Valkey and Redis OSS compatibility.
Key points
- MemoryDB provides durable in-memory key-value access with Valkey and Redis OSS compatibility.
- Its value is durable low-latency application state, not merely adding a disposable cache in front of another store.
Best-known use cases
- Serve durable, low-latency reference data to real-time pipelines.
- Maintain fast application state with Valkey or Redis OSS compatibility.
What candidates often confuse it with
- MemoryDB is a durable in-memory database; DynamoDB is a managed key-value store with a different access and latency model.
Key takeaway
Choose MemoryDB when a pipeline needs durable Valkey- or Redis-compatible state with very low-latency access.
Relevant exam tasks
- D2.1 — Task 2.1: Choose a data store
- 2.1.3 — Apply storage services to appropriate use cases (for example, using indexing algorithms like Hierarchical Navigable Small Worlds [HNSW] with Amazon Aurora PostgreSQL and using Amazon MemoryDB for fast key/value pair access).