Design batched reboots across a machine fleet
I was asked this
No reports yet. Sign in to say where you were asked it.
A system design interview question asked in CoreWeave's system design round, last asked Feb 2026. It tests fleet management, job scheduling and fault tolerance.
Design a system that reboots a large fleet of machines (for a kernel or firmware update, say) in batches rather than all at once, without dropping the capacity the fleet must keep serving. An operator starts a run over a set of machines; the system works through it batch by batch, checks each machine came back healthy, and stops when something looks wrong.
Requirements
- Functional: start a run over a list or a query of machines; choose and size batches; drain each machine's workload before rebooting it; reboot through the machine's management interface; confirm it came back healthy and return it to service; pause, resume and abort a run; show progress per machine.
- Non-functional: never take more than an allowed share of capacity (or of any one rack, zone or customer) out at once; safe when the orchestrator itself crashes mid-run; a full audit of what was done to each machine.
Clarifying questions
- How many machines, and how long does one reboot plus health check take?
- What runs on the machines, and can the workload be drained or moved?
- What does "healthy" mean: it boots, its agent checks in, its GPUs pass a test, it serves traffic again?
- Which failure domains matter (rack, power, network switch, zone, customer)?
- Who may start or stop a run, and must it respect maintenance windows?
What a strong answer covers
- Batch planning: batch size from a capacity budget, spread across failure domains, starting with a small canary batch and growing as batches succeed.
- Per-machine state machine: pending, draining, rebooting, waiting for health, healthy, failed, skipped; with a timeout on every step so a hung machine can't stall the run forever.
- Health checks: what is checked and for how long before a machine counts as healthy, and the integration with the scheduler or inventory to drain and restore it.
- Failure policy: a failed or hung machine is retried, power-cycled or set aside for repair; a failure rate above a threshold pauses the whole run for a person to look.
- Durable run state: stored in a database so a restarted orchestrator resumes where it left off; operations idempotent so a repeated reboot request is harmless; one run per machine at a time (locks or leases).
- Control and visibility: pause, resume and abort that take effect between steps; progress dashboards and alerts.
Follow-ups
- Two runs overlap on the same machines. How do you prevent it, or let them coexist safely?
- A bad update makes every rebooted machine fail its health check. How fast do you stop, and how do you roll back?
- Reboots must avoid machines running a customer's long training job. How do you plan around it?
- Scale to a fleet across many data centers with one control plane.
Where it's asked
- CoreWeave · System design · Last asked Feb 2026One or two design rounds
What it tests
fleet management · job scheduling · fault tolerance
No official answer yet. Draw yours on the right; publish it and it shows under Community.
Nothing published yet. Publish your canvas and it shows here for others to open and remix.
