You can enable Valkey (Redis compatible key-value store) by accessing your account at hosting-panel.net then go to Tools -> Valkey Manager
From here you can select the maximum amount of memory your Valkey instance can use, as well as the eviction policy.
The Max Memory size you can configure for Valkey depends on the hosting plan you're on. Below you'll find a table with the possible configurations.
Plan | Max Memory Sizes |
---|---|
Micro | 128MB |
Small | 128MB,256MB |
Medium | 128MB,256MB,384MB |
Large | 128MB,256MB,384MB,512MB |
The available eviction policies:
Policy | Meaning |
---|---|
volatile-lru | Evicts least recently used keys with an expiry. |
noeviction | Returns error when memory limit is reached. |
allkeys-lru | Evicts least recently used keys, regardless of expiry. |
volatile-lfu |
Evicts least frequently used keys with an expiry. |
allkeys-lfu | Evicts least frequently used keys, regardless of expiry. |
volatile-random | Evicts a random key with an expiry. |
allkeys-random | Evicts a random key, regardless of expiry. |
Comments
0 comments
Please sign in to leave a comment.