Interview with a FAANG engineer.

Job Scheduler (System Design)

Watch someone solve the job scheduler problem in an interview with a FAANG engineer and see the feedback their interviewer left them. Explore this problem and others in our library of interview replays.

Problem type
Job Scheduler
Interview question
Design a Job Scheduler that runs at scheduled intervals

Interview Feedback

Feedback about Mutant Anteater (the interviewee)

Strengths:

Weaknesses:

Overall Feedback

Interview Transcript

Doctor Squab: So I've been working at FAAng for about six plus years. My current level is l six. And I have interviewed about 100 plus candidates, a lot of them for system design, a lot of them for coding. I have sat in hiring committee meetings and stuff like that. So hopefully this interview will be helpful in that regard. My core expertise is in machine learning, mostly in images and videos. But in the past, I have kind of done all sorts of stuff. Yeah, that's about me. I wanted to understand what kind of roles you are applying for so that I can tailor the interview according to that.


Job Scheduler Requirements

  1. Functional Requirements:

    • Users can upload jobs to the scheduler.
    • Users can modify existing jobs.
    • Users can cancel jobs.
    • Users can check job status.
  2. Non-Functional Requirements:

    • Reliability: The job must run at the scheduled time; failure is not acceptable.
    • Scalability: Must be able to handle up to 100 million users, each scheduling jobs daily.
    • Fault Tolerance: The system should handle failures gracefully and ensure jobs are not lost.
    • Monitoring: Users should be able to get updates on their jobs.

High-Level System Design

Conclusion