Mock Interviews
Design a GPU Job Scheduler
In this system design mock, the candidate designs a scheduler for a shared GPU pool. Users can submit immediate, scheduled, or recurring jobs and check their status. Each job specifies how many GPUs it needs, and some need all of those GPUs on the same machine.
The discussion follows a job from the database to a queue, then through worker dispatch and batching. The follow-ups explore what happens when queue publication fails, how workers learn that a long-running job has finished, and how the system can retry without duplicating work. In the debrief, Daniyal explains what showed Senior-level judgment and where a Staff-level candidate could drive the design further.
Interviewer assessment
- Level
- Senior
- Verdict
- Pass
- Confidence
- Strong
Comments
The candidate clarified the workload and scale, built a coherent job scheduling design, and identified several failure paths independently. They showed a good understanding of how the scheduling data model, polling service, database, and queue fit together.
For a Staff-level answer, take the lead on GPU placement and batching. Bring up the most consequential failure modes earlier, and explain who owns job state from dispatch through completion, when to retry, and how to prevent duplicate work.