Table of Contents

Design the interface for a Job Queue

We have a service that allows people to submit long running jobs to us, and we process them.

We want to process these as fast as possible (obviously).

We allow our users to submit a job, and query for job status.

Jobs can be paused (at some penalty) and their progress can be saved before swapping to another job.

How do we make an efficient and fair job queue?

Questions

Solutions