🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #21936

Re: New Diablo storage scheme being considered

#21936
From: Matt Dillon
Date: Sun, 28 Sep 1997 00:00
33 lines
2352 bytes
    Well, I got alpha code running on news1.best.com.  It turned out to be
    pretty damn easy to do.  Basically the existing diablo spool format
    is used, but rather then have each forked diablo write to a private
    file in the last directory of the spool, it instead appends to private
    files throughout the spool based on the expiration of the article.

    The expiration is specified in dexpire.ctl as a percentage 1-100, where
    100 stores the article in the last directory and 1 stores the article
    in the first.  One directory is created every 10 minutes and the number
    of total directories rubberbands depending on the size of the spool.

    File names are chosen such that files written by earlier diablo processes
    can be appended to by later diablo processes.  They are still private...
    a non-blocking exclusive lock is obtained and if it fails another filename
    is chosen.

    The number of files in the spool wind up being about the same, and the
    expire mechanism is also the same... it still just rm -rf's directories
    from the beginning of the spool until the free space target is met.

    The preliminary code definitely eats more disk I/O then before, but that
    is based entirely on the number of different expires in the dexpire.ctl
    file and thus essentially configurable.  In fact, the scheme degenerates
    into the previous one-directory/one-file system if you set all the
    expires the same. 

    ( p.s. this stuff is a preliminary requirement to using diablo as a reader
    spool, which is why it's so important ).

						-Matt

Technical Details
Message-ID: <60m88a$69m$1@flea.best.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: <60hp3e$peq$1@flea.best.net> <60luge$4i7$1@darla.visi.com> <60lvk4$mt3$1@scanner.worldgate.com> <60m3f2$7lf$1@darla.visi.com>

Show Full Headers
Complete Article Headers
Message-ID: <60m88a$69m$1@flea.best.net>
Subject: Re: New Diablo storage scheme being considered
Date: Sun, 28 Sep 1997 00:00:00 +0000
From: dillon@best.net (Matt Dillon)
References: <60hp3e$peq$1@flea.best.net> <60luge$4i7$1@darla.visi.com> <60lvk4$mt3$1@scanner.worldgate.com> <60m3f2$7lf$1@darla.visi.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: 276210519
X-Trace: 875471947 25578 dillon 206.184.139.132
Organization: Best Internet Communications, Inc - 650 964 BEST
Newsgroups: news.software.nntp