System Design · Figma · Medium
Requirements Design an asynchronous job scheduler with two categories of work: Immediate jobs that should begin as soon as capacity is available. Delayed jobs that are submitted with a timer (for example, one hour) and should begin as soon as possible once that timer fires. The main focus is failure behavior: how to guarantee exactly-once execution, and what should occur if a worker dies halfway through a job.
Checking your access…