🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #30145

Re: Speeding up INN's GROUP command (was: Re: Getting slrn to use LIST ACTIVE instead of GROUP?)

#30145
From: Curt Welch
Date: Wed, 29 Jul 1998 00:00
44 lines
3701 bytes
usenet@oneill.net (Clayton O'Neill) wrote:
> |> This is the problem that INN 2.0 created and it means the newsreaders
> |> will show the user headers for articles that have been cancled.  And
> |> then returns errors when the user tries to read them.  A real step
> |> backwards in functionality.
> |>
> |> What you might want to do is hack in a change to GROUP that will limit
> |> the number of article names it will read from the directory to
> |> something like 1,000.  When it hits the limit, it just gives up and
> |> returns the active file info for the GROUP command.  But remember the
> |> fact that the article list isn't yet valid so you can go back and do
> |> it compleletly when (and if) it's needed.  This gives you fast GROUP
> |> commands for clients that do a series of GROUP commands on start up,
> |> but retains the accuracy of the info GROUP returns for small groups.
>
> No, what you want to do is add another byte to the overview indexes that
> indicates that the article is canceled and then don't report those
> articles back to the user.  This was the original intent with overview
> indexes. Hell, you don't even need the flag, just set the artnum to -1.

I assumed he was talking about what he could do with a pre-2.0
version of INN.

But I like that idea.  When I saw the problem that inn 2.0 didn't have
a way to update the overview to reflect cancled articles it occured to
me as well that you should just update the overview.  I was thinking that
for a traditional overview format you could append special cancel records
to the end of the overview data as articles were cancled.  That would be
easier and more efficient than trying to scan back and somehow update
the actual overview record for the article.  NNRPD (or whoever) would read
the entire overview and sort out the cancled articles from this
information. If need be for space reasons it could just scan the overview
file twice, once to remember all the cancel records and a second time to
read and output the overview records.

So with 2.0 are the overview indexes fixed length so you could seek to the
correct record and update it with a -1 artnum?  Is that what you are
talking about?  Was it not done because of performance reasons?

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Technical Details
Message-ID: <19980729160657.528$Ob@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!not-for-mail
References: <slrn6r3vn3.7tk.gjohnson@dream.season.com> <slrn6ri2kp.8pi.syl@elvira.rodents.montreal.qc.ca> <6pdgab$494$1@supernews.com> <slrn6rmfnv.m1r.syl@elvira.rodents.montreal.qc.ca> <6pkd3q$kv5$1@supernews.com> <6pl6ml$9p3$1@news1.exit109.com> <m3lnpdsg79.fsf@windlord.Stanford.EDU> <6pm0fi$3a7$1@news1.exit109.com> <m3af5tpevc.fsf@windlord.Stanford.EDU> <6pm2tv$4q0$3@news1.exit109.com> <19980729011813.699$AS@newsreader.com> <6pmhd0$ggr$1@news1.exit109.com> <slrn6ruka7.qn.usenet@hmmm.colo.erols.net>

Show Full Headers
Complete Article Headers
Message-ID: <19980729160657.528$Ob@newsreader.com>
Subject: Re: Speeding up INN's GROUP command (was: Re: Getting slrn to use LIST ACTIVE instead of GROUP?)
Date: Wed, 29 Jul 1998 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <slrn6r3vn3.7tk.gjohnson@dream.season.com> <slrn6ri2kp.8pi.syl@elvira.rodents.montreal.qc.ca> <6pdgab$494$1@supernews.com> <slrn6rmfnv.m1r.syl@elvira.rodents.montreal.qc.ca> <6pkd3q$kv5$1@supernews.com> <6pl6ml$9p3$1@news1.exit109.com> <m3lnpdsg79.fsf@windlord.Stanford.EDU> <6pm0fi$3a7$1@news1.exit109.com> <m3af5tpevc.fsf@windlord.Stanford.EDU> <6pm2tv$4q0$3@news1.exit109.com> <19980729011813.699$AS@newsreader.com> <6pmhd0$ggr$1@news1.exit109.com> <slrn6ruka7.qn.usenet@hmmm.colo.erols.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: 376100710
X-User: Curt@NewsReader.Com
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
Newsgroups: news.software.nntp