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

Re: Getting Loaded

by ask (Pilgrim)
on Nov 30, 2001 at 17:18 UTC ( #128616=note: print w/replies, xml ) Need Help??

in reply to Getting Loaded

You need to tell us more about your requirements. How much traffic; what kind of application; how many servers, etcetera.

There is the Linux Virtual Server project for making a load balancer. I don't know how far that will scale. The right commercial loadbalancers can easily scale to hundreds of megabits per second and many thousand requests per second. I have good experiences with that using equipment from Foundry Networks (

If you are using CGI now, the first thing you should do to scale better would be installing mod_perl.

The best way to scale MySQL (and other SQL databases) is by caching as much as possibly as close to the application as possibly.

 - ask

ask bjoern hansen,   !try; do();

Replies are listed 'Best First'.
Re: Re: Getting Loaded
by hakkr (Chaplain) on Nov 30, 2001 at 17:34 UTC
    I want to have 2+ servers with identical html files, CGI and databases. So I need a solution to balance requests to the domain between these 2+ servers. Traffic: I have to be able to add servers as required. Must eventually be able to provide service for 10,000 users Application: High availabilty Search Engines.

      If you are dealing with a session-less application, or if you plan on maintaining all of your session data in a database, then my suggestion would be to just use round-robin DNS for now. When you get to the 10,000 user level, I suspect you'll be using many more than 2 servers, and it might become worth it to look into a hardware solution at that point.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2022-01-17 17:19 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (51 votes). Check out past polls.