Thread View: news.software.nntp
4 messages
4 total messages
Started by Russell Nelson
Thu, 24 Jun 1993 14:38
Caching NNTP server?
Author: Russell Nelson
Date: Thu, 24 Jun 1993 14:38
Date: Thu, 24 Jun 1993 14:38
14 lines
1341 bytes
1341 bytes
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. Expire is not a problem -- anything I've read gets nuked. If I run out of disk space, I can nuke things. Hmmm... You know, this sounds like a problem waiting for a perl program. I'll cross-post this to comp.lang.perl...
Re: Caching NNTP server?
Author: 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
Re: Caching NNTP server?
Author: Rich Salz
Date: Sun, 27 Jun 1993 14:32
Date: Sun, 27 Jun 1993 14:32
9 lines
1043 bytes
1043 bytes
In <741182349snz@home.demon.co.uk> cliff@demon.co.uk writes: > 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. I do not understand how INN is different than C News in its use of the history database. /r$
Re: Caching NNTP server?
Author: Shoji Kajita
Date: Fri, 02 Jul 1993 04:45
Date: Fri, 02 Jul 1993 04:45
91 lines
4724 bytes
4724 bytes
Hi. Everyone.
I'm Shoji Kajita, a graduate student, Department of Information
Engineering, Nagoya University, Japan, and also one of DNAS project.
>>>>> On 27 Jun 93 11:59:09 GMT, Cliff said:
Cliff> Of course, if anyone's already written this (or something similar) in
Cliff> Perl, I'd be delighted to hear from him.
# I sent this message to Cliff. But I post here too.
Our DNAS project has already succeded creating a daemon which has
article caching mechanism.
Let me explain about DNAS at first.
The DNAS is "Distributed NNTP servers Access Service", proposed by
our DNAS project last year in Japan.
The article transfer using NNTP server is follows.
GNUS
/\
|| NNTP messages
+------\/-------+
| nntp daemon |
| $@"-",(J |
| network news |
| |
|[local.*] |
|[fj.*][nu.*] |
|[tokai.*] |
|[comp.*] |
|[alt.*][rec.*] |
| |
+- NEWS SERVER-+
The DNAS server selects automatically NNTP server based on
newsgroup. So, the article transfer using DNAS server is like below.
GNUS
/\
||
\/
+--------------------------------------------------------------+
| DNAS server |
+--------------------------------------------------------------+
/\ /\ /\
|| local.* || fj.* || alt.*
\/ nu.* \/ \/ comp.*
+--------------+ +--------------+ +--------------+
| nntp daemon | | nntp daemon | | nntp daemon |
| /\ | | /\ | | /\ |
| || | | || | | || |
| \/ | | \/ | | \/ |
| network news | | network news | | network news |
+-NEWS SERVER-+ +-NEWS SERVER-+ +-NEWS SERVER-+
DNAS server watches NNTP commands from newsreader, picks up
Newsgroup: field. Then DNAS server chooses which NNTP server it has to
relay the request. the protocol between DNAS server and newsreaders,
and also between DNAS server and NNTP servers, is based on the NNTP
specification. So if you use DNAS server , you need not to make any
special modifications (re-install,re-compile...) for newsreaders such
as GNUS and network news system such as Cnews.
DNASD is an implementation of DNAS server and also an implementation
of the NNTP specification. It is written in Perl. We think NNTPD can
be replaced by DNASD completely.
And further, the current version of DNASD keeps a cache of
all the articles retrieved from NNTP servers. It is alpha-testing now.
We will release this DNASD in near future as soon as we finish to
write the installation document of DNASD in English.
If you take interests in DNAS, I would like to send you our
DNASD (maybe beta version).
Thank you in advance.
----------------------------------------------------------
Shoji KAJITA (D2)
Department of Information Engineering, Nagoya University,Japan
Email: kaji@itakura.nuee.nagoya-u.ac.jp
--
$@L>8E20Bg3X9)(J$@3XIt>pJs9)3X2J#D#2(J
$@3a(J $@ED(J $@>-(J $@;J(J
kaji@itakura.nuee.nagoya-u.ac.jp
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads