🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #42292

Re: Header-Only feeds (was: A nice side benefit of WebReader)

#42292
From: Brad Knowles
Date: Fri, 17 Dec 1999 00:00
125 lines
7372 bytes
In article <19991216152219.196$Pi_-_@newsreader.com>, curt@kcwc.com 
(Curt Welch) wrote:

> I'm thinking Body: would be a good candidate for this.  I'm not sure what
> syntax would be best for the content of this header however.  A URL could
> work, but it strikes me that you don't want to allow the full range
> of URLs.  I'm thinking we would just use NNTP to get the articles from the
> remote server like the way DIABLO works.  So all you need is a host name
> and an optional username/password and port.  Maybe the URL syntax is the
> way to go but have a well defined standard for what's allowed and what's
> not allowed.

    How about something like 
<nntp://news.your.dom.ain[:port]?user=name?pass=snark/message-id>?  Or 
does the URL syntax allow for userids and passwords already?  And where 
would this syntax be defined?

> A header only feed at todays news volume levels is only around 1GB/day
> and 100Kbps of bandwidth.  That's two orders of magnatude smaller than
> a full feed.

    Last I checked, a text-only feed was about 1GB/day, or roughly 
100Kbps bandwidth.  Are you saying that the headers of the binary 
articles are roughly as large as the bodies of the non-binary articles?

> For downstream feeds that were both able and willing to take the
> header-only articles, only the header for the local articles would be
> passed.

    I think we'd have to have a different way to identify an article 
that a server wanted to send as header only, as opposed to the entire 
body, and conversely I think we'd need a way to say "Nope, I don't want 
the header only, I only want the article if you've got the entire body" 
or "Nope, I don't want the entire article from you, I want only the 
headers".  That way you could choose to accept or refuse an article 
based on whether or not it would be complete or header-only.

    Also, instead of manually configuring feeds to be pure header-only 
or full articles, I think we ought to mix the feeds, and offer full 
articles for small messages (say, anything smaller than 32KB), and 
headers only for larger articles.  Of course, this break-over should be 
configurable per peer, and while you could control the size of the 
largest article you'd offer the full body of, the receiver would always 
have control over whether or not to accept a full-body article from you.


    This would give us the best of both worlds -- we get the largest 
majority of the articles (which cost the least volume & bandwidth) just 
like we always have, and only the binaries (or other large articles) end 
up having to be header-only fed and then cached from the server of 
origin (or a willing upstream server).


    However, these sorts of things imply that you might need a more 
complex method of offering articles -- instead of just "I have 
<message-id>, do you want it?", the communications would need to be at 
least "I have <message-id>, the headers only are Y bytes, the full body 
is X bytes -- do you want it, and if so how do you want it?"  And would 
you then want to include things like the contents of either the 
"Distribution:" and/or "Newsgroup:" headers in the offer?

> But in this new header-only system, we pay very little for the incomming
> feed, and pay a lot for the outgoing articles posted by our users.  So
> now we are motivated to control how much they post, or charge more based
> on the volume they post.  And that's the way it should work, unlike what
> we have today.  They people who post should carry a substantial portion
> of the cost instead of all the readers.

    It'd sure cut down on the amount of spam out there.  And the amount 
of illegal MP3s, entire VideoCDs, DVDs, etc....  I like this part.

> If posting ends up costing the person doing the post more, overall volume
> should go down, and quality should go up.  Spam should go down as well
> because it will become very expensive to bulk post hundreds or thousand
> articles.

    Yup.  Very nice effect.

> One problem I see is that when you read news with this new system, you 
> end up getting news from lots of different places.

    I think that would only be true of the binary articles, or whatever 
it is that ended up getting fed as header-only in most cases, whereas 
the smaller articles would basically be unchanged.

    There would be very strong incentive to keep spam below this size 
limit, otherwise it wouldn't get very far off the local server.  
Besides, regardless of whether it gets off the local server as a 
complete article or header-only, they'd still have to pay by the byte.


    Alternatively, the limit could be a technical content limit -- any 
plain text article gets offered as a full body, but articles posted as 
HTML or with attachments (regardless of how small they are) get fed as 
header-only.

> Then there's the issue that when you post an article, the header will
> propigate much faster than it has in the past.  So then, you get lots of
> people trying to read the article in a very short period of time.  So the
> problem isn't that you have to serve the article to 1000 other sites, but
> that you have to do most of that within 5 minutes of posting the article?
> It's hard to know how much of a problem that would really be without
> actually trying it.

    I'd be inclined to have a server turn around and offer the full body 
to its peers, if it was requested to go get a copy of that article by a 
user.

    This could be reflected in the "Body:" header by listing both the 
original posting server as well as the X number of servers that have 
most recently seen this complete article, and therefore if another 
server wanted a copy of it they could do their own calculations to 
decide where to first try to pull the article from.  Then you simply 
operate the list of "recent" servers as a queue, or a stack, or whatever 
your favourite algorithm is.  And you could always fall back to the 
original posting server, if all else failed.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Technical Details
Message-ID: <brad-1F6669.00533517121999@news.skynet.be>
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
References: <38569b7a$0$224@nntp1.ba.best.com> <6aJWOE2g9YI1qQ46VtGbCuiICWXm@4ax.com> <3856bc3d$0$229@nntp1.ba.best.com> <19991216152219.196$Pi_-_@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <brad-1F6669.00533517121999@news.skynet.be>
Subject: Re: Header-Only feeds (was: A nice side benefit of WebReader)
Date: Fri, 17 Dec 1999 00:00:00 +0000
From: Brad Knowles <brad@shub-internet.org>
References: <38569b7a$0$224@nntp1.ba.best.com> <6aJWOE2g9YI1qQ46VtGbCuiICWXm@4ax.com> <3856bc3d$0$229@nntp1.ba.best.com> <19991216152219.196$Pi_-_@newsreader.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: 561737556
Mail-Copies-To: poster
X-Complaints-To: abuse@skynet.be
X-Trace: news1.skynet.be 945388452 16125 195.238.24.103 (16 Dec 1999 23:54:12 GMT)
Organization: Shub-Internet
X-URL: http://www.shub-internet.org/
User-Agent: MT-NewsWatcher/3.0 (PPC)
NNTP-Posting-Date: 16 Dec 1999 23:54:12 GMT
Newsgroups: news.software.readers,news.software.nntp