System design puzzle BrokenCluster

Build: Reports Without Hurting Checkout

The app writes orders to Postgres. A nightly reports job runs long queries over a year of orders, and checkout slows to a crawl while it runs.

SRE & designmedium 6 minPro
Solve it