Article View: news.software.nntp
Article #6389Re: cyclic news file system - two interesting quirks
From: Brad Templeton
Date: Mon, 08 Apr 1996 00:00
Date: Mon, 08 Apr 1996 00:00
24 lines
1836 bytes
1836 bytes
No, remember that the overview file is read frequently (each session) by every reader of the newsgroup. Now I suppose one could do some balancing of readers vs. article count, but assuming readership is high, it is worth the trouble to build an overview file that is either entirely contiguous, or is stored in large blocks, like 16K at a time (about 40 article headers per 16K block on a typical system.) Perhaps even 32K You do *not* want to have an overview read skip all over the disk for each 1K block of overview. In fact, ideally you want an overview format with a header table at the front, with seek addresses, so to read an article, you read the overview header table (cached if possible), get the seek address of the overview entry, read that, get the seek address/coordinates of the article, and read that. Or, of course, in reading a newsgroup, you want to read the overview entries of all the new articles, plus, in some cases the references lines of their predecessors. -- Brad Templeton, publisher, ClariNet Communications Corp. info@clari.net The net's #1 E-Newspaper (1,300,000 paid sbscrbrs.) http://www.clari.net/brad/
Technical Details
Message-ID:
<DpKDKs.Hz4@clarinet.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-mailReferences:
<4k78u1$lbu@bushwire.mira.net.au> <DpHn52.GDv@clarinet.com> <4k8iaj$neb@bushwire.mira.net.au>Show Full Headers
Complete Article Headers
Message-ID: <DpKDKs.Hz4@clarinet.com> Subject: Re: cyclic news file system - two interesting quirks Date: Mon, 08 Apr 1996 00:00:00 +0000 From: brad@clarinet.com (Brad Templeton) References: <4k78u1$lbu@bushwire.mira.net.au> <DpHn52.GDv@clarinet.com> <4k8iaj$neb@bushwire.mira.net.au> 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: 146431077 X-original-newsgroups: office.clip.brad Organization: ClariNet Communications Corp. Newsgroups: news.software.nntp