🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #6481

Re: UUNET lagging (again)?

#6481
From: T. William Wells
Date: Thu, 11 Apr 1996 00:00
18 lines
1519 bytes
In article <4keu7k$fav@eri.erinet.com>, Operator <root@eri.erinet.com> wrote:
: I was thinking that a file system that used a hash table to store
: filenames & locations would be a big win in this environment
: as is would take directory search time way down..Anyone have
: thoughts on this before I try to code something up and see how well it
: works?

I wouldn't bother. Hash table directories are fine if you don't
ever have to do linear scans -- or "find all entries in directory
X". But once you have to do anything sequential, you're really screwed.

A better approach is simply to _have_ smaller directories. E.g.,
instead of storing each article of a newsgroup in one directory,
create subdirectories instead, whose names are made from the
higher order digits of the article number. This is the smallest
change I can think of that would solve this particular problem.

Technical Details
Message-ID: <Dppv27.GKu@twwells.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
References: <4jrict$93d@gti.gti.net> <4k434i$1ie@hunter.premier.net> <DpM5Fn.2sp@twwells.com> <4keu7k$fav@eri.erinet.com>

Show Full Headers
Complete Article Headers
Message-ID: <Dppv27.GKu@twwells.com>
Subject: Re: UUNET lagging (again)?
Date: Thu, 11 Apr 1996 00:00:00 +0000
From: bill@twwells.com (T. William Wells)
References: <4jrict$93d@gti.gti.net> <4k434i$1ie@hunter.premier.net> <DpM5Fn.2sp@twwells.com> <4keu7k$fav@eri.erinet.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: 146983793
Distribution: inet
Organization: None, Mt. Laurel, NJ
Newsgroups: news.software.nntp