PDA

View Full Version : [ubuntu] Round Robin Port Fowarding?


kevin11951
November 8th, 2009, 12:48 PM
I don't have the money to be able to get a second ip, but I want to try load balancing on an apache server, and was wondering if its possible to do round robin on a port forwarding level?

My router is based on ubuntu, so I should have total freedom with the internals unlike consumer routers.

-Kevin

Vegan
November 8th, 2009, 10:04 PM
What you want is part of cloud computing. Google it and you will see its a bit of work to get up and running.

Better is a faster server.

yknivag
November 10th, 2009, 02:45 PM
You could install "nginx" in front of the as many apache servers as you have and it will not only take care of the load balancing (on a weighted round robin basis) but also cache unchanging static content to reduce load.

It's in the repos and configuration is very straight forward.