Article View: news.software.nntp
Article #1989Re: Caching NNTP server?
From: Cliff Stanford
Date: Sun, 27 Jun 1993 11:59
Date: Sun, 27 Jun 1993 11:59
40 lines
2791 bytes
2791 bytes
In article <NELSON.93Jun24103853@crynwr.crynwr.com> nelson@crynwr.crynwr.com writes: >Has anyone ever written a caching NNTP server? I want to read news on >a local Unix box but my NNTP server is on the other end of a 14.4 >dialup link. It'd be really neat if I had a local NNTP server that >kept a cache of all the articles that my .newsrc indicated I hadn't >read yet. Then, when I read news, the caching NNTP server would >return the local copy if it had it. Anything else would go out to the >real server. If the problem is that you want the articles once and once only for local readers, there is at least one Demon site which makes a nightly pass over everyone's .newsrc file and uses the output to generate that night's input file for Nnxf. Nnxf is a program written by Ron Khoo to pull from an NNTP server as if a newsreader (using NEWNEWS and ARTICLE) and thence to create batches ready for C-News. On the other hand, we are about to embark on a project to write the caching NNTP server you describe above. Here the problem is slightly different: we have Points of Presence all over the country and users wishing to access the news using nnxf or equivalent without using the precious inter-PoP bandwidth. However, individual sites will not always appear at the same PoP. It is no good for the various news machines to be INN peers as there would be a significant difference between the date in the history file at local machines. Hence the plan is to provide the NEWNEWS command centrally and then to check the local C-news database for each article as requested. If it's not found, it will be pulled from the central server and injected into the local C-news. Of course, if anyone's already written this (or something similar) in Perl, I'd be delighted to hear from him. Regards, Cliff. -- Demon Internet Services Internet Connectivity 081-343 3881 42 Hendon Lane from UKP 10 per month 081-349 0063 London N3 1TT England
Technical Details
Message-ID:
<741182349snz@home.demon.co.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.perl.mbox.zip!gmd.de!Germany.EU.net!news.dfn.de!xlink.net!howland.reston.ans.net!wupost!uunet!pipex!bnr.co.uk!demon!home.demon.co.uk!cmsReferences:
<NELSON.93Jun24103853@crynwr.crynwr.com>Show Full Headers
Complete Article Headers
Message-ID: <741182349snz@home.demon.co.uk> Subject: Re: Caching NNTP server? Date: Sun, 27 Jun 1993 11:59:09 +0000 From: cms@home.demon.co.uk (Cliff Stanford) References: <NELSON.93Jun24103853@crynwr.crynwr.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.perl.mbox.zip!gmd.de!Germany.EU.net!news.dfn.de!xlink.net!howland.reston.ans.net!wupost!uunet!pipex!bnr.co.uk!demon!home.demon.co.uk!cms Newsgroups: news.software.nntp,comp.lang.perl Distribution: world Organization: DIS (Cliff @ Home) Reply-To: cliff@demon.co.uk X-Newsreader: Simple NEWS 2.0 (ka9q DIS 1.22) Lines: 39 Sender: usenet@demon.co.uk