🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #7653

Re: Storage of Usenet News Articles by MD5 Hash

#7653
From: Evan Champion
Date: Wed, 15 May 1996 00:00
37 lines
2593 bytes
Mark Delany wrote:
> I agree with Evan's other comments, but I beg to differ with this
> one. Couldn't a circular buffer be defined to spans disks or
> partitions?

It could certainly be done (I am a firm believer that nothing is impossible :-).  It 
just isn't as directly applicable to multi-disk configurations as some of the other 
ideas are.
 
> define cycle1 alt.*   /dsk1/somefile,500M /dsk2/somefile,2G /dsk3/..
> define cycle2 local.* /dsk5/somefile,200M
> 
> The code complexity to handle news in a cyclic buffer is reasonably
> large, so the code fragment needed to calculate an offset into an
> array of files is not much of an additional burden.

I don't like this particular method because you are saying that only a certain set 
of disks will be used to store particular hierarchies.  That is effectively what 
happens in the current INN configuration with multiple disks, where you end up 
having an alt disk, an alt.binaries disk, a comp disk, etc.  You end up wasting a 
lot of space if you are not prepared to constantly juggle things around.  It becomes 
a real pain IMHO.  A system that uses all disks equally is to me very desirable 
(more desirable than the expire benefits you get from circular buffers).

The best I could come up with for a circular buffer model that is more condusive to 
multi-disk (non-RAID) systems would be to have files for all the buffers existing on 
all the disks.  Articles would be written to each disk in some sort of round-robin 
fashion.

The problem is that if you have M active buffers (ie: buffers being updated) and N 
disks, you need M*N open files.  It doesn't take much to get that to grow to a 
number that could cause some concern.

Evan

Technical Details
Message-ID: <319A7F0F.2633@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
References: <4mrljr$ho@olivea.ATC.Olivetti.Com> <4mt0lg$eag@piano.synapse.net> <4n883e$o6m@olivea.ATC.Olivetti.Com> <3197E129.5327@synapse.net> <4naukm$8lf@fugue.clari.net> <3199EB10.7C5C@synapse.net> <4ndn5k$hr6@bushwire.mira.net.au>

Show Full Headers
Complete Article Headers
Message-ID: <319A7F0F.2633@synapse.net>
Subject: Re: Storage of Usenet News Articles by MD5 Hash
Date: Wed, 15 May 1996 00:00:00 +0000
From: Evan Champion <evanc@synapse.net>
References: <4mrljr$ho@olivea.ATC.Olivetti.Com> <4mt0lg$eag@piano.synapse.net> <4n883e$o6m@olivea.ATC.Olivetti.Com> <3197E129.5327@synapse.net> <4naukm$8lf@fugue.clari.net> <3199EB10.7C5C@synapse.net> <4ndn5k$hr6@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: 155023595
Content-type: text/plain; charset=us-ascii
Organization: Synapse Internet [www.synapse.net]
Mime-version: 1.0
Newsgroups: news.software.nntp
X-mailer: Mozilla 3.0b3 (WinNT; I)