Redis Key Expiration, TTL, and Eviction Policies

Redis holds everything in memory, which raises an obvious question: what stops it from filling up and falling over? The answer is two mechanisms working together.