Jump to content

Load Balancing


The Little Guy

Recommended Posts

Is it possible to have a file overload, where a file is accessed so many times during a small period of time where the file gets overloaded, similar to the way a server gets overloaded?

 

On that note, if I make say 4 different "home.php" pages (home1.php, home2.php, home3.php, home4.php), could I direct the traffic to one of the four pages to lighten the load, or would that be next to pointless?

Link to comment
Share on other sites

PHP.net does it via round-robin based upon your 'guessed' geolocation.

 

Most hosts (ex, digg.com, cnn.com) utilize load-balancing. One head server redirects traffic via a piece of hardware or software to numerous other servers to handle the load. The load-balancer handles the incoming and outgoing flow of traffic, from what I recall.

 

Just having multiple files on a single server is pointless and does nothing - server load is affected by the number of processes running and how demanding they are on the server. 200 apache processes is still 200 apache processes.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.