Memory DB for Redis Flashcards
What are the characteristics of a Memory DB for Redis?
A Memory DB for Redis is a full in-memory database that can store over 100TB of data. It is highly available with multi-AZ support and transaction logs for recovery and durability. It offers ultra-fast performance, supporting up to 160 million requests per second with microsecond read and single-digit millisecond write latency.
What is the difference between millisecond and microsecond?
A millisecond is one-thousandth of a second, while a microsecond is one millionth of a second. An easy way to remember is that a millisecond is like a millipede (1/1000) of a second, and a microsecond is like a microscope (one millionth) of a second.
What are some use cases for a Memory DB for Redis?
Memory DB for Redis is ideal for use cases such as online gaming with millions of concurrent users and applications that generate interactive 3D digital worlds.
What is the difference between Memory DB for Redis and Elasticache?
Memory DB for Redis can store your entire dataset in memory without the need for a separate database, offering microsecond read and millisecond write latency. Elasticache, on the other hand, is an in-memory cache for databases (e.g., RDS) with millisecond read latency, typically used for storing cached user data on websites.
What is the main benefit of using Memory DB for Redis?
Using Memory DB for Redis eliminates the need for a separate database and cache, reducing complexity. It is particularly beneficial for use cases such as online gaming.