From owner-freebsd-current Fri Jan 21 17:34:23 2000 Delivered-To: freebsd-current@freebsd.org Received: from rah.star-gate.com (216-200-29-190.snj0.flashcom.net [216.200.29.194]) by hub.freebsd.org (Postfix) with ESMTP id B8030155F4; Fri, 21 Jan 2000 17:34:15 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.9.3/8.9.3) with ESMTP id RAA23696; Fri, 21 Jan 2000 17:33:22 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <200001220133.RAA23696@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Rodney W. Grimes" Cc: obrien@FreeBSD.ORG, jdp@polstra.com (John Polstra), current@FreeBSD.ORG Subject: Re: Please help spread the CVSup mirror load more evenly In-reply-to: Your message of "Fri, 21 Jan 2000 17:23:17 PST." <200001220123.RAA59410@gndrsh.dnsmgr.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 21 Jan 2000 17:33:21 -0800 From: Amancio Hasty Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Hi David, > > > > John can implement a ping echo packet protocol for cvsup whose > > response can have "cool" information on the server. Steven's > > book on Networking already has the code for doing network latency > > calculations . It is more like if John has the time to implement > > such scheme .... > > You don't even need to modify the protocol. Just write a small > tcp program that times the 3 way handshake on open to all the > servers, take the one with the sortest time and spit that out > for the user to stuff in his cvsupfile. > > 15 lines of perl should be more than enough :-) > Hi, Thats gross server load balancing . The network travel time does not tell you how how loaded the machine is or the server. There are couple of RFCs on network load balancing with respect to servers or services and I am sure that there are also widely available research papers. Here is a "cool" pointer to a RFC archival with a query capability... http://sunsite.auc.dk/RFC/ Have Fun Guys! -- Amancio Hasty hasty@rah.star-gate.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message