-
Notifications
You must be signed in to change notification settings - Fork 37
add redis to hypernode platform menu #466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 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 | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -52,41 +52,33 @@ hypernode-systemctl settings redis_eviction_policy allkeys-lru | |||||||
| ## Policy explanation | ||||||||
|
|
||||||||
| ### `noeviction` | ||||||||
|
|
||||||||
| Redis will not evict any keys when memory is full. New write operations | ||||||||
| that require memory will fail. | ||||||||
|
|
||||||||
| ### `allkeys-lru` | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
|
||||||||
| Redis can evict any key and removes the least recently used keys first. | ||||||||
|
|
||||||||
| ### `allkeys-lfu` | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
|
||||||||
| Redis can evict any key and removes the least frequently used keys first. | ||||||||
|
|
||||||||
| ### `allkeys-random` | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
|
||||||||
| Redis can evict any key and removes keys at random. | ||||||||
|
|
||||||||
| ### `volatile-lru` | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
|
||||||||
| 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` | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
|
||||||||
| Redis only evicts keys with an expiration time and removes the least | ||||||||
| frequently used keys first. | ||||||||
|
|
||||||||
| ### `volatile-ttl` | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
|
||||||||
| Redis only evicts keys with an expiration time and prefers keys that will | ||||||||
| expire soonest. | ||||||||
|
|
||||||||
| ### `volatile-random` | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
|
||||||||
| Redis only evicts keys with an expiration time and removes those keys at | ||||||||
| random. | ||||||||
|
|
||||||||
|
|
||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.