Redis Configuration

Last change on 2024-09-16 • Created on 2023-05-04 • ID: KO-18365

Activate Redis via konsoleH

To do this, please log on to konsoleH with your credentials and select your managed server in the menu under “Products”. Then click on "Reseller functions" and select "Manage Packages". Then you can enable Redis for the correct account type by clicking on the red pencil button. There, you can select "Yes" for Redis and save the change. Then please go to "Products" and select the correct account and click on "Services". You can find the "Redis" menu there and you can now activate Redis there.

Redis Configuration

This section allows you to configure settings for your local Redis instance. This article aims to provide an overview of the available configuration options. For a more detailed understanding of Redis, we recommend consulting the official documentation.

Redis Databases

This setting determines the maximum number of internal databases that can be operated in the instance.

Maximum Memory Size

This setting allows you to specify the maximum amount of RAM that the Redis instance can use.

Redis Socket

The instance we provide operates via a Unix socket and is not externally accessible. The socket can be found in the /run/ directory of the server and is limited to your user.

run
└── redis_<account_login>
    ├── redis-server.pid
    └── redis.sock

To be able to use the instance inside your applications, you have to specify the protocol along with the path to the socket:

unix:/run/redis_<account_login>/redis.sock

To use the Redis instance, you can use dedicated libraries that are available for most programming languages. A comprehensive list sorted by language is available on the official Redis website. To connect to the instance via the command line, you can use the package redis-cli.

redis-cli -s /run/redis_example/redis.sock
Table of Contents