Article View: news.software.nntp
Article #11991NNTP proxy caching?
From: Mark Bixby
Date: Wed, 30 Oct 1996 00:00
Date: Wed, 30 Oct 1996 00:00
44 lines
3109 bytes
3109 bytes
The poor news server for which I am responsible is starting to groan under the annual autumn Usenet bandwidth increase. INN 1.4unoff4 expire runs ever longer, and my 2GB news spool is clearly inadequate (I count the days until my new F/W SCSI 8GB spool ships). Overnight link statistics from our ISP show NNTP traffic consuming between 100 and 200 Kbps of our T1 connection. The resource requirements to run an organizational news server are just going to increase without end, and money is always scarce. While thinking about alternatives to a standard "full feed", I thought "Why not NNTP proxy caching?". User newsreaders would be configured to connect to a special NNTP proxy server. For each newsgroup, the proxy server keeps track of when the newsgroup was last read by a NNTP client (client_stamp). When a client tries to read a newsgroup, the proxy server computes the time elapsed since the previous client_stamp, and if this exceeds some configured threshold, the proxy server will "suck" all new articles since client_stamp from some upstream server. The revised set of local articles cached on the proxy server is then made available to the NNTP client. The benefits are a smaller news spool that only contains articles in newsgroups being read by clients, and a greatly reduced load on the Internet link since there would no longer be a 24x7 full feed. The disadvantage would be that downstream servers would be at the mercy of the upstream servers' article expiration policies. I.e. if the upstream server only kept a newgroup for 7 days, you couldn't have a downstream expiration policy of say 14 days without the possibility of missing articles when local clients stop reading that newsgroup. One way around this would be to create an "idle threshold" for each newsgroup, where after x days of local inactivity the proxy server would do a "suck" refresh anyway. This scheme was just a sudden in-the-shower inspiration, and could certainly be overlooking some key details of the NNTP protocol that would be difficult to deal with in this environment. Does anybody know if such an NNTP proxy cache is already being done anywhere? -- Mark Bixby E-mail: markb@cccd.edu Coast Community College Dist. Web: http://www.cccd.edu/~markb/ District Information Services 1370 Adams Ave, Costa Mesa, CA, USA 92626-5429 Technical Support +1 714 438-4647 "You can tune a file system, but you can't tune a fish." - tunefs(1M)
Technical Details
Message-ID:
<558jag$7ng@spock.dis.cccd.edu>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: <558jag$7ng@spock.dis.cccd.edu> Subject: NNTP proxy caching? Date: Wed, 30 Oct 1996 00:00:00 +0000 From: markb@spock.dis.cccd.edu (Mark Bixby) 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: 193274109 Organization: Coast Community College District, Costa Mesa, California Reply-to: markb@cccd.edu Newsgroups: news.software.nntp,news.admin.misc