Committed By: bradfitz
wcmtools/gearman/lib/Gearman: Client.pm Worker.pm
-- TCP_NODELAY on both client and worker. removes the FIXME lines and makes the system
a ton faster.
-- client: caching of job server sockets. tasksets can now loan sockets (and share them
amongst tasks in their taskset) and return them to the taskset's client when done.
this required changing/splitting the _process_packet into _get_packet/_wait_for_packet
and making _wait_for_packet a hairy event loop
Things are currently being tested and moved around as I play failure
testing at different levels.
There are several known bugs, including choppy rates on workers,
client spinning on job server death, etc. These need to be looked at
To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 wcmtools/gearman/lib/Gearman/Client.pm
cvs rdiff -r1.2 -r1.3 wcmtools/gearman/lib/Gearman/Worker.pm