Design GPU Node Health Checking and Automatic Drain for a Training Cloud
Last updated: November 29, 2026
Quick Overview
Design a system that continuously detects failing GPU nodes (ECC errors, NVLink or InfiniBand faults, thermal issues, silent slowdowns) across a large fleet, removes them from scheduling safely, and routes them to repair without disrupting healthy customer jobs.
Nebius
November 29, 20260
0
0 solved
Design a system that continuously detects failing GPU nodes (ECC errors, NVLink or InfiniBand faults, thermal issues, silent slowdowns) across a large fleet, removes them from scheduling safely, and routes them to repair without disrupting healthy customer jobs.
At the scale Nebius operates, GPU and network hardware fails daily, and an undetected bad node can crash or silently slow a multi-thousand-GPU training run. The interviewer checks layered detection (passive and active), safe automation with blast-radius limits, and integration with schedulers like Slurm and Kubernetes.
What the Interviewer Expects
- Combines passive signals (XID errors, ECC counters, link flaps) and active tests (burn-in, NCCL tests)
- Classifies faults by severity with different actions
- Drains through the scheduler so running jobs are handled gracefully
- Limits automation blast radius with rate limits and quorum checks
- Tracks node lifecycle through repair and requalification
- Feeds data back to improve detection and vendor RMAs
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 detect a node that is not failing but is 15 percent slower?
- A firmware bug makes the checker mark 30 percent of nodes unhealthy at once; what stops a self-inflicted outage?
- How should the system interact with a customer who wants to keep running on a degraded node?
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
Detect hardware and software faults within minutes. Actions: cordon (no new jobs), drain (move or end jobs gracefully), or immediate removal for fatal faults. Repair workflow with requalification befo...
High-Level Design
A node agent on every host collects DCGM metrics, kernel XID events, ECC counters, InfiniBand port counters, and temperatures, and runs lightweight checks every minute. A central health service ingest...