Article View: news.software.nntp
Article #7588Re: Storage of Usenet News Articles by MD5 Hash
From: Brad Templeton
Date: Tue, 14 May 1996 00:00
Date: Tue, 14 May 1996 00:00
61 lines
3329 bytes
3329 bytes
In article <3197E129.5327@synapse.net>, Evan Champion <evanc@synapse.net> wrote: >Jerry Aguirre wrote: >> Storing the NOV in with the article seems like a giant step backwards. > >Perhaps I said it poorly. What I meant was that in a raw INN filesystem >of some sort, it would be advantageous to have the overview data >available in a similar ease of access as things like permissions are in a >UNIX filesystem -- I guess more like attributes associated with the file. >There is little point in storing the NOV in the same physical file as an >article -- If you're going to bother to open the article, why not just >read the entire header and save the effort of having to come up with the >NOV data. > >Evan To decide what to do, examine the behaviour of the various systems: a) Incoming feeds wish to write out articles in arrival order as efficiently as possible. Once per article b) Outgoing feeds wish to read articles from a subset of the arrival order list, once per article per feed. Full feeds of course do the full set. c) Expiring systems wish to remove pointers to the articles, in expire order which is a variation of arrival order but may be quite different. They also need to make the space used by the articles available for use by the incoming feed system. d) Readers wish to read the headers of all the articles in a subscribed group since the last read, plus possibly some from the past. This is an extremely common operation. e) Readers also read the text of articles, but these are selected in a semi-random fashion in moderate to high volume groups, tending of course to be from the most recent set of articles, and almost always from the set of articles covered by (d). In low volume groups, readers read most or all of the articles. Consider these patterns in deciding the best scheme. It strikes me that: a) Reading in the overview for new articles must be the most efficient task, unless you have a site with very little reading. This is also the task that humans have to wait for. b) Reading actual articles does not need to be nearly so efficient, but since humans wait for it, it should be as efficient as reasonably possible. As noted in previous discussions, the best way to store articles is probably in large batches in what might be called expire order, which is to say in a series of circular buffers based on expire categories, calculated as articles come in. -- Brad Templeton, publisher, ClariNet Communications Corp. info@clari.net The net's #1 E-Newspaper (1,400,000 paid sbscrbrs.) http://www.clari.net/brad/
Technical Details
Message-ID:
<4naukm$8lf@fugue.clari.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:
<4mrljr$ho@olivea.ATC.Olivetti.Com> <4mt0lg$eag@piano.synapse.net> <4n883e$o6m@olivea.ATC.Olivetti.Com> <3197E129.5327@synapse.net>Show Full Headers
Complete Article Headers
Message-ID: <4naukm$8lf@fugue.clari.net> Subject: Re: Storage of Usenet News Articles by MD5 Hash Date: Tue, 14 May 1996 00:00:00 +0000 From: brad@clarinet.com (Brad Templeton) References: <4mrljr$ho@olivea.ATC.Olivetti.Com> <4mt0lg$eag@piano.synapse.net> <4n883e$o6m@olivea.ATC.Olivetti.Com> <3197E129.5327@synapse.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-mail X-Deja-AN: 154822134 Sender: brad@clari.net Organization: ClariNet Communications Corp. Newsgroups: news.software.nntp