Skip to content

Valkey

Module: bi-superset, beside Apache Superset.

Valkey is an open-sourceSource A database the organisation already runs. Quality Data reads it and never writes to it., in-memory key-value store, under the BSD licence, that speaks the same protocol as Redis. In Government Data it is Superset’s cache:

  • it keeps the results of dashboardDashboard Each dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. queries for a few minutes, so a dashboard that many people open at once asks Trino once;
  • it holds Superset’s rate limits.

Valkey is not a message broker for the platform. The platform’s modules tell each other what happened through the core, never through Valkey.

Only Superset talks to Valkey, on the module’s own network, with a password that is generated at installation and kept as a file. Valkey publishes no port and nothing else can reach it.

In memory, and in a volume of the module. What it holds can be lost without harm: it is a cache, filled again from Trino. Removing the module keeps the volume; only a purge deletes it.

Government Data · Guide v0.8.1