Skip site navigation (1)Skip section navigation (2)
Date:      11 Aug 1999 09:48:39 -0400
From:      Chris Shenton <cshenton@uucom.com>
To:        Barrett Richardson <barrett@phoenix.aye.net>
Cc:        Steve Hovey <shovey@buffnet.net>, Mitch Vincent <cygone@zoomnet.net>, freebsd-isp@FreeBSD.ORG
Subject:   Re: Loadbalance webservers
Message-ID:  <lfd7wul96w.fsf@Samizdat.uucom.com>
In-Reply-To: Barrett Richardson's message of "Tue, 3 Aug 1999 09:57:31 -0400 (EDT)"
References:  <Pine.BSF.4.01.9908030955260.2994-100000@phoenix.aye.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Barrett wrote:

    You can just have multiple address records 

    www      IN    A    x.x.x.3
	     IN    A    x.x.x.4
		  .
		  .
		  .
	     IN    A    x.x.x.n


Found some solid info on ISC's BIND documentation about trying to do
load balancing with DNS. The "SRV" record is designed for this but I
haven't found software that uses it (tho BIND8 implements it). So the
multiple records are a bit of a hack and will hose you if one of the
servers dies.

There's a pointer to "lbnamed" from Stanford which looks worth
trying. It puts a little load-monitor daemon on each server which the
balancing named queries; presumably it hands out records for the
least-loaded server and won't hand out records for servers that don't
respond. 

It would be way cool to modify the server-based daemon to have it
determine the network distance/cost to the *client* then feed that to
the lbnamed so it could return a record corresponding to the server
fastest/closest to the actual client. This would implement WAN load
balancing much like F5 Lab's $27K (each) 3DNS.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?lfd7wul96w.fsf>