Brad Fitzpatrick (bradfitz) wrote in changelog,
Brad Fitzpatrick
bradfitz
changelog

wcmtools

Module Name: wcmtools
Committed By: bradfitz

Modified Files:
---------------
wcmtools/gearman/lib/Gearman: Client.pm Worker.pm

Log Message:
------------
-- 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
tomorrow.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 wcmtools/gearman/lib/Gearman/Client.pm
http://cvs.danga.com/browse.cgi/wcmtools/gearman/lib/Gearman/Client.pm.diff?r1=1.4&r2=1.5
cvs rdiff -r1.2 -r1.3 wcmtools/gearman/lib/Gearman/Worker.pm
http://cvs.danga.com/browse.cgi/wcmtools/gearman/lib/Gearman/Worker.pm.diff?r1=1.2&r2=1.3
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments