Design Staged Firmware Rollouts For Connected Circuit Breakers
Last updated: November 29, 2026
Quick Overview
Design a service that pushes firmware updates over the air to a fleet of connected breakers, meters and UPS units across customer sites, with staged rollout, health gating, customer maintenance windows and safe rollback.
Schneider Electric
November 29, 20260
0
0 solved
Design a service that pushes firmware updates over the air to a fleet of connected breakers, meters and UPS units across customer sites, with staged rollout, health gating, customer maintenance windows and safe rollback.
Firmware updates on electrical equipment are high stakes: a bad image can take down a hospital's power monitoring or a data center UPS. The interviewer checks rollout safety (signing, A/B partitions, canaries, health gates) and respect for operational constraints like maintenance windows and cybersecurity standards such as IEC 62443.
What the Interviewer Expects
- Signs images and verifies on device before install
- Uses A/B partitions or a fallback image for rollback
- Stages rollout by cohort with automated health gates
- Respects per-site maintenance windows and customer approval
- Tracks per-device state in a durable state machine
- Handles devices behind gateways with limited bandwidth
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 do you choose canary cohorts so they represent the fleet?
- A device reboots into the new image and never reports back. What happens?
- How would you distribute a 20 MB image to 500 devices behind one cellular gateway?
- A customer forbids automatic updates. How does the design change?
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
Fleet of 2M devices of many models, most behind site gateways. Operators create a campaign (image, target filter). Must: never brick a device, never update outside a customer-approved window, stop aut...
High-Level Design
- Artifact store: images signed by an offline-rooted key, stored in object storage behind a CDN.
- Campaign service: defines target set, cohorts (1%, 10%, 50%, 100%), gates and windows.
- **De...