Design a GPU Cluster Scheduler for ML Training

0%

Editorial Solution

System Requirements

Capacity Estimation

Fleet size

API Design

Job Submission API (REST, user-facing)

Database Design

Cluster State Store — etcd

High-Level Design

Request Flows

Flow 1: Normal job submission and gang dispatch

Detailed Component Design

1. Placement Engine — topology-aware scoring

Trade-offs and Technology Choices

etcd versus PostgreSQL for scheduler state

Failure Scenarios and Bottlenecks

Scheduler leader crashes

Future Improvements

ML-predicted queue wait times

Topology-aware preemption

Table of Contents

System Requirements

Capacity Estimation

Fleet size

API Design

Job Submission API (REST, user-facing)

Database Design

Cluster State Store — etcd

High-Level Design

Request Flows

Flow 1: Normal job submission and gang dispatch

Detailed Component Design

1. Placement Engine — topology-aware scoring

Trade-offs and Technology Choices

etcd versus PostgreSQL for scheduler state

Failure Scenarios and Bottlenecks

Scheduler leader crashes

Future Improvements

ML-predicted queue wait times

Topology-aware preemption

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock
Try this problem yourself

Reading a solution is not the same as producing one under interview pressure. Design it on the whiteboard and get scored feedback.


Markdown supported

0%

Editorial Solution

System Requirements

Capacity Estimation

Fleet size

API Design

Job Submission API (REST, user-facing)

Database Design

Cluster State Store — etcd

High-Level Design

Request Flows

Flow 1: Normal job submission and gang dispatch

Detailed Component Design

1. Placement Engine — topology-aware scoring

Trade-offs and Technology Choices

etcd versus PostgreSQL for scheduler state

Failure Scenarios and Bottlenecks

Scheduler leader crashes

Future Improvements

ML-predicted queue wait times

Topology-aware preemption

Table of Contents

System Requirements

Capacity Estimation

Fleet size

API Design

Job Submission API (REST, user-facing)

Database Design

Cluster State Store — etcd

High-Level Design

Request Flows

Flow 1: Normal job submission and gang dispatch

Detailed Component Design

1. Placement Engine — topology-aware scoring

Trade-offs and Technology Choices

etcd versus PostgreSQL for scheduler state

Failure Scenarios and Bottlenecks

Scheduler leader crashes

Future Improvements

ML-predicted queue wait times

Topology-aware preemption