Skip to content

Commit 768ea7b

Browse files
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 439244a commit 768ea7b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

docs/hypernode-platform/redis/how-to-change-redis-eviction-policy.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,33 +52,41 @@ hypernode-systemctl settings redis_eviction_policy allkeys-lru
5252
## Policy explanation
5353

5454
### `noeviction`
55+
5556
Redis will not evict any keys when memory is full. New write operations
5657
that require memory will fail.
5758

5859
### `allkeys-lru`
60+
5961
Redis can evict any key and removes the least recently used keys first.
6062

6163
### `allkeys-lfu`
64+
6265
Redis can evict any key and removes the least frequently used keys first.
6366

6467
### `allkeys-random`
68+
6569
Redis can evict any key and removes keys at random.
6670

6771
### `volatile-lru`
72+
6873
Redis only evicts keys with an expiration time and removes the least
6974
recently used keys first.
7075

7176
This is the default policy on Hypernode.
7277

7378
### `volatile-lfu`
79+
7480
Redis only evicts keys with an expiration time and removes the least
7581
frequently used keys first.
7682

7783
### `volatile-ttl`
84+
7885
Redis only evicts keys with an expiration time and prefers keys that will
7986
expire soonest.
8087

8188
### `volatile-random`
89+
8290
Redis only evicts keys with an expiration time and removes those keys at
8391
random.
8492

0 commit comments

Comments
 (0)