Article View: news.software.nntp
Article #34795Re: NNTP revision - it's about time?
From: Russ Allbery
Date: Sun, 17 Jan 1999 00:00
Date: Sun, 17 Jan 1999 00:00
35 lines
2313 bytes
2313 bytes
Greg Andrews <gerg@shell1.ncal.verio.com> writes: > 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. Yes, but linearly scanning the history file is slow, as you'd already pointed out. Linearly scanning overview files is much faster, and you don't even have to scan all the way through because they're in arrival order. Given knowledge of the expire time and the file size, you can pick a good starting guess. :) >> 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. Distribution isn't in overview by default. Unless you're using a non-standard overview.fmt, you have to open the article files.a -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<ylww2mz0ip.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-mailReferences:
<77nr30$15t$1@taliesin.netcom.net.uk> <ylk8ym1m0p.fsf@windlord.stanford.edu> <19990117011843.034$w1@newsreader.com> <ylhftq1jt0.fsf@windlord.stanford.edu> <77sbf1$ocj$1@shell1.ncal.verio.com>Show Full Headers
Complete Article Headers
Message-ID: <ylww2mz0ip.fsf@windlord.stanford.edu> Subject: Re: NNTP revision - it's about time? Date: Sun, 17 Jan 1999 00:00:00 +0000 From: Russ Allbery <rra@stanford.edu> References: <77nr30$15t$1@taliesin.netcom.net.uk> <ylk8ym1m0p.fsf@windlord.stanford.edu> <19990117011843.034$w1@newsreader.com> <ylhftq1jt0.fsf@windlord.stanford.edu> <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 X-Deja-AN: 433593473 Sender: eagle@windlord.stanford.edu Organization: The Eyrie Newsgroups: news.software.nntp