diff --git a/docs/hypernode-platform/redis.md b/docs/hypernode-platform/redis.md new file mode 100644 index 00000000..6c495d64 --- /dev/null +++ b/docs/hypernode-platform/redis.md @@ -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/* +``` \ No newline at end of file diff --git a/docs/hypernode-platform/redis/how-to-change-redis-eviction-policy.md b/docs/hypernode-platform/redis/how-to-change-redis-eviction-policy.md index 69d315a4..46477f5a 100644 --- a/docs/hypernode-platform/redis/how-to-change-redis-eviction-policy.md +++ b/docs/hypernode-platform/redis/how-to-change-redis-eviction-policy.md @@ -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` - Redis can evict any key and removes the least recently used keys first. ### `allkeys-lfu` - Redis can evict any key and removes the least frequently used keys first. ### `allkeys-random` - Redis can evict any key and removes keys at random. ### `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` - Redis only evicts keys with an expiration time and removes the least frequently used keys first. ### `volatile-ttl` - Redis only evicts keys with an expiration time and prefers keys that will expire soonest. ### `volatile-random` - Redis only evicts keys with an expiration time and removes those keys at random.