Cache
Introduction#
Metadata quality is stored by the Hub as DQV measurements in a triple store. Unfortunately, SPARQL is not as fast as would be required for responsive UIs. This is alleviated by the Metrics Cache, which fetches and stores the DQV measurements as documents in a MongoDB. These are grouped by various common concepts which reflects the structure used in the UI and Reporter.
API#
The service is not a pipe module. Updating the measurements can be triggered manually or via cron job. The measurements can be retrieved via dedicated endpoints.
Important
The clear command/endpoint removes all aggregated data the cache has stored in its database. It does not delete the metrics metadata that is stored in the triplestore. However, it is not possible to recreate the aggregated data from the metadata that is in the triplestore.