Job queues are deceptively tricky

(typesanitizer.com)

23 points | by ingve 1 day ago

3 comments

  • wewewedxfgdf 1 hour ago
    You solve this simply with two cron jobs, one for weekend and one weekdays.
  • ktimespi 53 minutes ago
    I find it very annoying when queue problems break into queue-of-queue patterns like in the `wait`scenario
  • zmj 1 hour ago
    I haven't modeled it, but I wonder how far you'd get on randomizing the policy choice for concurrency limit 1. Maybe weighted by past results, but bounded to allow it to shift instead of falling permanently into a basin.