From: "William L. Thomson Jr." <support@obsidian-studios.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] many ways to do load balancing (or not?)
Date: Fri, 22 Nov 2002 00:06:26 +0000 [thread overview]
Message-ID: <marc-lartc-103792368101951@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103788125614081@msgid-missing>
On Thu, 2002-11-21 at 14:55, Christoph Simon wrote:
> On 21 Nov 2002 14:20:57 -0800
> "William L. Thomson Jr." <support@obsidian-studios.com> wrote:
>
> > Also I do not believe the load balancing is packet based. Usually it's
> > more "connection" based. Meaning that if you request a file, more than
> > likely all parts of that file will be transfered using the same route.
> > If you request it again, it may take the same route or another.
>
> It is packet based. There is no connection concept in IP.
That's why I put that word in quotes. I meant more like during a file
transfer than with a connection in the true sense.
> >From the IP Command Reference:
>
> equalize: allow packet by packet randomization on multipath
> routes.
>
> My understanding is, that for equalize to work, all lines must go to
> the same point and that must not be the end point. Also, this same
> point must implement the equalize very much the same way.
Not necessarily. I have two lines going in completely different
directions, different private nets, and then via different ISP/Public
IPs.
Now for true load balancing or bonding yes. Both lines would need to be
coming from and going to the same ISP.
> > Now if the request was generated from the inside it would still work
> > some what the same. If I send two emails out at once, the first will use
> > gw1 and the other will use gw2.
> >
> > All packets for each will travel via the same route and use the same
> > gateway from start to finish.
>
> Not using equalize.
Yes using equalize, because the path will already be known and used from
catch. Correct that if a further look up occurs the packets will use a
different interface, but that is rare. Most of the time during a
transfer the route is already known and kept in catch from the first
initial lookup.
I have not run into any problems along those lines.
> > If it was more on a packet level, the other end would be confused.
>
> unless there is a routing cache which will hold the path.
That's the problem. The route cache on the Linux load balancing router
will be correct, but the route cache on the client will not be.
The client will be caching the wrong path. So unless a redirect is sent
the client will site there and expect further communication using the
route in cache.
When I was experimenting with route cache timing in the Linux kernel, I
had all kinds of problems on the client side. The client's catch
settings would need to be the same as the linux router. Which is pretty
impossible on the Internet. On a lan it would be a different story.
--
Sincerely,
William L. Thomson Jr.
Support Group
Obsidian-Studios Inc.
439 Amber Way
Petaluma, Ca. 94952
Phone 707.766.9509
Fax 707.766.8989
http://www.obsidian-studios.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2002-11-22 0:06 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-21 12:19 [LARTC] many ways to do load balancing (or not?) Andreas Hasenack
2002-11-21 17:46 ` Ashok N N
2002-11-21 19:11 ` Andreas Hasenack
2002-11-21 20:00 ` Ramin Alidousti
2002-11-21 22:20 ` William L. Thomson Jr.
2002-11-21 22:55 ` Christoph Simon
2002-11-21 23:41 ` Christoph Simon
2002-11-22 0:06 ` William L. Thomson Jr. [this message]
2002-11-22 0:24 ` William L. Thomson Jr.
2002-11-22 1:17 ` Ashok N N
2002-11-22 12:28 ` Andreas Hasenack
2002-11-22 12:30 ` Andreas Hasenack
2002-11-22 12:39 ` Andreas Hasenack
2002-11-22 12:41 ` Andreas Hasenack
2002-11-22 13:00 ` Christoph Simon
2002-11-22 13:26 ` Vincent Jaussaud
2002-11-22 18:05 ` William L. Thomson Jr.
2002-11-22 18:21 ` William L. Thomson Jr.
2002-11-22 18:37 ` William L. Thomson Jr.
2002-11-22 18:47 ` William L. Thomson Jr.
2002-11-22 20:34 ` Andreas Hasenack
2002-11-25 13:20 ` Vincent Jaussaud
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-103792368101951@msgid-missing \
--to=support@obsidian-studios.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.