Portal Home > Knowledgebase > Articles Database > Load balancing questions from a newbie


Load balancing questions from a newbie




Posted by LanceTan, 01-14-2011, 09:14 PM
I am so lost about load balancing it's not even funny. The more I read about it the more confused I get. #1) Can I load balance with any two servers? For example, if I buy one at one hosting company and then buy one at another hosting company, can I load balance these two servers? #2) Is load balancing the same as using one webserver to serve static files and another webserver to serve dynamic files? For example, I want to use nginx to serve my static content and use Apache to serve my PHP script. #3) Is load balancing done with hardware or software? Or both?

Posted by asciiDigital, 01-14-2011, 10:56 PM
Have a look at this: http://www.linux.com/archive/feed/60871

Posted by raffo, 01-15-2011, 12:18 AM
QUOTE=LanceTan;7222767]I am so lost about load balancing it's not even funny. The more I read about it the more confused I get. Shure! you can balance the load like CDN, so if you have 2 server, one in europe and one in america, if you have a italian client he will forward to the server on europe. You can configure your balance in what you want, just count the number of server.. No is not the same, Load Balancer is a router that are just the work to forward the packets in the server no busy, to balance the load. But you can also configure 2 IP address in one domain and configure 2 reverse proxy with nginx. that can be also a load balancing with round robin DNS.. and it can be also more efficent than 2 server on one load balancing router. Yes, Cisco ACE (http://www.cisco.com/en/US/products/...index.html)and F5 Big-IP (http://www.f5.com/products/big-ip/). This are 2 different IP Load Balancer Hardware.. But you can also configure a load balancer on a linux/unix server in very easy steps.. All can be done. You just need to build a project, then you can study how can do and how it can be work..

Posted by John-e5, 01-15-2011, 12:31 AM
Have a look at http://www.howtoforge.com/howtos/high-availability for some tutorials as well. You can set up some virtual machines and try some of the configurations.

Posted by serveradmin4linux, 01-15-2011, 10:39 PM
I hope howtoforgedotcom/high_availability_loadbalanced_apache_cluster this helps as well

Posted by kevinnivek, 01-16-2011, 01:01 AM
the easiest configuration is 'round robin'. also , look up : - linux keepalived - linux virtual server project



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
SolusVM + OpenVZ (Views: 570)
Hetzner.de Down ? (Views: 648)