Thread View: news.software.nntp
1 messages
1 total messages
Started by Net Scum
Wed, 23 Jul 1997 00:00
Re: Incoming cancel rate
Author: Net Scum
Date: Wed, 23 Jul 1997 00:00
Date: Wed, 23 Jul 1997 00:00
90 lines
5285 bytes
5285 bytes
Blargh. Since I shut down my news servers, this thread hasn't arrived in
this country. So much for references...
From: hello@cs.utwente.nl (Ronald Hello)
> For the INN users:
> Can this be done with a control-only feed to your main-feeds? It will give
> a little overhead, since the cancels will show up in the normal feed too,
> where they will be rejected.
Yes and no. A control (or control.cancel) only feed will send out
cancel messages in all the groups enumerated in your active file. If you
want to send out *all* cancel messages, since those for groups which are
filed into junk with WANT_TRASH=DO are normally not filed under control,
you need to patch innd, as I did to be able to send out feeds of all
cancel messages. (My hack was lost along with my servers.)
If you are trying to separate control messages in a partial feed, it
won't work, unless you trim your active file. That is, you'll be
flooding a Big-8 peer with all the cancels in alt.*, which that peer will
reject.
I had several outgoing feeds consisting of nothing but cancels, and
also prioritized cancels in some of my other feeds (so the articles, if
not already received, could later be refused) until those sites started to
be bogged down by the sheer number of cancels alone, and I chose instead
to give importance to specific hierarchies.
In the case of a non-backlogged real-time feed (such as nntplink or
innfeed), separating out the cancels won't make a difference. If there's
a backlog though, then it can be a great improvement to expedite the
delivery of cancels, especially if one is delivering articles by batches
as innxmit does, such that there's a lag between receipt and delivery.
Also, unless the cancel feed offers an article at about the same time as a
regular feed, the cancel shouldn't be rejected, but refused. Even if the
cancel is rejected (transferred in its entirety, then turned down), most
cancels are on the order of 1k or so, and wasting a few k of rejected
cancels is a small price to pay for not needing to transfer the cancelled
articles which are almost certainly much larger.
It should be just as easy to hack innd not to file control messages in
the group suggested by the header, although, preferable would be something
like Don Lewis suggested, where a newsgroups flag would determine whether
a feed receives only normal articles, or only control articles for the
specified groups, or both as at present.
> But I think there is a better chance for the
> cancels to `overtake' and block the articles-to-cancel.
Definitely. Even without specifically configuring things this way, by
default I was prioritizing cancels, by separating smaller articles, which
would include most cancels, from larger ones. Measurements to a typical
high-performance peer (not a spool-bound INN) showed that the average
transfer rate of an article whose average size was just over 2k was one
article every 2 seconds. This means that it would take me less than a
second to send out a typical cancel, for maximum delay of a couple seconds
to a peer without a huge backlog.
On the other hand, trying to send the larger articles to the same peer
would take several minutes to hours from the time I would send a batch of
CHECKs to actually transferring the articles. If I had not sorted out the
smaller articles and cancels, they could easily have been held up by many
minutes. Of course, most of the real world doesn't have as hair-pullingly
awful network performance as I was seeing. But still, it takes time for
larger articles to propagate.
Which makes me wonder -- if there is to be a standardization of the
responses returned by a site to incoming streaming/non-streaming feeds for
rejected articles, is an article for which a cancel arrived while being
sent treated as an ordinary duplicate, or as a special case? Hmmm, time
to dredge around in the logged rejection codes...
> Since the VERIFY_CANCEL == DONT will make sure that the article-to-cancel
> does not reach this site anymore, it seems rather useless to propagate the
> cancel over feed-lines the article will never travel.
For a leaf site, if you're the sole supplier, yes. But hopefully,
most sites have multiple peers for redundancy. In such a case, the
article may well travel over another path to your peer, and you would do
better to send along the cancel. Personally, I never thought of any of my
peers as leaf sites, since none of them were, nor would I want them to be.
Barry Bouwsma, just another nobody
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads