Object-Oriented Programming · Scale AI · Hard
Build a task scheduling service in three cumulative stages: first an in-memory deadline scheduler, then dependency-aware dispatch, then a distributed and fault-tolerant design. A task has the following fields: id: a unique task identifier deadline: an execution deadline stored as an epoch timestamp prerequisites: a list of task ids that must complete before this task may run; this list is empty in Stage 1 At any moment, among tasks that are currently eligible to run, the…
Checking your access…