Skip to content
18 changes: 18 additions & 0 deletions docs/hypernode-platform/redis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
myst:
html_meta:
description: This table of contents gives you a summary of all Hypernode platform
knowledge base articles that include information about redis.
title: Redis | Hypernode platform
---

# Varnish

```{toctree}
---
caption: Table of Contents
maxdepth: 1
glob:
---
redis/*
```
Original file line number Diff line number Diff line change
Expand Up @@ -52,41 +52,33 @@ hypernode-systemctl settings redis_eviction_policy allkeys-lru
## Policy explanation

### `noeviction`
Comment thread
poespas marked this conversation as resolved.

Redis will not evict any keys when memory is full. New write operations
that require memory will fail.

### `allkeys-lru`
Comment thread
poespas marked this conversation as resolved.

Redis can evict any key and removes the least recently used keys first.

### `allkeys-lfu`
Comment thread
poespas marked this conversation as resolved.

Redis can evict any key and removes the least frequently used keys first.

### `allkeys-random`
Comment thread
poespas marked this conversation as resolved.

Redis can evict any key and removes keys at random.

### `volatile-lru`
Comment thread
poespas marked this conversation as resolved.

Redis only evicts keys with an expiration time and removes the least
recently used keys first.

This is the default policy on Hypernode.

### `volatile-lfu`
Comment thread
poespas marked this conversation as resolved.

Redis only evicts keys with an expiration time and removes the least
frequently used keys first.

### `volatile-ttl`
Comment thread
poespas marked this conversation as resolved.

Redis only evicts keys with an expiration time and prefers keys that will
expire soonest.

### `volatile-random`
Comment thread
poespas marked this conversation as resolved.

Redis only evicts keys with an expiration time and removes those keys at
random.

Expand Down
Loading