System Design · Senior · Question 55 of 75

How are metrics with billions of points stored cheaply?

Explanation

Recent data stays high-resolution; older data is rolled up (e.g. 1-minute → 1-hour) to keep queries fast.

Further reading

Problem with a question

System Design · Senior · question 55

Test yourself

Take the System Design · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz