In our continued tuning of our 150m+ file MogileFS installation, we
noticed that the replication worker on the tracker does not make use of
the separate HTTP listener we installed on the mogstored nodes
(lighttpd).  The following changes for 2.17 from CPAN, create a new
configuration element (repl_use_get_port) that takes advantage of
alternative get ports for storage nodes.   We are still evaluating the
benefit of the solution, but it should shift further pressure off of the
mogstored/perlbal daemon.  Use at your own discretion.  

 

Config.pm

 

66d65

<     $repl_use_get_port,

99d97

<                              'repl_use_get_port=i' =>
\$cmdline{repl_use_get_port},

163,164d160

<     $repl_use_get_port = choose_value( 'repl_use_get_port', 0 );

< 

 

 

Worker/Replicate.pm

 

780,782d779

<     if (MogileFS::Config->config("repl_use_get_port")) {

<       $sport = $shost->http_get_port;

<     }

 

 

Reply via email to