🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23019

excluding offered articles from outgoing feed?

#23019
From: Ragnar Lonn
Date: Fri, 07 Nov 1997 00:00
36 lines
1830 bytes
I just had an idea and thought I'd better ask here about it - whether anyone
already thought of it or not or if it would improve anything if it was 
implemented.

Would it be possible to log all the message IDs you get offered by a peer
and refrain from offering the same Message-IDs to that same peer regardless
of whether the article was received from it or another peer?  

Example:

1) Peer A offers you an article with message-ID X, you don't have the
article so you let peer A send it to you.

2) Peer B also offers you the article but you already have it, or are
in the middle of receiving it via peer A, so you reject it, but you remember
that peer B offered you that article.

3) You have received the article and are about to decide what peers
to relay it to. Wouldn't it at this point be smart to *not* offer the article
to peer B, as you know peer B offered it to you earlier on?

Perhaps the gain is too small to make it worth the trouble. I don't know.
But it ought to save some history lookups at least and possible reduce
queue file sizes somewhat. It would be mostly useful for when peers offer
articles that are already being transferred so it could be implemented in
a small cache (maybe together with precommit cache data) and not saved for 
very long.

  /Ragnar, Algonet/TNI





Technical Details
Message-ID: <63vc9f$ils$2@pepsi.tninet.se>
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

Show Full Headers
Complete Article Headers
Message-ID: <63vc9f$ils$2@pepsi.tninet.se>
Subject: excluding offered articles from outgoing feed?
Date: Fri, 07 Nov 1997 00:00:00 +0000
From: prl@algonet.se (Ragnar Lonn)
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: 288308962
Organization: Algonet/TNI
Newsgroups: news.software.nntp