Job queues are deceptively tricky
29 points
1 day ago
| 4 comments
| typesanitizer.com
| HN
irjustin
25 seconds ago
[-]
I remember learning about CSV parsing and how it's conceptually simple, yet beyond the simple , and quotes: the corner cases bloat your parser 10-15x.
reply
wewewedxfgdf
1 hour ago
[-]
You solve this simply with two cron jobs, one for weekend and one weekdays.
reply
ktimespi
1 hour ago
[-]
I find it very annoying when queue problems break into queue-of-queue patterns like in the `wait`scenario
reply
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.
reply