How would you implement a job queue system?

Technical