🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #46454

Re: Diablo spool

#46454
From: Russell Vincent
Date: Wed, 17 May 2000 00:00
30 lines
2278 bytes
Joe Greco <jgreco@ns.sol.net> wrote:
> I never really looked at how Matt had implemented the "reader mode"
> expiration stuff, and some of the code that's in there to do things
> like making sure directories exist are things that I've not done much
> research to figure out what's really going on.  I think that'd be the
> biggest likely problem with any rewrite.

Aaah ... yes. I always forget about reader mode because I never
could get it working smoothly and prefer to use different machines
for different expire times. Not everyone can do that, though.  :-)

In this case it means that for the first article that comes in for
a particular expire slot, the partitions will need to be scanned
to find on which partition a particular slot is found. After that, the
fd cache takes care of the location. i.e: In the worst case, the
code will need to do a stat() for each partition for the first article
received in a particular expire slot.

e.g: If you have 10 dexpire.ctl lines, each with a different %, then
     for the first article received for each of those 10 lines, a
     stat() scan will need to be done.

How about allowing different partitions to be specified for different
hierarchies and then using the standard fifo in each partition? A bit
like the CNFS specification in INN.

 -Russell


Technical Details
Message-ID: <8fv3q8$nlb$1@quince.news.easynet.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: <957925631.861148@news.netscum.dk> <8fuha3$7rh$1@quince.news.easynet.net> <87n1lp12na.fsf@erlenstar.demon.co.uk> <8fuoof$e8o$1@quince.news.easynet.net> <3922fed8$0$50552@news.execpc.com>

Show Full Headers
Complete Article Headers
Message-ID: <8fv3q8$nlb$1@quince.news.easynet.net>
Subject: Re: Diablo spool
Date: Wed, 17 May 2000 00:00:00 +0000
From: Russell Vincent <rv@openusenet.org>
References: <957925631.861148@news.netscum.dk> <8fuha3$7rh$1@quince.news.easynet.net> <87n1lp12na.fsf@erlenstar.demon.co.uk> <8fuoof$e8o$1@quince.news.easynet.net> <3922fed8$0$50552@news.execpc.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: 624717757
X-Complaints-To: abuse@easynet.net
X-Trace: quince.news.easynet.net 958599816 24235 195.40.6.40 (17 May 2000 21:43:36 GMT)
Organization: [posted via Easynet Ltd]
User-Agent: tin/pre-1.4-19990216 ("Styrofoam") (UNIX) (FreeBSD/3.4-STABLE (i386))
NNTP-Posting-Date: 17 May 2000 21:43:36 GMT
Newsgroups: news.software.nntp