2.4.2.3 Expiry & Eviction Policies

• TTL (Time to Live):

• Set expiration on short-lived data (EX: 60 for 60 seconds).

• Eviction Policy:

• allkeys-lru or volatile-lru can be used to remove the least recently used keys if memory runs low.

Last updated