Preparing your design workspace

Loading the problem and your latest saved attempt…

Design GPU Host Health Monitoring and Repair

Design a platform that combines GPU-host signals, metrics, and logs to detect unhealthy hosts and safely trigger repair workflows across a 100,000-host fleet.

Problem statement

For this exercise, assume a fleet of 100,000 GPU hosts emits heartbeats, numeric metrics, hardware signals, and diagnostic logs. The platform must derive a current health state, let operators inspect the evidence, and trigger a repair workflow for sustained critical conditions.

A repair may drain workloads, reboot, run diagnostics, and either return the host to service or escalate for human repair. Signals can arrive late, out of order, duplicated, or during a network partition.

Automated repair must be idempotent, must not run concurrently for the same host, and must stop when evidence is too stale to make a safe decision. For this exercise, workload scheduling internals, GPU-job checkpointing, and the implementation of vendor diagnostics are out of scope.

What to build

  1. The platform durably ingests identified host heartbeats, signals, metrics, and logs with event time and service acceptance order.
  2. The platform derives a versioned host health state with contributing evidence, freshness, and confidence or reason codes.
  3. Sustained critical conditions can authorize one idempotent repair workflow per host with guarded state transitions and escalation.
  4. Authorized operators can inspect current health, recent evidence, repair history, and pause or override automation.

At scale

  • The fleet contains 100,000 GPU hosts; each emits a heartbeat and metric batch every 10 seconds, for 10,000 batches per second on average and bursts up to 100,000 events per second including logs.
  • Critical sustained failures should normally be detected within 60 seconds, while one delayed or isolated noisy sample must not trigger repair.
  • Current health reads should complete within 1 second at p95 and include an evidence watermark; processing lag must not be presented as healthy state.
  • Raw diagnostic events are retained for 7 days, health transitions for 90 days, and repair audit records durably.