🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #8295

.misc and news server issues (was Re: RFD: rec.games.board....)

#8295
From: Russ Allbery
Date: Wed, 05 Jun 1996 00:00
160 lines
6738 bytes
I'm going to spin this off into a separate thread because I'd like to get
it out of the rec.games.board discussion (it's becoming a far larger
percentage of that discussion than is warranted by it's position in my
list of arguments in favor of .misc renaming).

I'm also crossposting this to news.software.nntp since I'm hitting the
limits of my technical understanding on a few of these points and also
because we're discussing C News sys files, which are not things I have a
lot of experience with.

Jim Riley <Jimrtex@gnn.com> writes:
> Russ Allbery wrote:
>> Jim Riley <Jimrtex@gnn.com> writes:

>>> But there is a potential extra directory access every time the main
>>> group is accessed.

>> Which is trivial compared to the cost of searching through a large
>> directory.  Think about it.

> Searching through a directory is done by a CPU.  Searching through
> a filesystem means disk accesses.

Right.  Searching through a directory is part of searching through a file
system and it requires disk accesses.  It is definitely not done in core;
I don't believe the typical news server can cache even a substantial
percentage of the directories in a complete news spool, and I think the
INN FAQ backs me up on that.

> A lot depends on what is cached of course.  Are Unix directories
> alphabetized so that a binary search is possible?

In general, no.

> Searching time would be O(log 2 N) if they are.

Which is still greater than O(1) to find the extra directory.

> Couldn't (shouldn't) tale issue a warning when groups are transformed
> into non-terminal nodes by a sub-group being newgrouped.  Sysadmins who
> are performance bound may wish to reconsider the newgroup.

The ideal would just be to store the articles in .misc and alias the
parent to .misc.  However, control messages to create aliases are
something we don't have, and if we're going to go to the trouble required
to change that, it would be better to just completely overhaul how news is
stored.  Which is likely to happen eventually, hopefully in my lifetime.

>>> If this were a *real* problem it would be trivial to change the file
>>> structure.

>> Hah.

> If a group is not a leaf directory, store its articles in foo.bar.+

The hah did not refer to the technical difficulties.  The hah referred to
the idea that you could actually make a substantial modification to how
INN stores news and get that modification included in INN and all news
clients that read from spool and get it widely accepted in less than ten
years.

We still have B News sites, for heaven's sake.

(Yes, I'm a bit frustrated.  No, I'm not frustrated with you.  It would be
really nice if software change could happen a bit faster.)

> I've been reading news.software.nntp a bit.  Much of the discussion
> about enhancing perfomance is along the lines of hashing group names and
> using a 2 level file structure, doing away with the aricle == Unix file
> equivalence; storing articles in a data base; etc.

How much of this is running on production news servers today?

>> Nope.  I have no idea how one would go about measuring such a thing.
>> But just because I can't give you hard numbers doesn't mean the problem
>> doesn't exist; it does indeed exist and is documented.  It's just that
>> the Big Eight is about the only place anyone can do anything about it;

> And when soc.culture.russian.moderated was created, noone did anything
> about it.

A considerably smaller percentage of my list of reasons why I support
.misc renamings applies for that sort of a thing.  I therefore tend to
stay out of those discussions, since I'm not sure whether I support a
renaming there or not.

>> You'd be amazed how *selective* some people can be about their feeds. 
>> Go grab a copy of the following file:

>> ftp://ftp.uu.net/networking/news/config/sys.gz

> OK, did that.  What's the syntax?

C News, I believe.  So you won't see the INN group plus hierarchy problem
reflected there.

> Let's see, I bet each one is an entry for one newsfeed.  It's a
> list of hierarchies to feed, except when an item in the list is
> preceded by a bang in which case it means don't feed.

Yeah.

> There were a few instances of foo.bar.all, which look like it is
> similar in intent to foo.bar.*

As I recall, foo.bar.all is equivalent to foo.bar,foo.bar.* in INN
syntax.

> Now this is the part I don't understand.  What does the slash mean
> just before the list of main hierarchies?

That's probably a site alias; news articles which have passed through that
site won't get passed along to that feed.

> And this is at the start of some entries.  <name>!/<name>:

I'm not sure if that's significant, but I've never maintained a C News
site.

> This entry is a bit interesting (and unique):

>    rec.games,!rec.games.all,rec.games.board,rec.games.chess,\	   
> rec.games.programmer,rec.games.trivia,rec.games.video

My guess is that this is so they can get a feed of the group rec.games, if
it exists, but not all of its subgroups by default.  But that's mostly a
guess.

> Does 'off' have special meaning.  I don't have it as a hierarchy

>    off.rec.games.video.arcade,rec.games.video.atari,rec.games.video.sega

Good question.  Not sure.

> This one is interesting (found in a feed with about 3 other ng).

>    rec.games.board.ce

> And this one as well.

>    rec.games.board.marketplace	

> Does this mean they don't get r.g.board?

Yes, quite probably.

> And then there are those who really listing individual groups.  But I
> don't see a renaming of r.g.board mattering one way or the other here.

Where it would matter would be for those people who only take
rec.games.board.  If they were using INN syntax, they'd have a listing for
rec.games.board; newly created subgroups would not automatically be picked
up with that listing.  They would have to add rec.games.board.* to get
them.

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

Technical Details
Message-ID: <qumvih5foec.fsf_-_@cyclone.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!not-for-mail
References: <319B1E5C.2F48@politics.hull.ac.uk>

Show Full Headers
Complete Article Headers
Message-ID: <qumvih5foec.fsf_-_@cyclone.Stanford.EDU>
Subject: .misc and news server issues (was Re: RFD: rec.games.board....)
Date: Wed, 05 Jun 1996 00:00:00 +0000
From: Russ Allbery <rra@cs.stanford.edu>
References: <319B1E5C.2F48@politics.hull.ac.uk>
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: 158738264
Distribution: inet
Sender: eagle@cyclone.Stanford.EDU
Organization: The Eyrie
Newsgroups: news.groups,news.software.nntp