Skip to content

Commit 739c5a6

Browse files
Merge pull request #420 from ByteInternet/add-docs-for-valkey
Add documentation for Valkey
2 parents c7a1020 + 472d88b commit 739c5a6

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# How to use Valkey on your Hypernode
2+
3+
This article explains how to use Valkey on our Hypernode platform.
4+
5+
## What is Valkey?
6+
7+
Valkey is a Redis-compatible in-memory store. On Hypernode, **Valkey-8** is available on Debian Bookworm single-node setups.
8+
Since Valkey is a drop-in replacement for Redis, it can be used in the same applications as Redis.
9+
10+
## Changing from Redis to Valkey
11+
12+
Your Hypernode is configured with Redis by default.
13+
Changing from Redis to Valkey is pretty easy on Hypernode. You can use the `hypernode-systemctl` command-line tool to change from Redis to Valkey.
14+
15+
```console
16+
app@abcdef-appname-magweb-cmbl:~$ hypernode-systemctl settings valkey_enabled true
17+
Operation was successful and is being processed. Please allow a few minutes for the settings to be applied. Run 'livelog' to see the progress.
18+
```
19+
20+
It may take a few minutes for the changes to be applied. You can monitor the progress by running `hypernode-log`.
21+
Once the process is complete, Valkey will be enabled and Redis will be disabled on your Hypernode.
22+
23+
## Using Valkey tools
24+
25+
Redis comes by default with a bunch of useful tools pre-installed on Hypernode, like `redis-cli` and `redis-benchmark`.
26+
Once you have switched to Valkey, you can use the `valkey-cli` and `valkey-benchmark` tools instead.
27+
However, to make it even more easy, we made sure that the `redis-cli` and `redis-benchmark` commands are symlinked to their Valkey counterparts when Valkey is enabled.
28+
In this way you can keep using the same commands you are used to.
29+
30+
## How to configure Valkey in Magento 2
31+
32+
The configuration for Valkey is the same as for Redis.
33+
You can follow our [Magento 2 Redis configuration guide](../../ecommerce-applications/magento-2/how-to-configure-redis-for-magento-2.md) to configure Valkey for Magento 2.

0 commit comments

Comments
 (0)