memorydb for redis Flashcards
What are the key features of a Memory DB for Redis?
A Memory DB for Redis is a fully in-memory database capable of storing over 100 TB of data. It provides high availability with multi-AZ support and offers a transaction log for recoverability and durability. The entire database is stored in memory rather than being used as a cache. It offers ultra-fast performance, supporting over 160 million requests per second with microsecond read and single-digit millisecond write latency.
What is the difference between a millisecond and a microsecond?
A millisecond is one-thousandth of a second (1/1000), while a microsecond is one-millionth of a second (1/1000000).
What is a common use case for an in-memory database like Redis?
A common use case for an in-memory database like Redis is online gaming, especially for applications that serve millions of concurrent users and generate complex 3D digital worlds.
What are the differences between a Memory DB for Redis and Elasticache?
A Memory DB for Redis stores the entire dataset in memory, eliminating the need for a separate database. It offers microsecond read and millisecond write latency. On the other hand, Elasticache is an in-memory cache for databases like RDS, providing millisecond read latency and commonly used for caching user data on websites.