Analytics without killing the live database

A architecture exercise of about 40 minutes: read the statement, solve «Analytics without killing the live database» in the browser and get a review like in a real interview.

Architecture · 40 min
Loading…

Statement

On your e-commerce platform, 6,000 shops have a reports dashboard: sales per week and month, by product, channel or country, with filters they combine however they like. Those queries run on the same database that processes orders, and at the start of every month checkout gets slow. Design how to serve those reports without putting the live database at risk.