🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #7667

Re: Storage of Usenet News Articles by MD5 Hash

#7667
From: Brad Templeton
Date: Thu, 16 May 1996 00:00
47 lines
2843 bytes
In article <319ABD82.20E2@synapse.net>,
Evan Champion  <evanc@synapse.net> wrote:
>Mark Delany wrote:
>isn't necessarily a viable option.  For example, I have been mandated by my users that I 
>have to hold a certain number of days in every newsgroup, irrespective of how much disk 
>is used.


I seriously doubt you mean that.  I mean you have a certain amount of
disk space, and you perhaps chose that amount of disk space to hold N days
of articles, but how can you possibly suggest that users want a time based
expire rather than simply the request that as many articles as will fit
in the disk space be kept.   You can't possibly do better than filling
the allocated disk!   If you want *every* group to have N days, you just
have one big circular buffer and you make it big enough to have 5 days.

If you make it 4 gb, and 10gb of news comes in in 5 days, what do your
users want, for your system to place an order for new disk drives in time
to handle the load?   The current system stops new news from coming in
in this circumstance, and I don't think this is what users want.

Later you claim to want refined expiry -- if your users want 5 days for
every newsgroup you want little refinement at all.  If they want more
for some newsgroups, you want some refinement, that's not hard.


Remember that the file descriptors are not a problem.  If you have
400 different files to handle, you can't keep 'em all open on some
systems but so what.  You need an LRU cache of file descriptors.

This is still *MUCH* better than any one file per article system
which requires a file open and disk space allocation for *every* article.

MUCH MUCH MUCH MUCH better.

Running over multiple disks is no big problem either.  Of course an OS
that does striping is one simple method, but you could implement simple
striping fairly easily here as well, so that each circular buffer is
really striped over multiple disks.   I would say the OS is a better
place for that.

-- 
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: <4nfvrt$7hl@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-mail
References: <4mrljr$ho@olivea.ATC.Olivetti.Com> <319A7F0F.2633@synapse.net> <4ne3qm$il8@bushwire.mira.net.au> <319ABD82.20E2@synapse.net>

Show Full Headers
Complete Article Headers
Message-ID: <4nfvrt$7hl@fugue.clari.net>
Subject: Re: Storage of Usenet News Articles by MD5 Hash
Date: Thu, 16 May 1996 00:00:00 +0000
From: brad@clarinet.com (Brad Templeton)
References: <4mrljr$ho@olivea.ATC.Olivetti.Com> <319A7F0F.2633@synapse.net> <4ne3qm$il8@bushwire.mira.net.au> <319ABD82.20E2@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: 155190609
Sender: brad@clari.net
Organization: ClariNet Communications Corp.
Newsgroups: news.software.nntp