🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53577

rate-limiting peers

#53577
From: Eric A. Hall
Date: Tue, 31 Jul 2001 22:49
26 lines
2264 bytes
Let's say that I have a peering session which has a lot of bandwidth but
which also has a lot of latency, and I also have a couple of secondary
peers with a lot of bandwidth but very low latency. If I am wanting to
prevent the secondary peers from becoming my primary peers, could I
introduce an artificial TCP rate limit on the secondaries to force them to
stay behind?

For example, if the secondaries had a bunch of articles, they would send
the ones they could, until the primary had caught up (or passed them), at
which point I would start rejecting articles from the secondaries (I got
the other articles from the primary during the burst). With a bit of
tweaking I could probably tuned this so that I was only getting localized
feeds from the secondaries, while getting 80% from the primary.

One problem I can see with this is that whenever the primary goes bye-bye,
the secondaries would be sending everything, and would have to jam the
feed during this period.

So things would be rough when the primary failed, but other than that,
anything else wrong with this approach?

-- 
Eric A. Hall                                        http://www.ehsco.com/
Internet Core Protocols          http://www.oreilly.com/catalog/coreprot/
Technical Details
Message-ID: <3B6735C3.FF59F476@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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshub2.home.com!news.home.com!news1.rdc1.tn.home.com.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <3B6735C3.FF59F476@ehsco.com>
Subject: rate-limiting peers
Date: Tue, 31 Jul 2001 22:49:24 GMT
From: "Eric A. Hall" <ehall@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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshub2.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: 25
NNTP-Posting-Host: 24.252.219.84
X-Complaints-To: abuse@home.net
X-Trace: news1.rdc1.tn.home.com 996619764 24.252.219.84 (Tue, 31 Jul 2001 15:49:24 PDT)
NNTP-Posting-Date: Tue, 31 Jul 2001 15:49:24 PDT