All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lars Nooden <lars.curator@gmail.com>
To: netfilter@vger.kernel.org
Subject: CPU-based load balancing and IPTables
Date: Thu, 15 Oct 2009 21:36:06 +0300	[thread overview]
Message-ID: <4AD76B96.10406@gmail.com> (raw)

Where should I look for putting together IPTables based load balancing
based on CPU-load of the targets so that new connections would be
distributed to machines with the lowest CPU load?
(IFF that is the 'right' way)

The load balancing I've seen mentioned in the archives and in the man
page for iptables seems to be traffic-based or some kind of probability
or round-robin.  There are also prominent load balancing software
specializing in HTTP/HTTPS, but how about generic traffic, such as a
terminal server?  The traffic load to any given terminal server might
not be that great nor in proportion to the CPU activity.

	                      net
	                       |
	                    iptables
	                       |
	         +------+------+------+------+
	         |      |      |      |      |
		LTS1   LTS2   LTS3   ...    LTSn

Is there some pre-existing example, or a sensor that can be monitored on
the servers and used to nudge IPtables on the switch?

Regards
/Lars

                 reply	other threads:[~2009-10-15 18:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4AD76B96.10406@gmail.com \
    --to=lars.curator@gmail.com \
    --cc=netfilter@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.