Page 1 of 1

gearman + supervisord great combo

Posted: Thu Aug 12, 2010 10:21 am
by yacahuma
I just wanted to comment on these 2 products, GEARMAND + SUPERVISORD. I needed to detach a printing process from my web client. Also printing will (and did) kill the machine, if I just let every client print at the same time. Looking for a solution I found gearman. The thing is extremely easy to use and it has a php extension. After implementing gearman, I needed a nice way to spawn all the gearman worker processes. For that I found supervisord. Just create a section in the configuration file to specify the command and how many instances you one running, and presto. If one instance die, supervisor will restart it.

Right now, I wish I could put gearman inside supervisor, I have not being able to do it. Somethig about a return code from gearman. I am sure it can be done. I will keep trying.

If any of you are using these products, please let me know. It will be nice to have someone to ask questions about it.

thank you