From: Peter Rabbitson <rabbit@rabbit.us>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Multihome load balancing - kernel vs netfilter
Date: Wed, 30 May 2007 04:55:13 +0000 [thread overview]
Message-ID: <465D03B1.3050204@rabbit.us> (raw)
In-Reply-To: <4647FA30.5040401@rabbit.us>
Salim S I wrote:
>> -----Original Message-----
>> From: Luciano Ruete [mailto:luciano@lugmen.org.ar]
>> Sent: Wednesday, May 30, 2007 11:46 AM
>> To: Salim S I
>> Subject: Re: [LARTC] Multihome load balancing - kernel vs netfilter
>>
>> On Tuesday 29 May 2007 03:16:47 you wrote:
>>> None of the load balancing techniques I have come across seems to
>> cover
>>> 'IP-Persistence'. For example, a session with several connections (for
>>> which no conntrack-helper modules exist), will have problems, as its
>>> connections will be routed through different WAN interfaces. Some
>>> servers are very particular about the source IP of the packets they
>>> receive. I suspect online gaming and instant messengers will have
>>> problems with load balancing. How is the experience of other people in
>>> here?
>>>
>>> A rewrite of 'recent' match to include both source and destination may
>>> turn out to be a solution, albeit with low performance. Any other
>> ideas?
>>
>> In this same thread a CONNMARK solution was exposed, and this same
>> CONNMARK
>> solution was openly discused several times in this list.
>>
>> All the cases that you mention (online gamming, instant messenger) and
>> all
>> other that you do not mention are solved having a connection-aware
>> firewall,
>> which is capable to route over the same link packets that belongs to the
>> same
>> logical connection, this is achived perfectly using netfilter CONNMARK.
>>
>> Regards!
> Sorry, but it doesn't work that way.
> CONNMARK needs helper modules like the ones for FTP or H.323 to really
> know if connections belong to the same session. To cover all gaming and
> IM apps with own helper modules is practically impossible. I remember
> even MSN have had problems (timeout every 5 mins), but it seems to have
> been fixed at the server level.
> Could you please point out if I had missed any open discussion in the
> list which covers these things?
Salim is correct, non-trackable protocols can be a major PITA. Actually
I discussed this earlier in the thread. Yes, kernel balancing due to
caching will alleviate this to a certain extent, but there will still be
surprises down the road, when a cache entry finaly expires. Besides
caching blows the entire balancing idea to bits if most users access
primarily the same resource over and over again (think of a popular
internet radio station). Furthermore neither route balancing nor the
netfilter approach will be effective for resources hosted over
_multiple_ distinct IPs (AIM is a very good example with separate
authentication and data servers). This is where the exception lists come
into play, which I also discussed. If one still wants to achieve pseudo
balancing on the exempted destinations, it is still possible with the
excellent SAME patch which makes a NAT decision based solely on an index
derived fom the size of the source pool to be NATted divided by the
number of NAT targets provided. Also note that as long as a service uses
a static range of ports, you do not even have to know all the
destination IP ranges in order to exempt it - simple port matching will do.
HTH
Peter
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next prev parent reply other threads:[~2007-05-30 4:55 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-14 5:57 [LARTC] Multihome load balancing - kernel vs netfilter Peter Rabbitson
2007-05-14 6:07 ` Salim S I
2007-05-14 7:15 ` Peter Rabbitson
2007-05-14 8:23 ` Salim S I
2007-05-14 11:24 ` Peter Rabbitson
2007-05-22 3:28 ` Luciano Ruete
2007-05-29 6:16 ` Salim S I
2007-05-30 3:58 ` Salim S I
2007-05-30 4:55 ` Peter Rabbitson [this message]
2007-05-31 5:02 ` Salim S I
2007-06-02 3:27 ` Luciano Ruete
2007-06-05 6:48 ` Salim S I
2007-06-05 21:09 ` Alex Samad
2007-06-13 2:52 ` Luciano Ruete
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=465D03B1.3050204@rabbit.us \
--to=rabbit@rabbit.us \
--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.