gearman + supervisord great combo

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

gearman + supervisord great combo

Post 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
Post Reply