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
https://forums.phpfreaks.com/topic/131980-load-balancing/
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
https://forums.phpfreaks.com/topic/131980-load-balancing/#findComment-687492
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.