Skip to content

Commit 9acddad

Browse files
committed
fix spacing in how-to-change-redis-eviction-policy
1 parent ab73319 commit 9acddad

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

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

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

5454
### `noeviction`
55-
5655
Redis will not evict any keys when memory is full. New write operations
5756
that require memory will fail.
5857

5958
### `allkeys-lru`
60-
6159
Redis can evict any key and removes the least recently used keys first.
6260

6361
### `allkeys-lfu`
64-
6562
Redis can evict any key and removes the least frequently used keys first.
6663

6764
### `allkeys-random`
68-
6965
Redis can evict any key and removes keys at random.
7066

7167
### `volatile-lru`
72-
7368
Redis only evicts keys with an expiration time and removes the least
7469
recently used keys first.
7570

7671
This is the default policy on Hypernode.
7772

7873
### `volatile-lfu`
79-
8074
Redis only evicts keys with an expiration time and removes the least
8175
frequently used keys first.
8276

8377
### `volatile-ttl`
84-
8578
Redis only evicts keys with an expiration time and prefers keys that will
8679
expire soonest.
8780

8881
### `volatile-random`
89-
9082
Redis only evicts keys with an expiration time and removes those keys at
9183
random.
9284

0 commit comments

Comments
 (0)