🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #6145

Re: How to do a better USENET file system

#6145
From: Mark Delany
Date: Sat, 30 Mar 1996 00:00
60 lines
2867 bytes
brad@clarinet.com (Brad Templeton) writes:

[Getting back to classes/cycles for just a moment and losing some
context as I only hold this group for a couple of weeks...]

If we assume for a moment that we have a number of classes which are
used to implement local retention policy, eg:

class	1	local.*			/dev/d1
class	2	*binaries*		/dev/d2
class	3	*			/dev/d3	/dev/d4 /dev/d5

For discussion purposes assume /dev/d1 has been sized to hold on to a
typical local.* set of articles for six months while /dev/d3 typically
wraps in a day or so.

Now to the question. What would you do with a cross-posted article
that could end up in multiple classes? Which class do you actually
store it in? Is an arbitrary rule like "write it to the first class
that matches on the first newsgroup" sufficient?

The significance of this question is that classes change the notion of
expire whereby an article currently stays around until it expires in
every group while the class scheme causes it to disappear as soon as
the class wraps over it regardless of how many groups it is posted to.

Using the arbitrary rule, a posting to local.announce,alt.binaries is
stored in Class 1 and live for ages while a posting to
alt.binaries,local.announce is stored in Class 2 and lives for just a
day or so.

So, is this reasonable or are more sophisticated rules necessary?

	..

On a second front, both expire and simplistic classes are vulnerable
to smart warez posters (yeah I know it devalues the meaning of
'smart').

My thought is to have a size rule for classes as well as a newsgroup
pattern.

class	0	>100K:*			/dev/null
class	1	<50K:local.*		/dev/d1
class	2	>0:*binaries*		/dev/d2
class	3	>0:*			/dev/d3	/dev/d4 /dev/d5

It still doesn't stop the dedicated warez poster who cross-posts lots
and lots of small articles - sigh.

I guess the right answer is to have hooks into a separate "decision
engine" which makes the determination and simply tells the news file
system which class to use. A simple "decision engine" might implement
the rules above while a sophisticated one could provide a programmable
interface, perhaps in perl or TCL...


Regards.

Technical Details
Message-ID: <4ji690$mh7@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
References: <Dn4HrC.KIx@twwells.com> <4i37s5$ou@papaioea.manawatu.gen.nz> <Do66LF.7yC@clarinet.com> <4i89jd$it9@olivea.ATC.Olivetti.Com> <Do9xr1.z6@clarinet.com>

Show Full Headers
Complete Article Headers
Message-ID: <4ji690$mh7@bushwire.mira.net.au>
Subject: Re: How to do a better USENET file system
Date: Sat, 30 Mar 1996 00:00:00 +0000
From: Mark Delany <markd@mira.net.au>
References: <Dn4HrC.KIx@twwells.com> <4i37s5$ou@papaioea.manawatu.gen.nz> <Do66LF.7yC@clarinet.com> <4i89jd$it9@olivea.ATC.Olivetti.Com> <Do9xr1.z6@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-mail
X-Deja-AN: 144936716
Organization: Werple Internet, Melbourne
Newsgroups: news.software.nntp