Design Health Monitoring for In-Store Checkout Devices
Last updated: November 29, 2026
Quick Overview
Design an observability platform that collects metrics, logs and heartbeats from registers, self-checkout kiosks and handheld scanners across thousands of stores, and alerts the right team when devices or a whole store degrade.
Walmart Labs
November 29, 20260
0
0 solved
Design an observability platform that collects metrics, logs and heartbeats from registers, self-checkout kiosks and handheld scanners across thousands of stores, and alerts the right team when devices or a whole store degrade.
Walmart runs a very large fleet of edge devices, and a broken self-checkout bank during a weekend rush hurts sales and customer experience directly. Interviewers check how you handle constrained store networks, high cardinality metrics, aggregation tiers, and alerting that avoids paging on noise.
What the Interviewer Expects
- Collect via a store-level agent that buffers and aggregates
- Separate metrics, logs and events with different retention
- Control cardinality and pre-aggregate at the store
- Write alert rules at device, store and fleet levels
- Route alerts with context to store ops versus central teams
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How would you detect that a firmware rollout is breaking scanners only in some regions?
- How do you handle a store whose WAN link is down?
- How long do you keep raw versus rolled up data?
- How would you reduce alert fatigue?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
About 4,700 stores, each with dozens of registers and kiosks and hundreds of handhelds, so a few million devices. Metrics every 15 to 60 seconds (CPU, scan errors, payment terminal latency, printer st...
High-Level Design
- Device agent emits metrics and logs locally.
- Store collector (on the in-store server) receives, buffers to disk, pre-aggregates per device class (for example p95 transaction time across al...