🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44938

Re: Pipelining IHAVE commands with INN

#44938
From: Curt Welch
Date: Thu, 09 Mar 2000 00:00
87 lines
5179 bytes
Brad Knowles <brad@shub-internet.org> wrote:
> In article <20000308144707.860$xL@newsreader.com>, curt@kcwc.com (Curt
> Welch) wrote:


> > It would be interesting to know more about this.  What I want to do if
> > I can find the time is add code to analize more of this on my incomming
> > feeds.  i.e., keep track, by Message-ID of what was offered from who
> > and when.
>
>     You'd need to do this with good accuracy -- at least down to the
> millisecond level.  That's the only way you can be sure to know which
> peer offered you what article at what time.  I think INN logs this level
> of information by default, but I suspect that you might have to add this
> code to your server.

My server is single threaded like INN so there's no confusion about the
order in which things are processed.  I would use millisecond time stamps
to allow measures to that degree, but it wouldn't be required to "know" who
the article was seen from first for my architecture.

>     Which is the bulk of the news we have to receive or transmit --
> according to
> <http://www.news-feed.inet.tele.dk/innreport/news-notice.2000.03.07-05_29
> _33.html#inn_dist>, about 75% of all articles are 16KB or smaller, and
> about 55% of them are 2KB or smaller.

Bulk by article acount, not by volume.  If I read that chart correctly,
if you take all the aritcles 16KB or smaller, they make less than 1.5%
of the total volume of news.

It's that high article count, small volume part of Usenet that really
needs streaming feeds.

But the bulk of the volume of usenet would work very well with IHAVE
feeds.  A feed like that would spend most it's time streaming data
anyway.

>     Since most of the good news servers I peer with are in the US, and
> routes between our site and others over here in Europe can easily wind
> up going through the US and back, I'd say that I tend to have pretty
> high latency.

You could still move most the "bulk" of usenet with IHAVE feeds even
with that high latency.

But you don't need to defend your use of streaming feeds to me.  I'm
not trying to talk you into switching, I'm just thinking out loud.

> > I'm not sure what you are saying here.  But an IHAVE feed doesn't need
> > to put any extra load on the server.  The only problem is that a busy
> > server can't service the incomming feed fast enough to make it work
> > well at 10 articles per second.  But if you are only sending large
> > articles on the IHAVE feed, then the IHAVE's per second drops from 10
> > to 1.  And that shouldn't be a problem for an IHAVE feed to a busy
> > server.
>
>     Okay, so with large enough articles, IHAVE would be a more secure
> way of transmitting those articles -- especially for small sites with a
> limited number of peers.
>
>     But for sites that have a lot of peers (95), I would tend to believe
> that the article arrival times would be sufficiently distributed that
> properly handling precommit cache collisions should be a more than
> adequate method of dealing with the problem.

Yeah I'm assuming so.  But I don't really know.  The less peers, the more
danger of a problem.  But since I have no idea how much "danger" really
exists, it's hard to say anything about how many peers would be needed
to reduce that danger to a "safe" level.  95 sure "sounds" safe.

Since I seem to have read the Diablo code wrong, and it does send articles
on a "send later" request instead of dropping them, then the dangers there
are one of wasted bandwidth and not dropped articles.

>     Again, once you start talking about multiple streaming connections
> to a peer, you want to make certain that they never get backlogged,
> otherwise you're going to have a serious problem ever clearing that
> backlog.

And why's that?

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Technical Details
Message-ID: <20000309000551.289$gX@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!not-for-mail
References: <20000307112107.524$na@newsreader.com> <brad-208040.20222807032000@news.skynet.be> <20000307144134.035$KD@newsreader.com> <brad-E330A5.20514107032000@news.skynet.be> <952460805.821101@news.netscum.dk> <20000307170425.247$Qv@newsreader.com> <brad-BF24CC.08211508032000@news.skynet.be> <20000308115245.420$Lt@newsreader.com> <brad-964AFF.19323608032000@news.skynet.be> <20000308144707.860$xL@newsreader.com> <brad-7021C5.00462609032000@news.skynet.be>

Show Full Headers
Complete Article Headers
Message-ID: <20000309000551.289$gX@newsreader.com>
Subject: Re: Pipelining IHAVE commands with INN
Date: Thu, 09 Mar 2000 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <20000307112107.524$na@newsreader.com> <brad-208040.20222807032000@news.skynet.be> <20000307144134.035$KD@newsreader.com> <brad-E330A5.20514107032000@news.skynet.be> <952460805.821101@news.netscum.dk> <20000307170425.247$Qv@newsreader.com> <brad-BF24CC.08211508032000@news.skynet.be> <20000308115245.420$Lt@newsreader.com> <brad-964AFF.19323608032000@news.skynet.be> <20000308144707.860$xL@newsreader.com> <brad-7021C5.00462609032000@news.skynet.be>
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!not-for-mail
X-Deja-AN: 595026422
X-User: Curt@NewsReader.Com
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Newsgroups: news.software.nntp