System Design · Senior · Question 39 of 75

How do you build an analytics dashboard over millions of events so it opens quickly?

Explanation

Separate read models (CQRS, OLAP stores) keep aggregates by interval; a chart receives a downsampled series. Heavy analytics queries must not load the main database.

Further reading

Problem with a question

System Design · Senior · question 39

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