Design a Multi-Cloud GPU Capacity Scheduler for Inference
Last updated: November 29, 2026
Quick Overview
Design the control plane that places model replicas onto GPU capacity spread across several cloud providers and regions, honoring customer constraints such as region or data residency, while maximizing availability and keeping cost low. Include how it reacts when a provider runs out of GPUs or a region fails.
Baseten
November 29, 20260
0
0 solved
Design the control plane that places model replicas onto GPU capacity spread across several cloud providers and regions, honoring customer constraints such as region or data residency, while maximizing availability and keeping cost low. Include how it reacts when a provider runs out of GPUs or a region fails.
Baseten runs inference across many clouds and regions so that no single provider's GPU shortage or outage takes a customer down, and it also supports deployments in customer-owned clouds. This is a senior infrastructure question about global scheduling, consistency of state and failure handling.
What the Interviewer Expects
- Separates a global placement layer from per-cluster schedulers such as Kubernetes
- Models capacity as pools by provider, region and GPU type with prices and reservations
- Applies hard constraints (residency, GPU type, customer VPC) before soft scoring (cost, latency, spread)
- Spreads replicas of one deployment across failure domains
- Handles capacity stockouts with fallback pools and backoff instead of tight retry loops
- Keeps a reconciliation loop so desired and actual state converge after partial failures
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 route traffic so users hit the closest healthy replica across clouds?
- How would you decide when to buy reserved capacity versus rely on on-demand?
- Weights live in one region. How do you keep cross-cloud cold starts reasonable?
- How do you test region failover without a real outage?
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
Functional: given a deployment spec (model, GPU type and count, min and max replicas, allowed regions), keep the requested number of replicas running somewhere valid. Non-functional: survive a full re...
High-Level Design
A global control plane stores desired state (deployments, replica targets) in a strongly consistent store. A placement service turns targets into assignments to clusters. Each cluster runs an agent th...