httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinicius Petrucci" <vpetru...@gmail.com>
Subject updating workers' lbfactor
Date Thu, 27 Mar 2008 17:20:21 GMT
-- sorry in the case of duplicate messages --


Hi,

 I notice that in mod_proxy_balancer the workers' lbfactors is
 dynamically updated without any critical section lock between the
 call. That is, simply:

 wsel->s->lbfactor = ival;

 Quick question: If I am planning to change the lbfactors in my own
 apache module, is there any critical issue? I think the
 balancer-manager could cause some problems. Should I put locks in
 those sections (when updating the lbfactors)?


 Thanks.



-- 
Vinicius

Mime
View raw message