Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That is a very neat solution. The one downside I see is that you need to be much more careful about gracefully handling errors within workers.

For example: if a single worker thread crashes but the process doesn't realise it, it may be possible for jobs to become stuck, because other workers rely on the process releasing the job back to the queue. It's definitely solvable but something to be aware of.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: