Regards
You are on the right track. I wrote the beanstalkd integration for Drupal and it is currently being used on Drupal.org
All you need to do us write a cli php application and then to have multiple workers just run the php application multiple times adding watches on the same queues and then when you grab a job from the queue beanstalkd will make sure the job will go to only 1 worker.
The biggest problem is going to be your php since if to connect to a. Existing application it us not built to run forever and sooner or later you will run out of memory and have to restart.
Gordon
Sent from my iPhone
> --
> You received this message because you are subscribed to the Google Groups "beanstalk-talk" group.
> To post to this group, send email to beansta...@googlegroups.com.
> To unsubscribe from this group, send email to beanstalk-tal...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/beanstalk-talk?hl=en.
>
Then I just make a program group with a line that looks like:
command=/usr/bin/php my_consumer.php
Provides good logging and auto restart
--chad
I have to agree with Chad. I also use supervisord. Plus, you can use tools in superlance to add memory management and email alerts.
Daniel
--
You received this message because you are subscribed to the Google Groups "beanstalk-talk" group.
To post to this group, send email to beansta...@googlegroups.com.
To unsubscribe from this group, send email to beanstalk-tal...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/beanstalk-talk?hl=en.
--
You received this message because you are subscribed to the Google Groups "beanstalk-talk" group.
To post to this group, send email to beansta...@googlegroups.com.
To unsubscribe from this group, send email to beanstalk-tal...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/beanstalk-talk?hl=en.
Supervisord.org
--chad