Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Getting Loaded

by ask (Pilgrim)
on Nov 30, 2001 at 17:18 UTC ( [id://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 (http://www.foundrynetworks.com/).

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. http://develooper.com/modperl/

 - ask

-- 
ask bjoern hansen, http://ask.netcetera.dk/   !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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-25 20:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found