ElastiCache Flashcards
Amazon ElastiCache can be used to significantly improve latency and throughput for:
- Read-heavy application workloads (such as social networking, gaming, media sharing and Q&A portals)
- Compute-intensive workloads (such as a recommendation engine) by allowing you to store the objects that are often read in cache.
Amazon ElastiCache for Redis supports
Advanced data structures, you can augment the database tier to provide features (such as leaderboard, counting, session and tracking) that are not easily achievable via databases in a cost-effective way.
Why Redis instead of Memcached?
Redis offers
- snapshots facility
- replication
- transactions
What is Elasticache for Redis “cluster mode”?
Data partitioned across up to 500 shards
What happens to the data when you add an Elasticache for Redis read replica to a cluster?
- all of the data from the primary is copied to the new node.
- the changes written to the primary node are asynchronously propagated to all the read replicas.
How do you improve fault tolerance and reduce write downtime to a Elasticache for Redis cluster?
Enable Multi-AZ with Automatic Failover for your Redis (cluster mode disabled) cluster with replicas.
What happens when a Multi-AZ Elasticache for Redis (Cluster mode disabled) node fails?
The role of primary node will automatically fail over to one of the read replicas. There is no need to create and provision a new primary node, because ElastiCache will handle this transparently.
Can you manually promote any of the Elasticache for Redis (Cluster mode) replica nodes to primary?
You cannot manually promote any of the Elasticache for Redis (Cluster mode) replica nodes to primary.