Article View: news.software.nntp
Article #6109On demand INN server
From: root
Date: Fri, 29 Mar 1996 00:00
Date: Fri, 29 Mar 1996 00:00
77 lines
3824 bytes
3824 bytes
Hi:
( If possible reply to mvalente@esoterica.pt )
I've been thinking about a bandwidth saving news caching scheme.
Just before I embark on major head butting and cracking I'd like to know
if I'm not reinventing the wheel.
We at Esoterica ( a small ISP in Portugal ) have a small bandwidth link
( to Pipex, in the UK ). As we all know, news consumes a big chunk of this
bandwidth.
When I checked that only about 30% of the articles we're being read, I got
to think about some extensions/modifications to INN/NNTP ( at least until
we have enough $$$ to upgrade our link ). But I think that they would be
nice overall ( in bandwidth terms ) so I'm thinking of doing them anyhow,
if they're not done already.
What's my idea ? The following:
- instead of my upstream server feeding me all the articles ( head and
body ) or me requesting them, I would just receive the article HEADERS
( either a full or partial feed ).[B
- when a local client requested the list of articles in a newsgroup
it would receive the usual; when th[Be full article was requested the
local news server would check to see if it was full available; in case
it wasnt it would request it from the upstream server. Of course that
the next person requesting the same article would the receive the local
full article.
This would mean that only articles that[B we're read ( after the client
selected from the subject list ) would be retrieved and stored, saving not
only bandwidth but also storage space. The impact would be minimum and only
on the first person who requested a not-yet-local article.
This scheme could also be used by the upstream server. Its quite similar
to current trends in Web caching.
I know/think that this scheme is already possible to implement if the
feed is a pulling one ( the downstream se[Brver requesting the articles );
the downstream server issues a NEWNEWS and requests just the HEADER for
those; then when a client requests a single full article the downstream
server requests it from upstream with BODY.
Nonetheless INN ( or server software used ) has to be modified if only at
the downstream server.
It becomes a little more confusing/difficult if its a push type of feed
( upstream server feeding articles to downstream as they arrive ): for
example we as Pipex clients do not have access to the full set of NNTP
commands at Pipex's news server ( particularly NEWNEWS, HEAD, BODY ) so we
cannot request an individual article; in second place I'm not really aware
or certain how this feed works, though I think it is through IHAVE
commands issued by the upstream server and SENDME issued by the downstream
one .
In the first case it would also be just a matter of changing the server
software (INN) on the downstream server.
In the other case a change in the upstream server software would be
needed.
I'd like to know if there was anyone with the same ideas, if its already
been done or not ( or if its being done ) and if someone more enlightened
could give me some hints or pointers on how INN feeds articles to a
downstream server (before I start looking at source code :-)
C U!
Mario Valente
PS - If possible reply to mvalente@esoterica.pt
Technical Details
Message-ID:
<4jg0dj$tt9@thingol.esoterica.pt>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-mailShow Full Headers
Complete Article Headers
Message-ID: <4jg0dj$tt9@thingol.esoterica.pt> Subject: On demand INN server Date: Fri, 29 Mar 1996 00:00:00 +0000 From: root@esoterica.pt (root) 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: 144798097 Distribution: inet Organization: Esoterica, Portugal Newsgroups: news.software.nntp