🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #18296

Re: INN Performance Patch

#18296
From: Jeff Garzik
Date: Thu, 05 Jun 1997 00:00
34 lines
2189 bytes
Jerry Aguirre wrote:
> I thought that INN already did this including a 60 second timeout.
> As is mentioned later in this thread this leads to the case where
> a slow feed can offer an article and all the others that attempt
> to send the same article (via IHAVE) will stall waiting for either
> the article to be received or the 60 seconds to elapse.

Very true, but if you refuse the IHAVE the feeds don't stall.  (Can't
really do much else with IHAVE anyway)

> Also for streaming (CHECK/TAKETHIS) the description doesn't seem
> correct.  The time to wory about duplicates is when the "CHECK" is
> sent, not the TAKETHIS.  When the sender does the "CHECK" you have to
> decide if it is a duplicate, being sent via another feed, or something
> you want.  If the sender does a TAKETHIS it is too late.

The reason I pre-commit the TAKETHIS is to make sure no one else offers
this article through CHECK or IHAVE during the transfer.  And for
articles that were previously CHECKed, it refreshes their cache entry so
that the lock has a longer life.

INN's default behavior for IHAVE is to download the article, then scrap
it if the same article arrived before the first copy finished
downloading.  The behavior for CHECK is better -- it defers the
article.   Neither refuse the article (without the pre-commit patch),
which is sometimes the desired behavior in a high-speed or redundant
environment.
-- 
Jeff Garzik
News Administrator, Spinne, Inc.
http://www.spinne.com/usenet/

Technical Details
Message-ID: <33964CF1.3CA5ACF0@spinne.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: <5mt7et$s52$1@turing.mathworks.com> <82bu5ogp8s.fsf@manic.eecs.umich.edu> <5n15ar$9md$1@drum.msfc.nasa.gov> <33948068.4F305FB8@spinne.com> <5n55uk$3ts$1@fes.whowhere.com>

Show Full Headers
Complete Article Headers
Message-ID: <33964CF1.3CA5ACF0@spinne.com>
Subject: Re: INN Performance Patch
Date: Thu, 05 Jun 1997 00:00:00 +0000
From: Jeff Garzik <jeff.garzik@spinne.com>
References: <5mt7et$s52$1@turing.mathworks.com> <82bu5ogp8s.fsf@manic.eecs.umich.edu> <5n15ar$9md$1@drum.msfc.nasa.gov> <33948068.4F305FB8@spinne.com> <5n55uk$3ts$1@fes.whowhere.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: 246235265
Organization: Spinne http://spinne.com
Newsgroups: news.software.nntp