---
gitea: none
include_toc: true
---
# redis
## Synopsis
Redis, an in-memory data structure store.
[Software's website.](https://redis.io/)
## Variables
### Général
#### Redis
Configuration du service de cache Redis.
| Parameter | Comments |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **[general.redis.redis_instance_name](dictionaries/90_redis.xml)**
mandatory
**Type:** [`string`](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | Nom de l'instance.
**Default:** *calculated* |
| **[general.redis.redis_save](dictionaries/90_redis.xml)**
mandatory
**Type:** [`string`](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | Activer la persistence des données.
**Default:** False |
| **[general.redis.redis_max_memory](dictionaries/90_redis.xml)**
mandatory
**Type:** [`number`](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | Quantité de mémoire utilisable par Redis.
La valeur est en Mo.
**Default:** 512 |
| **[general.redis.redis_memory_policy](dictionaries/90_redis.xml)**
mandatory
**Type:** [`choice`](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | Méthode de libération de mémoire lorsque le maximum est atteint.
**Choices:**
- `volatile-lru`
- `allkeys-lru`
- `volatile-lfu`
- `allkeys-lfu`
- `volatile-random`
- `allkeys-random`
- `volatile-ttl`
- `noeviction` ← default |
| **[general.redis.redis_tcp_keepalive](dictionaries/90_redis.xml)**
mandatory
**Type:** [`number`](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | Intervalle entre le dernier envoi de paquet TCP et la réponse ACK.
La valeur est en seconde.
**Default:** 300 |
| **[general.redis.redis_max_clients](dictionaries/90_redis.xml)**
mandatory
**Type:** [`number`](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | Nombre de client maximum autorisé.
**Default:** 10000 |
### Accounts
#### remote_*suffix value*
This a dynamic family generated from the variable "accounts.remotes".
| Parameter | Comments |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------|
| **[accounts.remote_*suffix value*.ip_*suffix value*](extras/accounts/00_accounts.xml)**
mandatory
**Type:** [`ip`](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) | **Default:** *calculated* |
## Requirements services
- **LocalDNS**
- Journald
**bold**: provider is mandatory
## Example
Zone names are provided as examples. Think about adapting with the value of provider_zone in configuration file.
```
redis:
applicationservice: redis
provider_zone: redis
zones_name:
- localdns
```
## Dependances
- [base-fedora-38](../base-fedora-38/README.md)
- [base-fedora](../base-fedora/README.md)
- [systemd](../systemd/README.md)
- [base-machine](../base-machine/README.md)
- [base](../base/README.md)
- [dns-local](../dns-local/README.md)
- [pki-tls](../pki-tls/README.md)
- [journald](../journald/README.md)
- [resolved](../resolved/README.md)
- [redis-common](../redis-common/README.md)
## Supplier
[redis-client](../redis-client/README.md)
[All applications services for this dataset.](../README.md)