Article View: news.software.nntp
Article #15052Re: Newsfeed metrics: log/news vs. log/news.notice
From: Barry Bouwsma
Date: Fri, 14 Feb 1997 00:00
Date: Fri, 14 Feb 1997 00:00
89 lines
5468 bytes
5468 bytes
On Fri, 14 Feb 1997, Gordy Thompson wrote:
> If I understand this correctly, then, "rejection" can't occur
> in response to IHAVE, only "acceptance" (message-ID isn't in history)
> or "refusal" (message-ID is in history) because other factors such as
> whether I carry that group aren't relevant or knowable at that point.
If you are offered a message with a munged or otherwise invalid
Message-ID, you'll also complain about it. Whether this is logged as a
rejection, I'm unsure, but you should get this no more than a couple times
a day at worst.
> And the IHAVE dialogue in the channels is the only point in
> the process where "refusal" =can= occur -- if I accept an article
Strictly speaking, at the point of IHAVE/CHECK, you are either
refusing it (it's in history already meaning you have it), or you're
saying, hit me with it baby. Acceptance happens after you're hit.
> So the flow on my system, where I don't do perl filtering or
> crosspost limiting and reject only articles >1Mb, would be like this?
>
> IHAVE ----- accept ----[x]---- keep
^^^^^^gimme ^^^^accept
> \ (not in \
> \ history) \
> \ \
> \-- refuse \---reject (don't carry group,
> (already \ other reasons?)
> in history \
> \-(a few more refusals based on size?
> bad headers? etc.?)
^^^^^ No, not refused at this point.
If an article is sent, you either accept it, or you reject it with a 437
code (possible reasons include unwanted group -- the most likely, but also
too large, too old, unapproved, unwanted distribution, and so on, or, if
you have multiple incoming feeds, you may see the most rejections as
duplicate article, meaning two peers offered the article to you
(IHAVE/CHECK) at a time when you did not have it, you said pretty please
to both, and one peer got the article to you before the other), or you
might also reject it with 439, meaning there was a problem in transfer, if
I recall correctly. I'm going from the top of my pointy head and would
welcome corrections.
Articles you reject mean they travelled down the path to you, wasting
bandwidth. If most of them are for unwanted groups or distributions, you
should contact your feeding sites to ask them not to send these groups,
for it wastes bandwidth, and in the case of sites which can barely keep
up, slows down INN further by giving it extra work feeding /dev/null.
Likewise if an upstream site sends oversize articles.
If you have multiple incoming streaming feeds, chances are the most
articles you reject are being offered at roughly the same time by more
than one of your peers. Solving this is a bit more difficult, as it can
require coordination of your feeders. The streaming model speeds things
up by CHECKing many articles at the same time, but if you are missing most
of them, it will then take some time to transfer the articles you want,
and many minutes could elapse from the time you say hit me, to when you
actually feel the blow, which gives many minutes for other peers to get
their licks in and offer you the same article.
An improvement can be had by sending a smaller number of CHECKs, so
that one gives less of a window or opportunity. I've pretty much cut the
number of CHECKs to most of my peers to 10 for most articles, and maybe 4
for the larger ones (which take longer to transfer), for this reason.
Where bandwidth or lag in response is a factor, I also must increase the
maximum simultaneous connections offering a smaller number of CHECKs.
If you are only sending a small number of articles successfully to a
peer, you can usually safely send a larger number of CHECKs. Likewise, if
your peer takes almost everything from you. In the latter case, a
streaming feed will switch from CHECK mode into sending all articles which
could include some the peer already has, and these too will show as
duplicate articles.
I guess this really doesn't answer all your questions, but maybe it
helps some sites tune their feeds and reduce wasted bandwidth. I can't
recall if you've posted this, but how are you deducing the number of
refused articles from the news log file with your custom script?
Otherwise the numbers look reasonable at a glance from here...
Barry Bouwsma, Radio Praha news admin and hopeless romantic
Technical Details
Message-ID:
<Pine.SOL.3.95.970214094239.8276F-100000@dahlia>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:
<3300d236.10115866@newsgate> <5dpdo8$9r3$1@solaris.cc.vt.edu> <3301399e.618235@newsgate> <gergE5J5ws.5Ju@netcom.com> <3303f546.70855392@newsgate>Show Full Headers
Complete Article Headers
Message-ID: <Pine.SOL.3.95.970214094239.8276F-100000@dahlia> Subject: Re: Newsfeed metrics: log/news vs. log/news.notice Date: Fri, 14 Feb 1997 00:00:00 +0000 From: Barry Bouwsma <deadbeef@dahlia.vszbr.cz> References: <3300d236.10115866@newsgate> <5dpdo8$9r3$1@solaris.cc.vt.edu> <3301399e.618235@newsgate> <gergE5J5ws.5Ju@netcom.com> <3303f546.70855392@newsgate> 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: 218717298 Sender: news@news.muni.cz (News Admin) X-Nntp-Posting-Host: dahlia.vszbr.cz X-Sender: deadbeef@dahlia Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: Masaryk University,Brno Mime-Version: 1.0 Reply-To: ag786@yfn.ysu.edu Newsgroups: news.software.nntp