Re: Net_Gearman v0.0.1 pre-release alpha RC ... you get the idea.

From: Date: Sat, 20 Oct 2007 08:42:26 +0000
Subject: Re: Net_Gearman v0.0.1 pre-release alpha RC ... you get the idea.
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-48273@lists.php.net to get a copy of this message
On 10/20/07, Arnaud Limbourg <arnaud@limbourg.com> wrote: > Joe Stump wrote: > > I've been working on Gearman for the upcoming images section here at > > Digg and, since we're a pure PHP shop (we're hiring!), I set off to > > create a PHP client that I plan on submitting to PEAR. It's based on the > > Python library (don't get me started on PHP's lack of a extendable > > socket class). > > > > At any rate here's the code: > > http://bugs.joestump.net/code/Net_Gearman/ > > > > And you can install the package by running: > > pear install > > > > "http://bugs.joestump.net/code/Net_Gearman/Net_Gearman-0.0.1.tgz" > > > > Things that I'm not currently doing very well and would love input (or > > patches!) on: > > 1.) Does it even work right? I mean, my tests run fine and it appears to > > be running things in parallel, but is it solid? > > 2.) It's not fully unit tested nor documented fully. > > 3.) I'm not doing a very good job of checking/validating sockets after > > they're opened to see if they go away. > > 4.) I don't do retries in Net_Gearman_Task/Set. > > 5.) I didn't implement the worker hooks that are ran at various stages > > of running a job (the Python library does this). This is a great way to > > implement logging listeners and I hope to implement it at some point. > > > > Thoughts? Suggestions? Outright flames? > > I didn't know Gearman before your email. For those who don't know it > either "Gearman is a system to farm out work to other machines, > dispatching function calls to machines that are better suited to do > work, to do work in parallel, to load balance lots of function calls, or > to call functions between languages." > > It sounds interesting and having a php client is good thing :) I just wanted to ask, maybe Joe means Net_German ;-)) - but your explaination makes more sense. I'll poke around later. Till

« previous php.pear.dev (#48273) next »