Interview Prep/Monitoring & Observability/Scaling Prometheus, Long-Term Storage & HA

What caching layers matter in a Thanos/Mimir deployment?

AdvancedProductionScaling Prometheus, Long-Term Storage & HA
Answer
  • Query-frontend results cache: repeated dashboard queries split by day and cached (Memcached/Redis).
  • Index cache and chunks cache on store-gateways: avoid object-storage GETs.
  • Metadata cache for bucket listings.

Without caches, a 30-day dashboard can trigger thousands of S3 requests per refresh, which is slow and expensive. Size Memcached for the working set (most recent days of index) and watch hit rates.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Scaling Prometheus, Long-Term Storage & HA