🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63933

Re: NEWNEWS command

#63933
From: Russ Allbery
Date: Fri, 07 Feb 2003 02:02
27 lines
2181 bytes
Curt Welch <curt@kcwc.com> writes:
> jeff@litech.org (Jeffrey M. Vinocur) wrote:

>> Recent versions of INN have fixed the horrible inefficiencies that made
>> it unusable before, but I think not very many people have enabled it
>> even so.

> What was changed?  How does it work now?

> How can "NEWNEWS *i*e*i* <30-minutes-ago>" ever be efficient?

It can't; you still have to walk the overview of most of your newsgroups.
But the common case of NEWNEWS group.name time can be made much more
efficient than what INN used to do.

INN used to handle NEWNEWS requests by trolling through the history file
directly, which was painfully slow, and became even more painfully slow
when the newsgroup names weren't directly in the history file.  Now it
handles NEWNEWS requests out of the overview information, and Alex has
contributed some additional caching code to make it even faster.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <yl4r7gyhje.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <veu0a.1907$cu1.373699@newsfep2-win.server.ntli.net> <b1turm$spd$3@puck.litech.org> <20030206194838.136$Ah@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <yl4r7gyhje.fsf@windlord.stanford.edu>
Subject: Re: NEWNEWS command
Date: Thu, 06 Feb 2003 18:02:29 -0800
From: Russ Allbery <rra@stanford.edu>
References: <veu0a.1907$cu1.373699@newsfep2-win.server.ntli.net> <b1turm$spd$3@puck.litech.org> <20030206194838.136$Ah@newsreader.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 26
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1044583349 17007 171.64.13.23 (7 Feb 2003 02:02:29 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:ZmiZFYz/ASQ9fJqbQKZuINN5r4c=