tezvyn:

Design a real-time top-10 dashboard for a global news site

Source: aws.amazon.comadvanced

WHAT IT TESTS: separating hot-path reads from cold-path analytics at scale. A GOOD ANSWER COVERS: stream ingestion, windowed aggregation, Redis top-N cache, and TTL eviction. RED FLAG: scanning raw events or running global SQL GROUP BY per request.

WHAT IT TESTS: your ability to separate hot-path serving from cold-path analytics while keeping end-to-end latency under one second for millions of events per minute. A GOOD ANSWER COVERS: an ingestion layer like Kafka or Kinesis, a streaming aggregation engine using tumbling 30-second or 1-minute windows, a Redis or Memcached layer holding the pre-computed top-N list, and TTL-based eviction to enforce the rolling 30-minute window. RED FLAG: scanning raw logs or running global SQL GROUP BY per request.

Read the original → aws.amazon.com

Get five bites like this every day.

Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.

Design a real-time top-10 dashboard for a global news site · Tezvyn