Forum Moderators: phranque

Message Too Old, No Replies

What is your favourite software load balacing solution?

         

foxfox

5:41 am on Dec 25, 2006 (gmt 0)

10+ Year Member



LVS?

or others?

Corey Bryant

4:18 pm on Dec 25, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



F5

-Corey

DamonHD

4:22 pm on Dec 25, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Roll-my-own...

foxfox

4:39 pm on Dec 25, 2006 (gmt 0)

10+ Year Member



I mean Software...

F5 is good, but too expensive

DamonHD

5:37 pm on Dec 25, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, I mean software.

Where it matters for me I do some at the DNS level and most at the application level. I actually don't have any intermediate "transparent" load-balancer in hardware or software for my sites.

A guy who used to be in charge of the hundreds of Web-facing hosts of a very well and internationally known news organisation described load balancers as poor PCs in the way of good servers. Most of his back-end stuff was Suns that didn't need even so much as a firewall in order to be safe, and much of his balancing was done at the DNS level as I understand it.

Keep it simple, remembering that the load balancer is an extra, complicated mechanism that can break or behave unexpectedly.

Rgds

Damon

foxfox

6:00 pm on Dec 25, 2006 (gmt 0)

10+ Year Member



is DNS level a good choice?

such as:

1. can't support session
2. effect of DNS caching

eventus

6:53 pm on Dec 25, 2006 (gmt 0)

10+ Year Member



POUND

It's free and bulletproof

DamonHD

6:54 pm on Dec 25, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi,

DNS is likely to be only part of the answer, but, for example, not every user requires a session.

If you consistently serve DNS based on geo-based client IP then session handling and cacheing would be no more more or less an issue than it ever otherwise would be, since you would always serve the same info to any given user in all usual cases. Or/and you can get round the problem by globally distributing session state on demand, eg locked to a cookie set in the user's browser in case the user's browser changes IP address.

For my main application I use simple round-robin DNS load-balancing as the first stage, with decent cache times (TTL ~ 24hr), and then the moment that the user tries to do anything that needs a session (which I minimise) I push them to a named local mirror, for example. Plain old browsing and searching does NOT need a session for my main site/app---the only things that DO require a session currently are overriding language choice for i18n and selecting a "lite" version of the pages for faster loading.

Rgds

Damon

foxfox

4:11 am on Dec 26, 2006 (gmt 0)

10+ Year Member



thanks for your reply first.

if i want to have serveral sites around the world, e.g. Japan, Korea, China, UK & US

i want the client use their nearest mirror if possible, while do some kind of load balacing, e.g.

people in asia should use Japan, Korea, China (but also UK & US if needed)

people in america should use US, UK

what kind of load balacing is recommended in this case?

thanks.

DamonHD

9:17 am on Dec 26, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



DNS based geo-targetting by client IP might work well for you.

Rgds

Damon

DamonHD

9:22 am on Dec 26, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi,

A futher note:

For my setup I assume that everyone has reasonably good connectivity to the US and UK, but then I assume connectivity roughly divides along address-registry lines, eg ARIN, RIPE, APNIC and AfriNIC.

However, AsiaPac is much more fragmented than North America or Europe, and I can't figure out how to handle South America at all!

Rgds

Damon

foxfox

10:57 am on Dec 26, 2006 (gmt 0)

10+ Year Member



any existing packages recommended?

thanks.

DamonHD

4:17 pm on Dec 26, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi,

I always roll my own, but I'd be surprised if there were no standard/free solutions based on BIND.

Try Google and SourceForge.

Rgds

Damon

foxfox

4:28 pm on Dec 26, 2006 (gmt 0)

10+ Year Member



Thanks for your reply!

foxfox

10:21 am on Jan 6, 2007 (gmt 0)

10+ Year Member



some days after researching and testing

i have the conclusion and hope it can help others

For simple, fast setup

the winnner is : POUND

For flexible & powerful

the winner is : LVS