Article View: news.software.nntp
Article #5494Re: How to do a better USENET file system
From: Sean Donelan
Date: Sun, 03 Mar 1996 00:00
Date: Sun, 03 Mar 1996 00:00
31 lines
2512 bytes
2512 bytes
In article <DnoG2v.67M@clarinet.com>, brad@clarinet.com (Brad Templeton) writes: > What you do is just use a circular buffer. Allocate a fixed amount of > space for each of the classes of news, and as articles come in, stream > them out to the 5 circular buffers. After it loops around, it starts > replacing old articles with new ones in the same class. The COM software (DEC-10, DEC-20 era software) worked this way. Remember MAILNET? It used a circular queue of fixed sized blocks (in one monster "file"). Each article used how ever many blocks it needed. There were pointers to the first block of each article. When it reached the end, it looped around and started "freeing" blocks by deleting the article pointers until enough blocks were available for the next article. It got a lot more complicated because you could make and break links between articles and conferences at any time. To make a "best of" conference, you didn't need to repost the article, just "link" the article block to the best of ... conference article list. Gosh, this is starting to sound a lot like a full-fledge file system. It even had interesting failure modes just like a real file system. Yes, human programmers can write code that messes up even a simple circular queue during power failures (and if the programmer gets it correct, the disk controller designer that re-orders disk writes for performance will still trash it). News spools do have some interesting properties a file system designer could exploit. The write-once, never changed nature of most article files. The bulk delete of almost every article in FIFO order allows garbage collection possibilities. -- Sean Donelan, Data Research Associates, Inc, St. Louis, MO Affiliation given for identification not representation
Technical Details
Message-ID:
<1996Mar3.031533@sdg.dra.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-mailReferences:
<Dn4HrC.KIx@twwells.com> <DnM84I.B9w@clarinet.com> <4h8gvp$ss7@bushwire.mira.net.au> <4h9put$5jd@the-fly.zip.com.au> <DnoG2v.67M@clarinet.com>Show Full Headers
Complete Article Headers
Message-ID: <1996Mar3.031533@sdg.dra.com> Subject: Re: How to do a better USENET file system Date: Sun, 03 Mar 1996 00:00:00 +0000 From: sean@sdg.dra.com (Sean Donelan) References: <Dn4HrC.KIx@twwells.com> <DnM84I.B9w@clarinet.com> <4h8gvp$ss7@bushwire.mira.net.au> <4h9put$5jd@the-fly.zip.com.au> <DnoG2v.67M@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: 141895628 Distribution: inet Organization: Data Research Associates, St. Louis MO Newsgroups: news.software.nntp