Ravi Sir's Cards › AWS
Failover and evictions
This revision card explains Failover and evictions. A full cache that evicts hot keys can look like a DB outage. It describes use Multi-AZ / replicas for Redis HA. Watch Evictions and CPU; raise memory or TTL strategy when evictions spike. The how-to section covers how to enable Multi-AZ with auto-failover for prod Redis; alarm on Evictions > threshold. An example on the card is primary failure promotes replica; app using the primary endpoint configuration reconnects.
Read card text
What this card says
Why do we need it?
A full cache that evicts hot keys can look like a DB outage.
What is it?
Use Multi-AZ / replicas for Redis HA. Watch Evictions and CPU; raise memory or TTL strategy when evictions spike.
Evictions
How to do it
Enable Multi-AZ with auto-failover for prod Redis; alarm on Evictions > threshold.
Example
Primary failure promotes replica; app using the primary endpoint configuration reconnects.