DragonflyDB (redis)
DragonflyDB is a redis like in-memory database to store data in a key-value like database. For more information about redis, please have a look at redis documentation
Configuration
You can request for DragonflyDB instances during initial project configuration or everytime afterward.
You have to provide the names of the instance/instances, which will be created automatically.
You also have to define, if the instance should provide a TLS endpoint or an endpoint without TLS - endpoints are not available from outside the NEXT environment and TLS uses self-signed-certificates only)
You also have to define, how many instances of the service should run (high-availability) and if the instance should store the data periodically (persistence). For persistence the data can be stored at maximum once per minute.
Access
Accessing the DragonflyDB instances created with your configuration is only possible from applications running in your Kubernetes namespace
For accessing the instance, every information you need is stored in the Key Vault keyvault-project.
- The complete connection string can be found in the secret
dragonfly-[instance-name]-connection-string. - The password only can be found in the secret
dragonfly-[instance-name]-password.
If you have enabled TLS connection and need a certificate to communicate with the server because of the self-signed-certificate usage, you can find this in Key Vault tls-[instance-name]-replica in the key ca.crt.