SpinTheMic
Pro

Interview practice question

Slow dashboard queries in a metrics system

System Design · Design: Commerce and Media · Experienced

Your metrics system stores billions of series, and dashboards querying 30 days of data are very slow. How would you improve query performance?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Downsampled rollups for long ranges.
  • Pre-aggregation of common queries.
  • Index on labels; limit cardinality.
  • Query caching and splitting by time.
  • Columnar compressed storage.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics