PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/System Design/Verkada

Design real-time per-status device counts

Last updated: May 6, 2026

Quick Overview

This question evaluates a candidate's ability to design scalable, fault-tolerant real-time aggregation systems that produce per-minute status counts, including considerations for event-time versus processing-time semantics, out-of-order and late arrivals, deduplication, and missing heartbeats.

  • medium
  • Verkada
  • System Design
  • Software Engineer

Design real-time per-status device counts

Company: Verkada

Role: Software Engineer

Category: System Design

Difficulty: medium

Interview Round: Technical Screen

## Scenario You have **1,000,000 devices**. Every **minute**, each device sends a message containing: - `device_id` - `timestamp` - `status` (one of **10 possible statuses**) ## Task Design a system that can **compute in real time** the **number of devices in each status** for the **previous minute** (i.e., for each completed minute window, output 10 counts). ## Clarifications to address In your design, state assumptions and handle: - Late or out-of-order messages - Duplicate messages (e.g., retries) - Missing heartbeats - How “previous minute” is defined (processing time vs event time) ## Output / Consumption Assume a dashboard or API needs to read the counts for each minute (and optionally recent history like last 1–24 hours).

Quick Answer: This question evaluates a candidate's ability to design scalable, fault-tolerant real-time aggregation systems that produce per-minute status counts, including considerations for event-time versus processing-time semantics, out-of-order and late arrivals, deduplication, and missing heartbeats.

Related Interview Questions

  • Design Camera Health Monitoring - Verkada (medium)
  • Design access control and heartbeat systems - Verkada (medium)
  • Design camera access-control service - Verkada (hard)
Verkada logo
Verkada
Jan 19, 2026, 12:00 AM
Software Engineer
Technical Screen
System Design
7
0
Loading...

Scenario

You have 1,000,000 devices. Every minute, each device sends a message containing:

  • device_id
  • timestamp
  • status (one of 10 possible statuses )

Task

Design a system that can compute in real time the number of devices in each status for the previous minute (i.e., for each completed minute window, output 10 counts).

Clarifications to address

In your design, state assumptions and handle:

  • Late or out-of-order messages
  • Duplicate messages (e.g., retries)
  • Missing heartbeats
  • How “previous minute” is defined (processing time vs event time)

Output / Consumption

Assume a dashboard or API needs to read the counts for each minute (and optionally recent history like last 1–24 hours).

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Verkada•More Software Engineer•Verkada Software Engineer•Verkada System Design•Software Engineer System Design
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.