ElastiCache Flashcards
What are the available cache stores in RDS?
Managed Redis or Memcached
What are some of the uses of elasticache?
User session store
Helps reduce load off of database for read intensive workloads
What are some of the features of Redis for HA and scaling?
Does Redis support backup and restore?
How does Redis support Data durability?
What is a Redis sorted set?
Multi AZ with Auto-failover
Read Replicas to scale reads and have high availability
Yes
Data Durability using append only file (AOF) persistence
A prioritized list feature called Redis Sorted Sets. That can be used to store/retrieve leaderboard type information
What is memcached?
Does Memcached support HA (Replication), persistence or backup and restore?
What is memcached multi-node support?
Network attached in memory cache
No
Supports multithreading
Multi-node for partitioning of data. A node is a fixed-size chunk of secure, network-attached RAM.
A Memcached cluster can have from 1 to 40 nodes.
Memcached clusters scale horizontally easily by adding or removing nodes.
Is there IAM authentication in ElastiCache?
They do not support IAM authentication.
What are the IAM policies used for in ElastiCache?
IAM policies on ElastiCache are only used for AWS API level security
What are some of the security features of Redis?
Can set password/token when you create a redis cluster
This is an extra layer of security on top of security groups
Supports SSL
What are some of the security features of Memcached?
Supports SASL-based auth.
What are the 3 caching patterns?
Lazy loading - All the read data is cached and can become stale in cache
Write through - adds or update data in the cache when written to DB (No stale data)
Session store - Store temporary session data in a cache using TTL