Top-K: Requirements & High-Level Design
Design the charts of a music service — the top K songs of each day, of the last 24 hours and of all time — for a system design interview: exact counts on counters partitioned by song, hour buckets with running totals, top lists picked every minute and merged exactly, snapshots that hold their stream offset, and stored lists for reads, every number measured on a real day of 205.8 million Wikipedia views: requirements, estimates, data model, API and high-level design.
Loading...
Loading content...