Article View: news.software.nntp
Article #80476Re: [INN] 437 Duplicate
From: Julien ÉLIE
Date: Sun, 29 Mar 2009 15:46
Date: Sun, 29 Mar 2009 15:46
79 lines
5558 bytes
5558 bytes
Hi Jeffrey,
> In principle, yes[*], but if you have multiple peers on fast
> connections, it's possible that near-simultaneous CHECKs take
> place, all receive affirmitive responses, and then the article is
> sent multiple times.
Normally, the first peer will receive 238 (send article to be
transferred) and the second peer 431 (do not transfer but try
again later).
But depending on the implementation of the news server (shared
list of message-IDs between processes for instance), simultaneous
CHECKs might answer 238 to both of them.
> [*] There is the following caveat in the RFC (although I don't
> think this behavior is widely implemented):
>
> The client MAY send articles via TAKETHIS without first querying the
> server with CHECK. The client SHOULD NOT send every article in this
> fashion unless explicitly configured to do so by the site
> administrator based on out-of-band information. However, the client
> MAY use an adaptive strategy where it initially sends CHECK commands
> for all articles, but switches to using TAKETHIS without CHECK if
> most articles are being accepted (over 95% acceptance might be a
> reasonable metric in some configurations). If the client uses such a
> strategy, it SHOULD also switch back to using CHECK on all articles
> if the acceptance rate ever falls much below the threshold.
At least INN does that. I do not know whether other news servers also
implement that behaviour.
According to the innfeed.conf man page:
no-check-high
This key requires a floating-point number which must be in the
range [0.0, 100.0]. When running transmitting with the streaming
commands, innfeed attempts an optimization called ``no-CHECK''
mode. This involves not asking the peer if it wants the article,
but just sending it. This optimization occurs when the percent-
age of the articles the peer has accepted gets larger than this
number. If this value is set to 100.0, then this effectively
turns off no-CHECK mode, as the percentage can never get above
100.0. If this value is too small, then the number of articles
the peer rejects will get bigger (and your bandwidth will be
wasted). A value of 95.0 usually works pretty well. NOTE: In
innfeed 0.9.3 and earlier this value was in the range [0.0,
9.0].
no-check-low:
This key requires a floating-point number which must be in the
range [0.0, 100.0), and it must be smaller that the value for
no-check-high. When running in no-CHECK mode, as described
above, if the percentage of articles the remote accepts drops
below this number, then the no-CHECK optimization is turned off
until the percentage gets above the no-check-high value again.
If there is small difference between this and the no-check-high
value (less than about 5.0), then innfeed may frequently go in
and out of no-CHECK mode. If the difference is too big, then it
will make it harder to get out of no-CHECK mode when necessary
(wasting bandwidth). Keeping this to between 5.0 and 10.0 less
than no-check-high usually works pretty well.
no-check-filter
This is a floating point value representing the time constant,
in articles, over which the CHECK / no-CHECK calculations are
done. The recommended value is 50.0 which will implement an IIR
filter of time constant 50. This roughly equates to making a
decision about the mode over the previous 50 articles. A higher
number will result in a slower response to changing percentages
of articles accepted; a lower number will result in a faster
response.
--
Julien ÉLIE
« Love is when you look into someone's eyes, and see everything you need. »
Technical Details
Message-ID:
<gqo583$mht$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mailReferences:
<gqo1ll$gh3$1@solani.org> <gqo29d$486$2@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <gqo583$mht$1@news.trigofacile.com> Subject: Re: [INN] 437 Duplicate Date: Sun, 29 Mar 2009 17:46:04 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <gqo1ll$gh3$1@solani.org> <gqo29d$486$2@puck.litech.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 79 NNTP-Posting-Host: aaubervilliers-151-1-43-38.w83-112.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1238341699 23101 83.112.152.38 (29 Mar 2009 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Sun, 29 Mar 2009 15:48:19 +0000 (UTC) In-Reply-To: <gqo29d$486$2@puck.litech.org> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049