🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #18805

ANNOUNCE: The Great Cancel Problem

#18805
From: Joe Greco
Date: Fri, 27 Jun 1997 00:00
31 lines
1834 bytes
Okay, I just wanted your attention  :-)

Cancel volume has become a problem for many.  A great deal of the problem
is that the time required to scan a multi-hundred-kilobyte control/cancel
directory is quite significant.

Years ago, I ran into this same problem, when I was running news on a
Sun 3/60 with some not-zippy SCSI-I 660MB drives, and I devised a solution.

Because (almost) nobody uses NNRP to read control/cancel, I decided it
would be acceptable to deviate from standard spool format.  I wrote a
simple patch to take a cancel filename like control/cancel/1234567890
and change it to control/cancel/56/78/1234567890.
The choice of digits was to ensure locality of reference (I wanted it
to stay in the same directory for a while and then switch).  The
number of directories, etc., is somewhat arbitrary.

I _HAVE_NOT_TESTED_ this patch in years.  I did bash it in and install
it on a 1.4u4 machine this morning, and it seemed to work, but there are
other patches on that 1.4u4 machine.  YOU USE THIS PATCH AT YOUR OWN RISK.

YOU NEED TO READ THE COMMENTS AT THE START OF THE PATCH.

Now that I am done screaming the things you won't have listened to
anyways, I'll mention that you may find the patches at
http://www.nntp.sol.net/patches

... JG

Technical Details
Message-ID: <5p0mk0$m6g$1@earth.execpc.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

Show Full Headers
Complete Article Headers
Message-ID: <5p0mk0$m6g$1@earth.execpc.com>
Subject: ANNOUNCE: The Great Cancel Problem
Date: Fri, 27 Jun 1997 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
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: 252987307
Sender: jgreco@earth.execpc.com
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp