🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #5459

Re: How to do a better USENET file system

#5459
From: Brad Templeton
Date: Sat, 02 Mar 1996 00:00
32 lines
2194 bytes
In article <LOC.4h66bv$ib1@the-fly.zip.com.au>,
James Brister <brister@zip.com.au> wrote:
>There'd be a dramatic reduction in filesystem activity--no directory
>searches for filenames etc.  It's fairly obvious (I think) that simply
>appending to one of a few files would be heaps faster than the current
>system. Finding the article would also be much faster--the same amount of
>history lookup as now, but then a simple seek into the appropriate file. 
>
>It would be difficult to convince me that using raw disk i/o would be worth
>it.

Why?  News wants very little of what the filesystem has to offer, and even
seeking into a huge file (while certainly possible) has to go through the
filesys and it's block lists, allocation, free lists etc.   Though if the
filesystem is one of those that is good at making these files contiguous and
can use that so that seeks are fast, it's ok.

(If you build your news files right after opening a filesys then they will
be contiguous, and so this is not too bad.)

If you use the filesys you get it's cache, which is both good and bad.
You are probably smarter about what to cache.


However, individual files are not generally needed.  If the news system
is logging out direct seek addresses to the log file and to the overview
files, there is no reason to use the filesystem at all.
-- 
Brad Templeton, publisher, ClariNet Communications Corp.	 info@clari.net
The net's #1 E-Newspaper (1,200,000 paid sbscrbrs.)  http://www.clari.net/brad/

Technical Details
Message-ID: <DnM84I.B9w@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
References: <Dn4HrC.KIx@twwells.com> <4h3d4q$nvq@the-fly.zip.com.au> <4h5pu5$kti@piano.synapse.net> <4h66bv$ib1@the-fly.zip.com.au>

Show Full Headers
Complete Article Headers
Message-ID: <DnM84I.B9w@clarinet.com>
Subject: Re: How to do a better USENET file system
Date: Sat, 02 Mar 1996 00:00:00 +0000
From: brad@clarinet.com (Brad Templeton)
References: <Dn4HrC.KIx@twwells.com> <4h3d4q$nvq@the-fly.zip.com.au> <4h5pu5$kti@piano.synapse.net> <4h66bv$ib1@the-fly.zip.com.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
X-Deja-AN: 141758325
X-original-newsgroups: office.clip.brad
Organization: ClariNet Communications Corp.
Newsgroups: news.software.nntp