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

wcmtools

Module Name: wcmtools
Committed By: bradfitz

Modified Files:
---------------
wcmtools/gearman/lib/Gearman: Util.pm Worker.pm
wcmtools/gearman/server: gearmand

Log Message:
------------
new command for worker-clients to send the server a random client id.

server then tracks this client id and has a new mgmt command "workers"
that shows all connected workers, their self-generated client ids, and
their capabilities.

then, monitoring scripts (nagios/etc) can tell that a worker connected
to two differnet job servers are actually the same, since their client
ids are the same.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 wcmtools/gearman/lib/Gearman/Util.pm
http://cvs.danga.com/browse.cgi/wcmtools/gearman/lib/Gearman/Util.pm.diff?r1=1.6&r2=1.7
cvs rdiff -r1.3 -r1.4 wcmtools/gearman/lib/Gearman/Worker.pm
http://cvs.danga.com/browse.cgi/wcmtools/gearman/lib/Gearman/Worker.pm.diff?r1=1.3&r2=1.4
cvs rdiff -r1.6 -r1.7 wcmtools/gearman/server/gearmand
http://cvs.danga.com/browse.cgi/wcmtools/gearman/server/gearmand.diff?r1=1.6&r2=1.7
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