Back to problems

Real-Time Restaurant Leaderboard

System Design · DoorDash · Medium

Hot Orders: Sliding-Window Restaurant Rankings Hard · Topics · Company Tags · Hints Design a streaming analytics service that processes a continuous feed of order events. Each event signals that a customer placed an order at a restaurant. The service must maintain a real‑time leaderboard showing the ten restaurants that received the most orders over the most recent one‑hour period. The leaderboard should refresh approximately once per second. Optionally, the system should…

Checking your access…