📊

Data, Analytics & Logging

Design systems that process petabytes of data and deliver insights in real-time

Lambda/Kappa architecture Stream processing Time-series storage Approximate algorithms

Web Analytics

Hard

Design Google Analytics handling 100B events/day with real-time dashboards, funnel analysis, user segmentation, and sub-second query latency.

⏱ ~3.5h
Google Meta Adobe

Monitoring System

Medium

Design Datadog-like monitoring with metric collection, time-series storage, alerting rules, service discovery, and dashboard visualization.

⏱ ~3h
Datadog New Relic

Log Analysis

Medium

Design an ELK-like system ingesting 1M logs/second with full-text search, structured parsing, index lifecycle management, and retention policies.

⏱ ~3h
Splunk Elasticsearch

Ad Click Aggregation

Hard

Design real-time ad click tracking with exactly-once billing, fraud detection, deduplication, and processing 10M clicks/second.

⏱ ~3.5h
Google Meta Amazon

Top-K Analysis

Medium

Design a system finding trending items from billions of events using Count-Min Sketch, Space-Saving algorithm, and multiple time windows.

⏱ ~3h
Google Meta Twitter/X