Design real-time top-k items
Company: Amazon
Role: Software Engineer
Category: System Design
Difficulty: hard
Interview Round: Technical Screen
Quick Answer: This question evaluates understanding of real-time streaming system architecture and stateful analytics, covering event-time processing and late/out-of-order handling, ingestion and partitioning strategies, state management and checkpointing, fault tolerance, and algorithms for top-k aggregation.