chrisboulton/php-resque — Issue #32: Multiple Workers = Lost jobs?
Author: RVN-BR
Created: 2011-12-22 03:17:30+00:00
State: open

As per a comment on issue #30, I'm opening this issue in order to help gather more info and find a fix for the bug.

I observed that when deploying multiple workers, some jobs dont get processed...

Basically the test I did was:

watch output and number of jobs, launch 5 workers.
Enqueue 10 jobs. number of jobs in redis gets augmented to 10 (so 10 jobs queued), but only a few get really processed. Nonetheless, they all get pulled out of the queue...

So basically it is "loosing" jobs.

I will try and test more tomorrow, time permitting, and post back.

Chris said he had already noticed this, so if anyone else has noticed and/or fixed this, please let us know.

Imo this is crucial for any production environment, no? Is anyone using phpresque in a production environment? Are you loosing jobs? Maybe you havent noticed? Can you please check and revert?

thanks!