🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #21860

Article number distribution idea

#21860
From: Jaye Mathisen
Date: Wed, 24 Sep 1997 00:00
26 lines
1223 bytes

Looking at all these suggestions for ways to use the Unix FS to store articles
more efficiently, what about just using the article number modulo the last
2 chars as an dir name?

Ie, news.software.nntp/12345 becomes

news/software/nntp/123/45, or perhaps

news/software/nntp/00000123/45

Every so often, go through and purge empty dirs less than the lo article
number in active.

Actually, probably modulo 3 chars is a better idea.

better than time based I think, and not too difficult to work with.

The only problem I can see is all numeric group names, but perhaps a .dir
extension to the directory would solve that.  The prepended 0's probably
avoids the numeric group name issue.

Just an idea.

Technical Details
Message-ID: <60btkc$ra6$1@news-1.meganews.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: <60btkc$ra6$1@news-1.meganews.com>
Subject: Article number distribution idea
Date: Wed, 24 Sep 1997 00:00:00 +0000
From: mrcpu@schizo.cdsnet.net (Jaye Mathisen)
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: 275266827
Organization: CDS Internet
Newsgroups: news.software.nntp