Back to problems

Design a Task Scheduler

System Design · Robinhood · Medium

Architect a durable task scheduling service. Clients submit tasks that must execute at a specified time in the future, and worker processes claim and execute those tasks. The design must guarantee that no accepted task is lost, even when components crash. Describe: How tasks transition from “submitted” to “due” and how workers become aware of them. A mechanism for workers to atomically claim a task so that no two workers run the same instance. The system’s failure handling:…

Checking your access…