Article View: news.software.nntp
Article #21665Re: Cacheing News Server
From: Trevor Fiatal
Date: Thu, 18 Sep 1997 00:00
Date: Thu, 18 Sep 1997 00:00
53 lines
3470 bytes
3470 bytes
On 11 Sep 1997 23:18:48 -0400, alexis@panix.com (Alexis Rosen) spake thusly: >Hm. My news reader machine currently takes half a million articles a day >from the transfer box, which takes a whole lot more. Even if I'm serving >250,000 articles/day to reader clients, I'll bet that only 20-40K of them >are unique. (Think about cancels, *.jobs.*, zillions of spams nobody reads >before they're canceled, etc.) > >Would it be reasonable to run a news cache box as a main reader, if we >preloaded some of the most popular hierarchies? Has anyone tried this? >It should be easy enough to identify the candidates for preloading simply >by using the more extensive article stats available in the daily report. We're doing this as a pilot project internally, with an eye towards deploying into the customer path if it seems like a good fit. The corporate news server was converted a few weeks ago to use nntpcache 1.0.7.1; it's rock stable, and the only complaint I've had is that it doesn't support XPAT, which is what the Netscape NNRP client uses for its 'search messages' feature. No biggie. I have a script which parses the daily logs of retrieved articles into a group-list, and this gets fed to the contrib/newshound program to preload the cache. Seems to work very well, even on a relatively small population of users -- around 300. >I wonder how much the reader load on the reader box, when translated through >the cache-filler, would be reduced. I suspect that the benefits of limited >long-open connections to the transfer server would be sizeable. You could >do a dbzincore on the reader process on the transfer server, which would >help too (after all, you'll only have a few nnrpds running). The box, a 128MB dual-CPU SS20, was having difficulty taking a full-bore feed while running (shudder) the Netscape news server abomination, and the load ranged from 1.3 to 6+. Now, with nntpcache, preloading, and no expires, it shows an average load of about 0.2 with a dozen or so active clients. I would say that the improvement in impact versus having the corporate users directly access the news repository is around an order of magnitude. Our induhvidual customers who perennially download large quantities of articles consume radically more CPU than the nntpcache pseudo-user. I'll post further experiences on this topic if we put it into the field, assuming anyone is interested. -Trevor /--------------------------------=-----------------------------------\ |Trevor Fiatal - trevor@home.net | | |Internet Applications Architect | "Entropy sucks." | |@Home Network, SF Bay Area, CA | | \--------------------------------|-----------------------------------/
Technical Details
Message-ID:
<3420f0c5.517317175@zeppelin.home.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-mailReferences:
<5uu26a$o4d$1@news.adl.auslink.net> <5v0ogq$2hb$1@nntp.newmedia.no> <5vacao$6lr@panix4.panix.com>Show Full Headers
Complete Article Headers
Message-ID: <3420f0c5.517317175@zeppelin.home.net> Subject: Re: Cacheing News Server Date: Thu, 18 Sep 1997 00:00:00 +0000 From: trevor@home.net (Trevor Fiatal) References: <5uu26a$o4d$1@news.adl.auslink.net> <5v0ogq$2hb$1@nntp.newmedia.no> <5vacao$6lr@panix4.panix.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 X-Deja-AN: 273506987 Cache-Post-Path: zeppelin.svr.home.net!unknown@24.0.25.5 Organization: @Home Network Newsgroups: news.software.nntp