Job queues are deceptively tricky

25 points by typesanitizer


dpc_pw

I might be missing something here because I didn't have time to read it in detail, but by skimming through it, I think the root of the problem is this is not a job for a job queue. The types of jobs to be done needs to be adjusted by the capacity available. So the available worker(s) should be pulling/deciding the best thing to do at the given time and not get the work pushed to them.