Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### `noeviction`
### `noeviction`


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

### `allkeys-lru`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### `allkeys-lru`
### `allkeys-lru`


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

### `allkeys-lfu`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### `allkeys-lfu`
### `allkeys-lfu`


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

### `allkeys-random`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### `allkeys-random`
### `allkeys-random`


Redis can evict any key and removes keys at random.

### `volatile-lru`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### `volatile-lru`
### `volatile-lru`


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`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### `volatile-lfu`
### `volatile-lfu`


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

### `volatile-ttl`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### `volatile-ttl`
### `volatile-ttl`


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

### `volatile-random`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### `volatile-random`
### `volatile-random`


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

Expand Down
Loading