Ray Zimmerman wrote:
At 5:10 PM +0100 10/16/03, Ged Haywood wrote:

Have you searched the archives?  There was a thread talking about load
balancing earlier in the year, see

http://groups.yahoo.com/group/modperl/message/49334

for example which might help.


Thanks, I hadn't seen this thread. The pointer to the URL Rewriting Guide were helpful, but I'm still not sure what's a good strategy for querying the backend servers about their current load?

Apache::Scoreboard has an API for retrieval of the server scores, which includes a lot of useful information about the Apache processes, but not the system information. But that could be useful enough as you will know how many processes are busy churning requests, and can probably make some good judgements based on that information.


In case you want to know the real load (CPU/mem usage), you could write a simple handler which will return this data to the front end server on request. You could use GTop if libgtop is available on your OS. See Apache::VMonitor for an example of its usage.

Of course you may want to try using mosix/openmosix which come with tools to do that internally. But clusters is not a topic to discuss on this list, you are better off to do that on the scalable list.
http://perl.apache.org/docs/offsite/other.html#Performance_and_Scalability


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Reply via email to