Logo

redis-expire-least-used

Redis proof of concept: a tool to pre-expire least used Redis keys

When Redis is used to cache large amounts of items, the least frequently used items can take most of the memory. This proof of concept written in LUA allows to set 2 expiration dates for each item: - A normal expiration date after which the item expires (traditional Redis expiration) - A pre-expiration date after which the item expires if it has never been accessed.

Explore By Topic