HF RL Explorer

High DB QPS due to unconfigurable instance auditing/caching and missing hit-rate metrics

High DB QPS due to unconfigurable instance auditing/caching and missing hit-rate metrics: a task in LegoFlow-SWE (Harbor dataset). Symptom The config service DB experiences 2–3K QPS. Investigation shows the majority of queries come from instance configuration auditing logic in…

The task

**Symptom** The config service DB experiences 2–3K QPS. Investigation shows the majority of queries come from instance configuration auditing logic in `InstanceConfigAuditUtil`. The auditing and caching behavior is currently driven by hard‑coded constants that control the audit queue capacity, instance cache size,…

Part of Lego-X/LegoFlow-SWE.