Article View: news.software.nntp
Article #18266Re: INN Performance Patch
From: Jerry Aguirre
Date: Thu, 05 Jun 1997 00:00
Date: Thu, 05 Jun 1997 00:00
28 lines
2073 bytes
2073 bytes
In article <33948068.4F305FB8@spinne.com>, Jeff Garzik <jeff.garzik@spinne.com> wrote: >The L1 precommit cache simply stores hashed msg ids in a 4096-elem array >after an IHAVE or TAKETHIS. The next IHAVEs or CHECKs that search for >the msg id will be refused. 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. 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. That article is coming (perhaps already has) down the pipeline. I.E. if 5 sites all do a check and you respond that you want them then your going to get 5 copies of the article. Fortunately streaming mode has a working send this later function. Innxmit will try a few seconds later a couple of times and then requeue to disk for the next run. It would be very reasonable to lock the ID at the first check and return a "send it later" code to any other CHECK for that ID.
Technical Details
Message-ID:
<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-mailReferences:
<5mt7et$s52$1@turing.mathworks.com> <82bu5ogp8s.fsf@manic.eecs.umich.edu> <5n15ar$9md$1@drum.msfc.nasa.gov> <33948068.4F305FB8@spinne.com>Show Full Headers
Complete Article Headers
Message-ID: <5n55uk$3ts$1@fes.whowhere.com> Subject: Re: INN Performance Patch Date: Thu, 05 Jun 1997 00:00:00 +0000 From: jerry@rigel.whowhere.com (Jerry Aguirre) References: <5mt7et$s52$1@turing.mathworks.com> <82bu5ogp8s.fsf@manic.eecs.umich.edu> <5n15ar$9md$1@drum.msfc.nasa.gov> <33948068.4F305FB8@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 X-Deja-AN: 246195180 Organization: WhoWhere?; Mt. View, CA USA Newsgroups: news.software.nntp