Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

RE: RE: Load Balancing

by meonkeys (Chaplain)
on Nov 14, 2000 at 07:51 UTC ( #41505=note: print w/replies, xml ) Need Help??

in reply to RE: Load Balancing
in thread using Net::Telnet to test Apache

How would you find out that one of your load-balanced boxes' httpd was working more slowly than the others? I'm open to suggestions.

Replies are listed 'Best First'.
RE: RE: RE: Load Balancing
by AgentM (Curate) on Nov 14, 2000 at 08:23 UTC
    Use available benchmarking software like Big Brother to optimize your system. Your current testing scheme may become invalid if you uncover network anomalies (or are you looking for network anomalies?). Have a simple script pound your webserver locally (assuming that it's a dedicated webserver) or over a connection that is otherwise dead of traffic. Every machine most likely has an IP (metaserver setup, right?), so use that in your call to LWP::Simple. Fork a multitude of fake browsers and see how many concurrent hits the server can take. Do this with all the machines and compare results. Good luck.

    I just thought of an easier way. I believe most webservers have some benchmarking capabilites. In that case, throw a benchmark patch onto the metaserver to time how much each serve is taking in response to the same web page being retrieved repeatedly. You'll be easily able to pick out the slow poke!

    AgentM Systems nor Nasca Enterprises nor Bone::Easy nor Macperl is responsible for the comments made by AgentM. Remember, you can build any logical system with NOR.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://41505]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2021-09-25 00:37 GMT
Find Nodes?
    Voting Booth?

    No recent polls found