Design a scheduler, that takes in 10 scheduling requests at a time and can execute 100 jobs at a time.(The scheduler executes http requests.)

Medium
Company: Premium
GoogleAmazon

Imagine you're building a task scheduler, similar to cron but designed for a specific application. This scheduler needs to efficiently manage and execute a batch of scheduling requests at a time. The system should be robust, scalable, and maintainable, allowing for easy addition of new task types and scheduling strategies. Think about how to handle concurrency, prioritize tasks, and deal with potential failures. We aim to create a design that allows a system to accept 10 scheduling requests concurrently, and then execute them respecting configurable constraints, dependencies and priorities.

Requirements

Interview Simulation

Experience a realistic interview conversation. The interviewer will ask clarifying questions,and you'll reveal your understanding of the requirements.

Interviewer

Let's start by understanding the scope. What are the core functionalities this system needs to provide?

💡 Interview Tip

Identify the Actors (Who uses the system?) and their Use Cases (What are they trying to achieve?). Start with the 'Happy Path' scenarios.

Press ⌘ + Enter to submit

Premium Content

View detailed solutions.

UNLOCK PREMIUM