Design Staged Windows Update Rollout Scheduling for a Billion Devices
Last updated: November 29, 2026
Quick Overview
Design the service that decides when each Windows device is offered a feature or quality update, rolling out in waves, pausing automatically on quality signals, and spreading download load.
Microsoft
November 29, 20260
0
0 solved
Design the service that decides when each Windows device is offered a feature or quality update, rolling out in waves, pausing automatically on quality signals, and spreading download load.
Windows Update is one of the largest distribution systems in the world, and Microsoft interviewers use it to discuss controlled rollouts, telemetry-driven gating and CDN load. The interviewer checks targeting, safeguard holds for incompatible hardware, and how a device asks 'is there an update for me'.
What the Interviewer Expects
- Uses device scan requests (pull) rather than server push
- Assigns devices to waves deterministically by hashing
- Gates wave expansion on health telemetry with automatic pause
- Applies compatibility holds based on device attributes
- Respects enterprise policies like deferral and maintenance windows
- Spreads content downloads across CDN and peer delivery
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 guarantee the same device stays in the same wave across scans?
- Crash rates rise on devices with one audio driver. How does the system react?
- How do you avoid a download stampede on Patch Tuesday?
- How do enterprise admin policies interact with Microsoft's rollout?
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
1B+ devices scan for updates a few times a day. A release defines target OS versions and a rollout plan (1 percent, 5, 20, 50, 100 over weeks). Devices with known issues get held. Admins can defer upd...
High-Level Design
- Device sends a scan with attributes (OS build, hardware ids, drivers, policy settings, a stable device id).
- Update service front ends are stateless; they load the current **release confi...