🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #21826

Re: *NEW* News Server Software!

#21826
From: Bill Gunshannon
Date: Wed, 24 Sep 1997 00:00
39 lines
2295 bytes
In article <60blkj$im8$1@Mercury.mcs.net>, les@MCS.COM (Leslie Mikesell) writes:
|> 
|> Also many filesystems don't shrink the size of a directory even
|> if you remove most of the files.
|> 
|> Does anyone have trouble with INN's speed when you first start it
|> on a new filesystem?  Has anyone attempted a fix to INN that built
|> deep directory trees instead of fat ones by mangling the filenames
|> to keep from ever putting more than a few hundred in the same directory?
|> 
|> I suppose you could fake this transparently in a filesystem layer with
|> some name hashing tricks.

Or what about this idea??  (And this is just off the top of my head 
with no real research.)

Why not break the group/directories down by date??  Every 24 hours 
you create a new sub-directory for that 24 hour period.  It should
be fairly easy get INN to create the new directories and if the
filenames continue to be just an ascending set of numbers there
should not be any real deep changes to make.  NNRPD should be easy 
to fix as well. (Or so it seems to me, anyway.)

This should make expire work more efficiently as well and it should
also cure the problem of the non-shrinking directory as after all the
files in a given directory are expired, you merely remove it.

Comments??

bill

-- 
Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
bill@cs.uofs.edu         |  and a sheep voting on what's for dinner.
University of Scranton   |
Scranton, Pennsylvania   |         #include <std.disclaimer.h>   

Technical Details
Message-ID: <60bp69$q4k$1@info.cs.uofs.edu>
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: <5vpddn$qlb$1@news5.ais.net> <5vta1f$gtd$1@ftel.ftel.co.uk> <34227DB2.6C2781D0@spinne.com> <vxk3en1e2z0.fsf@pocari-sweat.jprc.com> <60blkj$im8$1@Mercury.mcs.net>

Show Full Headers
Complete Article Headers
Message-ID: <60bp69$q4k$1@info.cs.uofs.edu>
Subject: Re: *NEW* News Server Software!
Date: Wed, 24 Sep 1997 00:00:00 +0000
From: bill@cs.uofs.edu (Bill Gunshannon)
References: <5vpddn$qlb$1@news5.ais.net> <5vta1f$gtd$1@ftel.ftel.co.uk> <34227DB2.6C2781D0@spinne.com> <vxk3en1e2z0.fsf@pocari-sweat.jprc.com> <60blkj$im8$1@Mercury.mcs.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: 275243511
Keywords: "cannot"
Distribution: inet
Organization: Computing Sciences Dept., University of Scranton
Newsgroups: news.software.nntp