Article View: news.software.nntp
Article #53589Re: rate-limiting peers
From: Eric A. Hall
Date: Wed, 01 Aug 2001 15:29
Date: Wed, 01 Aug 2001 15:29
31 lines
2607 bytes
2607 bytes
> You didn't really expalin what algorithm/logic you were going to do to > slow down the peers. Rate limit in bytes per second? articles per > second sent? articles per second offered? what? TCP rate-limiting, either by restricting rwin, or by stretching the ACKs so that the delay is artificially high. There are different ramifications for those two approaches, in particular wrt feed type. > You could then slow down the secondary using one of the rate limiting > options based on how many articles it was pusing in front of your > primary. That way, if the seconday started sending you lots of stuff > that the primary for some reason was never offering you, the system > wouldn't slow down the seconday just because it was sending so much. > It would only slow it down if it was sending too much of the wrong > stuff... > > The way my server is structured I could try implementing that idea... > Hum... Probably easier to implement delay timers on a per-peer basis, since you will probably only have direct access to rwin, and you may have trouble changing the rwin on a per-peer basis if you only have a single listener. But yeah, it would be nice to have sliders for "use x bandwidth" on a per-peer basis, combined with a weighted scheme for changing the usage based on external conditions. -- Eric A. Hall http://www.ehsco.com/ Internet Core Protocols http://www.oreilly.com/catalog/coreprot/
Technical Details
Message-ID:
<3B68204E.47CDD90A@ehsco.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.tn.home.com.POSTED!not-for-mailReferences:
<3B6735C3.FF59F476@ehsco.com> <20010801012336.182$ie@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <3B68204E.47CDD90A@ehsco.com> Subject: Re: rate-limiting peers Date: Wed, 01 Aug 2001 15:29:24 GMT From: "Eric A. Hall" <ehall@ehsco.com> References: <3B6735C3.FF59F476@ehsco.com> <20010801012336.182$ie@newsreader.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.tn.home.com.POSTED!not-for-mail Organization: EHS Company X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: news.software.nntp Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 30 NNTP-Posting-Host: 24.252.219.84 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.tn.home.com 996679764 24.252.219.84 (Wed, 01 Aug 2001 08:29:24 PDT) NNTP-Posting-Date: Wed, 01 Aug 2001 08:29:24 PDT