Article View: news.software.nntp
Article #44894Re: Pipelining IHAVE commands with INN
From: Brad Knowles
Date: Wed, 08 Mar 2000 00:00
Date: Wed, 08 Mar 2000 00:00
86 lines
5051 bytes
5051 bytes
In article <20000308115245.420$Lt@newsreader.com>, curt@kcwc.com (Curt
Welch) wrote:
> The problem with streaming is that once a server says "yes, I want
> that article", there's no telling how long it might be before the
> article will actually be sent. And no real requirement that it be
> sent at all.
True enough, but if that's going into a precommit cache, you can
just age stuff out of that cache that is more than X seconds old without
being followed up by receiving the actual article.
> If it says, "238 Yes I want that article" to all duplicate checks, then
> there's going to be a lot of wasted bandwidth when all the feeds
> send the same article multiple times.
Yup, that's bad. You don't want to do this.
> If it says "431 Not now, try later", (the right think to do in my mind)
> it's unclear how many feeding sites will actually honor that correctly
> (i.e. actually hold it and try it again later).
I'd be willing to bet that INN is the only widely available news
transit software that handles this correctly. I'd like to see this get
fixed in Diablo, myself.
> I just stopped in the middle of writting this and checked the Diablo 1.11
> (a very old version of Diablo) source. Sure enough, it treats a 431 the
> same as a reject. Looking at the comments however, it looks like at one
> time, it used to treat it the same as a "OK, I want" it response.
Looking at the comments of dnewslink.c for 1.24-REL, it appears that
if the remote end responds with a 431, dnewslink will treat this as a
238 and will send the article.
I'd really like to see dnewslink put this back into a queue for
retrial at a later time. I'd also like to see diablo optionally respond
with a 431 (based on a per-feed configuration option), for articles that
are in the precommit cache, but are not yet in the history database.
> What my server is currently doing is answering "431 try again later" on
> the dups, but I have a 10 second time limit on that.
I believe that this will hurt you with your Diablo peers -- you'll
waste bandwidth. Although I do not have first-hand experience to back
up my belief, I suspect that this will also be a problem with
bCandid/Typhoon, DNews, and probably even NNTPRelay.
> That's why I say IHAVE is better. Understand?
If you could get the majority of news transit servers to properly
react to a 431, would that make you happy, and finally convince you that
CHECK really is better than IHAVE?
> You know, what we really should be doing is using IHAVE for all articles
> over a given size (5K I think would work). With larger articles, you
> don't need streaming.
But doesn't IHAVE also place a higher load on both the sending and
receiving ends, making it more difficult to serve a given number of
peers?
Also, you're the one who was talking about how streaming IHAVE made
more and more sense, as you got to larger and larger articles, or you
got higher and higher latency between peers. Wouldn't you be creating
exactly the problem that CHECK is supposed to solve relative to IHAVE,
since CHECK is designed to be streamed and IHAVE isn't?
> A few parallel IHAVE feeds will work fine and is
> likely to be far more relieable.
For those running news transit software that doesn't open more than
one connection to the remote end unless there is a backlog, doesn't this
pose a problem? INN would be fine, but Diablo would be hurt.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Note: No Microsoft programs were used in the creation or distribution of this
message. If you are using a Microsoft program to view this message, be
forewarned that I am not responsible for any harm you may encounter as a
result.
See <http://i-want-a-website.com/about-microsoft/twelve-step.html> for details.
Technical Details
Message-ID:
<brad-964AFF.19323608032000@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-mailReferences:
<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>Show Full Headers
Complete Article Headers
Message-ID: <brad-964AFF.19323608032000@news.skynet.be> Subject: Re: Pipelining IHAVE commands with INN Date: Wed, 08 Mar 2000 00:00:00 +0000 From: Brad Knowles <brad@shub-internet.org> 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> 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: 594807108 Mail-Copies-To: poster X-Complaints-To: abuse@skynet.be X-Trace: news1.skynet.be 952540367 1624 195.238.1.121 (8 Mar 2000 18:32:47 GMT) Organization: Shub-Internet X-URL: http://www.shub-internet.org/ User-Agent: MT-NewsWatcher/3.0 (PPC) NNTP-Posting-Date: 8 Mar 2000 18:32:47 GMT Newsgroups: news.software.nntp