🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #34776

Re: NNTP revision - it's about time?

#34776
From: Greg Andrews
Date: Sun, 17 Jan 1999 00:00
34 lines
2013 bytes
Russ Allbery <rra@stanford.edu> writes:
>
>If clients really *use* the full power of the group pattern, which
>unfortunately can be almost a full-blown wildmat(3) pattern (it doesn't
>allow character classes, but it does allow inverted matches and *
>wildcards), then yeah, your life as the server pretty much sucks, since
>you have to scan the whole active file, find all matching groups, and then
>scan their individual overview files, or you have to scan one global
>overview file and throw away a lot of stuff.
>

Huh?  The timestamp, group, and message-id are all in the traditional
history file.  There was no need to go to an Overview file (much less
multiple ones for each group) with the reference implementation or
INN through 1.7.x.  Dunno about other implementations.

>
>It gets even worse if they use the "feature" to limit the search to
>certain distributions.
>

That's true enough.  The server would have to open the article files
if it didn't use Overview data.

So it's possible to answer a NEWNEWS query without going to group-
specific Overview files, but the impact on the server is large in
two ways:  A linear search through the history file to satisfy the
date/group requirements, and an open/scan/close for every article
to satisfy the Distribution requirements.


  -Greg

Technical Details
Message-ID: <77sbf1$ocj$1@shell1.ncal.verio.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
References: <77nr30$15t$1@taliesin.netcom.net.uk> <ylk8ym1m0p.fsf@windlord.stanford.edu> <19990117011843.034$w1@newsreader.com> <ylhftq1jt0.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <77sbf1$ocj$1@shell1.ncal.verio.com>
Subject: Re: NNTP revision - it's about time?
Date: Sun, 17 Jan 1999 00:00:00 +0000
From: gerg@shell1.ncal.verio.com (Greg Andrews)
References: <77nr30$15t$1@taliesin.netcom.net.uk> <ylk8ym1m0p.fsf@windlord.stanford.edu> <19990117011843.034$w1@newsreader.com> <ylhftq1jt0.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!not-for-mail
X-Deja-AN: 433590904
Organization: The Nerd From B.O.F.H.
Newsgroups: news.software.nntp