Gentoo Archives: gentoo-server

From: Robert Sanders <rob-lists@××××××××.com>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] network load balancing
Date: Fri, 23 Jul 2004 03:15:55
Message-Id: 200407222315.25552.rob-lists@route256.com
In Reply to: Re: [gentoo-server] network load balancing by "Sancho2k.net Lists"
1 On Thursday 22 July 2004 07:04 pm, Sancho2k.net Lists wrote:
2 > There's bound to be similar functionality available in Linux somewhere,
3 > but I remembered OpenBSD's pf supporting something like this. It
4 > supports address pooling and round-robining between multiple outbound
5 > connections.
6 >
7 > http://www.openbsd.org/faq/pf/pools.html#outgoing
8 >
9 > Usually something like this might be done using BGP and some routing
10 > magic to set policy on routing out through these. If you were to
11 > investigate setting this up, Quagga (formerly zebra) has a bpgd and so
12 > does OpenBSD (introduced in 3.5 or 3.6, don't remember. Now a userland
13 > bgpd native to the OS.)
14
15 Unfortunatly, neither one of these will fragment the file and allow both pipes
16 to upload. Also, you won't be able to negotiate a BGP with the upstream.
17 Even if you could, BGP isn't much more than a smart load balancer.
18
19 The only thing I can think of would be to use something like bittorrent to
20 seed the file, and make it availible to both networks at once. Then the file
21 could be sucked out of both networks, in chunks, and put back together.
22 Also, taking this idea you may be able to use the underlying fundamentals and
23 create a point to point link that can balance the two, but I haven't seen it
24 done yet. Also, it wouldn't work for the world unless you had a proxy of
25 sorts on the fat end of your connections.
26
27 In your origional post, you mention uploading ISO's. Probably the highest
28 bandwidth but highest latency option availible to everyone, mail service.
29 You could probably snail mail large files to someone on a backbone faster
30 than uploading at dual dialup or ISDN. Not pretty, but not horrid either.
31 People send me DVD's and CD's all the time, because their residential
32 connection can't upload it at any reasonable speed.
33
34 Rob