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 18:37:33 +0000 [thread overview]
Message-ID: <marc-lartc-103799040124031@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103788125614081@msgid-missing>
On Fri, 2002-11-22 at 04:39, Andreas Hasenack wrote:
> Em Thu, Nov 21, 2002 at 04:24:06PM -0800, William L. Thomson Jr. escreveu:
> > But I have been informed I believe by Julian and others that the load
> > balancing, multipath equalize feature can be used even without NAT but
> > in a different situation that mine?
>
> I'm confused as well. Suppose you have two links to the internet, a DMZ,
> and an internal network, SNAT'ed. Suppose you have a public web server
> in the DMZ (the DMZ is not SNAT'ed).
>
> How would multipath route (with or without equalize) help here? I mean,
> it would only really help if there were connections starting from
> the inside (DMZ or SNAT'ed network) to the outside. But:
Exactly
> - the internal network would probably do many downloads, and not uploads
In this case the multipath will help out. Splitting the downloads over
the different interfaces. This way all lines will be used for downloads.
Although the actual load will not be equal on all lines, as previously
mentioned. But depending on the amount of routes and weights, the
requests/lookups will be properly balanced.
> - the web server doesn't originate traffic, it responds to requests from
> the outside world, and it will respond using the same link the request
> came in (or not?)
This is why I kept saying that you have to load balance from the outside
in and the inside out.
Inside out was above using multipath.
Outside in is load balanced using DNS. Bind allows you to specify
multiple IPs for a domain, and a similar weight value. So you can load
balance DNS look ups.
In my case where everything is even I have two Public IPs for each
server in my DNS records. Do a dig on my domain.
You will get two IPs, and each time a dns lookup occurs you should get
on or the other.
In theory every other request gets a different IP. So Bind is trying to
load balance things from the outside world. But depending on allot of
different variables, the client could end up doing another lookup or
using an interface out of the load balancing order. So it's not perfect.
But to complete the load balancing scenario it's absolutely necessary.
Otherwise there is no way to load balance from the outside world without
your ISP providing a service or using something like BGP.
So load balancing inside out is done via multipath equalize, and load
balancing from the outside in is done via DNS, in my case BIND.
--
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 18:37 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.
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. [this message]
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-103799040124031@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.