🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68754

Re: Cyclic Buffer Setup Strategies

#68754
From: Russ Allbery
Date: Mon, 22 Mar 2004 21:47
36 lines
2745 bytes
Jonathan B Horen <horen@mail.iucc.ac.il> writes:

> Although I could just play stupid (I'm leaving this job in 1-1/2
> months), I'd prefer to configure it for long-term usefulness.  My
> thoughts are that it would be best to create cyclic and metacyclic
> buffers to reflect overall newsgroup hierarchy use, rather than by
> individual university (we have eight of them).

> Are there any readers in a similar academic environment -- or corporate
> users, as well -- who have grappled with devising an initial strategy
> for configuring article storage using cyclic buffers, such as ours?

What I recommend to people is to use tradspool for local hierarchies for
easier backups, easier manual fiddling with messages, and a generally more
robust and more easily recoverable storage format.

Binaries and probably cancel messages should use cycbuffs so that you
don't have to worry about space.

For everything else, it's up to you.  I personally use tradspool for
everything except binaries, cancel messages, and one very large local
newsgroup (which is stored in timehash).  It might be easier to maintain
to put everything but local hierarchies in cycbuffs.

I recommend as few metacycbuffs as is reasonable.  Figure out your large
classes of expire times (like binary groups and text groups) and then
create one metacycbuff for each.  Creating too many is like
overpartitioning disks; you're increasing the chances that you'll run out
of space somewhere where you don't expect.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87smg0y2nm.fsf@windlord.stanford.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!archiver1.google.com!news1.google.com!news.glorb.com!hammer.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <405EDD3A.6060602@mail.iucc.ac.il>

Show Full Headers
Complete Article Headers
Message-ID: <87smg0y2nm.fsf@windlord.stanford.edu>
Subject: Re: Cyclic Buffer Setup Strategies
Date: Mon, 22 Mar 2004 13:47:57 -0800
From: Russ Allbery <rra@stanford.edu>
References: <405EDD3A.6060602@mail.iucc.ac.il>
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!archiver1.google.com!news1.google.com!news.glorb.com!hammer.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 35
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1079992077 20140 171.64.19.147 (22 Mar 2004 21:47:57 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Common Lisp, linux)
Cancel-Lock: sha1:jn6pUQCvwIY3mubEsqAW1VB72kY=