Back to problems

Real-time status counting system design

System Design · Verkada · Medium

Problem You are tasked with designing a system that handles one million devices. Each device transmits a heartbeat along with a status code once per minute. There are exactly 10 possible status codes. Your system must compute, in real time, how many devices reported each of the 10 statuses during the most recent one-minute window. Requirements Scale: 1,000,000 devices. Frequency: Each device sends a heartbeat + status every 60 seconds. Status Domain: 10 distinct status…

Checking your access…