Redis Configuration

Last change on 2023-05-11 • Created on 2023-05-04 • ID: KO-18365

Redis Configration

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