An in-memory key-value store is a NoSQL database optimized for read-heavy application workloads (such as social networking, gaming, media sharing and Q&A portals) or compute-intensive workloads (such as a recommendation engine).  In-memory caching improves application performance by storing critical pieces of data in memory for low-latency access. Cached information may include the results of I/O-intensive database queries or the results of computationally-intensive calculations.

Amazon Web Services (AWS) provides a variety of in-memory key-value database options. You can operate your own non-relational key-value data store in the cloud on Amazon EC2 and Amazon EBS, work with AWS solution providers, or take advantage of fully managed non-relational services.

Get Started with AWS for Free

Create a Free Account

AWS Free Tier offers 25 GB of storage, up to 200 million requests per month with Amazon DynamoDB.

View AWS Free Tier Details »

Amazon ElastiCache is a web service that makes it easy to deploy, operate, and scale an in-memory cache in the cloud. The service improves the performance of web applications by allowing you to retrieve information from fast, managed, in-memory caches, instead of relying entirely on slower disk-based databases.

Amazon ElastiCache automatically detects and replaces failed nodes, reducing the overhead associated with self-managed infrastructures and provides a resilient system that mitigates the risk of overloaded cloud databases, which slow website and application load times. Through integration with Amazon CloudWatch, Amazon ElastiCache provides enhanced visibility into key performance metrics associated with your Memcached or Redis nodes.

ElastiCache supports two open-source in-memory caching engines. For more information, see the Amazon ElastiCache detail page »

Memcached a widely adopted memory object caching system. ElastiCache for Memcached is protocol compliant with Memcached, so popular tools that you use today with existing Memcached environments will work seamlessly with the service.

Redis is a popular open-source in-memory key-value store that supports data structures such as sorted sets and lists. Leading use patterns for Redis include caching, session management, pub/sub, and leaderboards. ElastiCache for Redis is a Redis-compatible in-memory data structure service that supports Master/Slave replication and Multi-Availability Zone to achieve cross-AZ redundancy with Automatic Failover to a read replica. It also includes Amazon’s enhancements to the Redis engine for improved robustness and stability.

Learn how you can Manage IoT and Time Series data with Amazon ElastiCache for Redis.

Amazon DynamoDB Accelerator (DAX) is a fully managed, highly available, in-memory cache for Amazon DynamoDB. DAX is API-compatible with DynamoDB and allows developers to add in-memory acceleration to DynamoDB tables without managing cache invalidation, data population, or cluster management.  

Blog: Amazon DynamoDB Accelerator (DAX): A read-through/write-through cache for DynamoDB

Aerospike is an open source, in-memory key-value store.  This high-performance NoSQL database can be installed as a persistent in-memory service with a RAM cluster, or greater data sizes using local SSD instances which are also persisted to EBS.  For more information on running Aerospike on AWS, visit the AWS Marketplace »