Article View: news.software.nntp
Article #30139Re: Speeding up INN's GROUP command (was: Re: Getting slrn to use LIST ACTIVE instead of GROUP?)
From: Clayton O'Neill
Date: Wed, 29 Jul 1998 00:00
Date: Wed, 29 Jul 1998 00:00
23 lines
2319 bytes
2319 bytes
|> 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. -- coneill@rcn.com|blahlblahblah@oneill.net
Technical Details
Message-ID:
<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-mailReferences:
<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>Show Full Headers
Complete Article Headers
Message-ID: <slrn6ruka7.qn.usenet@hmmm.colo.erols.net> 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: usenet@oneill.net (Clayton O'Neill) 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> 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: 376043898 X-Complaints-To: abuse@rcn.com X-Trace: winter.news.erols.com 901730735 7441 207.96.1.5 (29 Jul 1998 16:45:35 GMT) Organization: RCN Internet Newsgroups: news.software.nntp