From: Christoph Simon <ciccio@kiosknet.com.br>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] many ways to do load balancing (or not?)
Date: Thu, 21 Nov 2002 23:41:25 +0000 [thread overview]
Message-ID: <marc-lartc-103792216600515@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103788125614081@msgid-missing>
On 21 Nov 2002 15:07:11 -0800
"William L. Thomson Jr." <support@obsidian-studios.com> wrote:
> > 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.
Two lines in different directions using equalize? What's the point of
this?
> > > 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 didn't play too much with equalize, but using it for load balancing
and redundancy failed for reason by with equalize is defined. As far
as I understood how weighting works: There are several identic routes
so that the probability to pick one of them corresponds to the given
weights. Still on a packet base. With equalize, the balancing should
be perfect, which can never be the case with few connections, even if
they imply massive data transfer. But if there is no NAT later, it
just can't work.
> > 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.
If "client" here is a computer reaching the internet through the linux
router (it can't be anything else, because you said that there are two
independent lines out of your control), and unless that client uses
source routing which might be ignored by the linux router, the
client's view of this situation really doesn't matter.
> 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.
The client will cache the route which leads to the Linux router and
not bother with details happening later.
--
Christoph Simon
ciccio@kiosknet.com.br
---
^X^C
q
quit
:q
^C
end
x
exit
ZZ
^D
?
help
.
_______________________________________________
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-21 23:41 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 [this message]
2002-11-22 0:06 ` William L. Thomson Jr.
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-103792216600515@msgid-missing \
--to=ciccio@kiosknet.com.br \
--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.