Skip to content

Infrastructure

Failover

Automatic rerouting of a workload to another provider if the original provider fails mid-execution. This ensures task completion without restarting from zero, maintaining execution guarantees.

How failover works

Failover is a standard reliability pattern: when the component running a service fails, the system switches to a healthy one. Detection usually relies on health checks or heartbeats, small signals a node sends at regular intervals. When they stop or report problems, the node is marked unhealthy and work goes elsewhere. For short, stateless requests, failover is simple because the request can be sent again to another machine. Long-running jobs are harder, because the progress made so far lives on the failed machine. Recovering it requires saved state, usually a checkpoint, so the replacement can continue instead of starting over.

Failover on OpenGPU

On OpenGPU, the routing layer monitors provider health. If a GPU drops or underperforms during a run, the job shifts to the next best GPU node without restarting from zero. Each workload runs as a single logical executor with checkpoints and continuity guarantees, so long training, video and scientific jobs can finish without paying twice for the same work. Teams using Relay get retries and re-routing automatically when a provider slows or fails, with no recovery code in their own application. On many clouds, by contrast, a failing instance means restarting the workload unless the team builds its own checkpointing and recovery, as the Why OpenGPU page explains.

What happens if a GPU node goes offline during a task?

Health monitoring notices that the node has stopped responding or is underperforming, and intelligent routing selects another node that meets the same requirements. The job continues from its last checkpoint on the new node instead of from the beginning, so only the work done since that checkpoint is repeated. For the client, the usual effect is some added time rather than a failed job.

Failover vs retry

A retry sends the same request again, often to the same target, and works well for brief network errors. Failover switches to a different resource, which is necessary when the original one is down or degraded. Reliable systems use both: retry briefly, then fail over.

What do you want to do?