Runbook

Redis Cache Invalidation Incident.

Back to Runbooks

Overview

Redis Cache Invalidation Incident refers to the situation where the Redis cache which is a key-value data store, fails to invalidate or remove data that has been modified or deleted in the primary data store. This can lead to inconsistencies and errors in the application that relies on the cache for faster data retrieval. The incident requires the identification of the root cause and the implementation of a solution to ensure that the cache stays in sync with the primary data store.

Parameters

Debug

Check Redis server is running

Check connection to Redis server

Check Redis keys

Check Redis cache size

Check last time Redis cache was saved

Check Redis cache memory usage

Check Redis cache AOF (Append Only File) size

Check Redis cache RDB (Redis Database File) size

Repair

Review the Redis cache configuration settings to ensure that it is set up for proper data expiration and eviction policies that match the data access patterns of the application.

Learn more

Related Runbooks

Check out these related runbooks to help you debug and resolve similar issues.