File tree Expand file tree Collapse file tree
docs/hypernode-platform/redis Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,33 +52,41 @@ hypernode-systemctl settings redis_eviction_policy allkeys-lru
5252## Policy explanation
5353
5454### ` noeviction `
55+
5556Redis will not evict any keys when memory is full. New write operations
5657that require memory will fail.
5758
5859### ` allkeys-lru `
60+
5961Redis can evict any key and removes the least recently used keys first.
6062
6163### ` allkeys-lfu `
64+
6265Redis can evict any key and removes the least frequently used keys first.
6366
6467### ` allkeys-random `
68+
6569Redis can evict any key and removes keys at random.
6670
6771### ` volatile-lru `
72+
6873Redis only evicts keys with an expiration time and removes the least
6974recently used keys first.
7075
7176This is the default policy on Hypernode.
7277
7378### ` volatile-lfu `
79+
7480Redis only evicts keys with an expiration time and removes the least
7581frequently used keys first.
7682
7783### ` volatile-ttl `
84+
7885Redis only evicts keys with an expiration time and prefers keys that will
7986expire soonest.
8087
8188### ` volatile-random `
89+
8290Redis only evicts keys with an expiration time and removes those keys at
8391random.
8492
You can’t perform that action at this time.
0 commit comments