问题
I am looking for a comprehensive Gearman tutorial (preferably with the PHP API). I am trying to understand the flow of the process. I set the daemon running, create clients and workers, but how do I handle them with Gearman (like add/remove workers etc.)?
回答1:
For managing workers with PHP, I suggest my GearmanManager. Used by lots of people. https://github.com/brianlmoon/GearmanManager/
回答2:
From a quick Google search:
- http://gearman.org/?id=gearman_php_extension
- http://www.lornajane.net/posts/2011/Using-Gearman-from-PHP
- http://www.slideshare.net/felixdv/high-gear-php-with-gearman
- http://weierophinney.net/matthew/archives/240-Writing-Gearman-Workers-in-PHP.html
回答3:
IBM link is quite useful.
来源:https://stackoverflow.com/questions/5047196/any-gearman-tutorial