🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #37237

Re: Abandoning uniover - but how?

#37237
From: T. William Wells
Date: Tue, 04 May 1999 00:00
32 lines
2243 bytes
In article <slrn7iu3fa.1i7.usenet@luser.oneill.net>,
Clayton O'Neill <usenet@oneill.net> wrote:
: On 28 Apr 1999 20:08:55 -0400, T. William Wells <bill@twwells.com> wrote:
: |Well, here's a proposal: Get rid of overchan entirely. Let nnrpd
: |have the responsibility of reading *and* creating the overview.
: |This would seem to be about as efficient as one can get, since
: |exactly those articles that need overview records get them and
: |none others do. In this method, the overview database is, in
: |essence, one big shared cache used exclusively by nnrpd.
:
: This really doesn't scale well.  Think about what happens when 20-30 nnrpd's
: all try to built the latest entry in abpe at the same time?

That's why the sequence is: lock the overview file, see where the
current end point is, add any new records, ... With that sequence,
only one of the nnrpd's actually adds the new records; the rest of
them wait at the lock, then discover that all the records are
there, and proceed merrily along without having to add any new
records. I do believe I made this point already....

: Also, if you
: write the overview at article write time then you don't have to read the
: article again.

This one, I *did* address: If you create the overview at nnrpd
read time, odds are pretty damned good that that article is going
to get read shortly. This has the same caching benefits as
creating the overview at write time. The additional overhead, of
moving the data from cache to process an extra time is not
relevant; news servers aren't noted for being CPU bottlenecked.

Technical Details
Message-ID: <7gn3tf$jk1$1@twwells.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: <7f5p31$vmq$1@news.netmar.com> <19990428114141.388$tD@newsreader.com> <7g87un$eob$1@twwells.com> <slrn7iu3fa.1i7.usenet@luser.oneill.net>

Show Full Headers
Complete Article Headers
Message-ID: <7gn3tf$jk1$1@twwells.com>
Subject: Re: Abandoning uniover - but how?
Date: Tue, 04 May 1999 00:00:00 +0000
From: bill@twwells.com (T. William Wells)
References: <7f5p31$vmq$1@news.netmar.com> <19990428114141.388$tD@newsreader.com> <7g87un$eob$1@twwells.com> <slrn7iu3fa.1i7.usenet@luser.oneill.net>
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: 473947581
Organization: None, Mt. Laurel, NJ
Newsgroups: news.software.nntp