Yes, you're completly right and i have no excuse as requirements have not been given to me;
it's just that linux is not my cup of tea so it's more confortable to evaluate on windows before putting the effort to deploy on linux an adopted solution. Maybe a Gearman (installed with all the goodies) linux VM would be useful for newscomers like me for evaluation (and maybe more than evaluation).
Whatever, maybe i should have mentionned that my plan is php for the client code and to have Java-based workers; to be precise :
Client application code (PHP) <=> Gearman Job Server <=> Java-based workers <=> Bonita (java based bpm solution) in which some groovy code is used.
On Friday, May 18, 2012 5:22:51 AM UTC+2, Shane wrote:
I really feel like you're going against the grain trying to get Gearman running on Windows ESPECIALLY with PHP workers.
The JVM gearmand implementation looks promising. But for the workers, generally your options are using something like GearmanManager, daemonizing a PHP script (on Linux you'd use supervisord or similar), or using a PHP daemon library like
https://github.com/shaneharter/PHP-Daemon.
I'm sure GearmanManager and PHP daemon libraries are not possible on Windows. Nor or the posix and pcntl extension that make long-running PHP applications usable and manageable.
I understand sometimes we have to work with the requirements we've been given, so if you have to use Windows, I'd strongly suggest you go for, say, Java-based workers. You will have a much more enjoyable development experience and I'd wager a more reliable finished product.
Shane