🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #42243

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

#42243
From: Curt Welch
Date: Thu, 16 Dec 1999 00:00
79 lines
5210 bytes
miquels@cistron.nl (Miquel van Smoorenburg) wrote:
> In article <19991216152219.196$Pi_-_@newsreader.com>,
> Curt Welch <curt@kcwc.com> 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.
>
> Or http, and you could use existing proxy cache solutions like squid...
>
> >The third feed option is a complete header-only feed.  Any article which
> >already had the Body: header would be feed as is.  But articles without
> >the Body: header would have one added and the feeding server would then
> >be acting as the "body server" for all those articles.  This of course
> >would only be done on a limited basis because no one would be willing to
> >server all of Usenet to the world for free.
>
> Header-only feeds are fine. If you want to get the body, simply
> get it from the news server that fed you the header in the first
> place. If that server doesn't have it, it asks the one _it_ got
> the headers from. Etc.

Interesting idea.  I talked about that as an option, but didn't think
about that as the standard way to do it.

It has the advantage that you only need to support access to your servers
by your peers.

If you get the article for the first time and you are far away from
the source, then there well be a long delay as the request chains back
though 10 servers.  But maybe in practice this well seldom happen becase
most articles will have made it at least part way up the chain?

But as the standard way of doing it, it strikes me as the wrong way to
go.  You end up forcing all those servers to cache your article -- or
from the other point of view, you end up caching lots of articles for
your downstream feeds and their downstreem feeds even though none of your
users wanted to see the article.  That's what we do today in effect so
it's no worse in that regard to how Usenet works now, but would it
be any better that what we already do?

But maybe that's a good way to get your cache pre-populated with the
stuff that most people want to read?

But the problem with that is that the more header-only feeds you send
out, the more work you are going to generate for yourself as you serve
all those article requests.  The load becomes a function not of how much
news your users are generating, but just a function of how good you are
at peering.  So good peers will end up being forced to cache news for
a very large number of sites.  That I think just won't work.  It will
encourge people to be bad peers.

I guess in the end each server should have config options for how it wants
to try and get the article.  It can always talk to some pre-defined
master server (which is basically how Diablo works now), or it can
be told to use the Body: header server if present, or some combination
of those based on newsgroup or server name etc.  Maybe the server
will be configued to use the Body: server from the article only if
it's one of the "known" good servers and otherwise it will just
default to some known good master server (which you will probably
have to pay for the right to access).

Thinking about this we probably need a "non-recurse" function for
the article get.  That is, a new NNTP command (or argument) for ARTICLE
which means give me the article only if you have the entire article already
cached.  i.e., if you just have the header, don't try to get the article,
just tell me you don't have it.  Or maybe a STAT command that indicates
whether the server has the article or only the header.  With those, a
server can be more inteligent about what it does as it tries to fetch the
article from multiple places and won't be forced to wait a long time as one
server spends a few minutes trying to make connections to other servers
that you have already tried etc.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Technical Details
Message-ID: <19991216180535.673$tV@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
References: <38569b7a$0$224@nntp1.ba.best.com> <6aJWOE2g9YI1qQ46VtGbCuiICWXm@4ax.com> <3856bc3d$0$229@nntp1.ba.best.com> <19991216152219.196$Pi_-_@newsreader.com> <83bogl$am9$1@enterprise.cistron.net>

Show Full Headers
Complete Article Headers
Message-ID: <19991216180535.673$tV@newsreader.com>
Subject: Re: Header-Only feeds (was: A nice side benefit of WebReader)
Date: Thu, 16 Dec 1999 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <38569b7a$0$224@nntp1.ba.best.com> <6aJWOE2g9YI1qQ46VtGbCuiICWXm@4ax.com> <3856bc3d$0$229@nntp1.ba.best.com> <19991216152219.196$Pi_-_@newsreader.com> <83bogl$am9$1@enterprise.cistron.net>
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: 561720977
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-User: Curt@NewsReader.Com
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
Newsgroups: news.software.readers,news.software.nntp