Article View: news.software.nntp
Article #30394Re: Speeding up INN's GROUP command (was: Re: Getting slrn to use LIST ACTIVE instead of GROUP?)
From: Joe Greco
Date: Mon, 10 Aug 1998 00:00
Date: Mon, 10 Aug 1998 00:00
33 lines
2486 bytes
2486 bytes
In news.software.nntp article <slrn6rv34c.qn.usenet@hmmm.colo.erols.net>, usenet@oneill.net (Clayton O'Neill) wrote: :On 29 Jul 1998 20:06:57 GMT, Curt Welch <curt@kcwc.com> wrote: :|usenet@oneill.net (Clayton O'Neill) wrote: :|> 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. : :|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? : :They're fixed length, but necessarily in order. Regardless, right now each :record is only 8 bytes, so reading the entire thing is not a big deal. This probably isn't relevant except loosely... my MMAP'd overview patches for INN1.* allowed the option of sorting the overview data, which required that you actually read the overview data in in one big gulp... This helps with a variety of things, including a sick slave reader that is way far behind and you choose to sort the batch file for it, or something like that... the NOV records get written out of order but you really do not care too much. That same sort of strategy would allow articles to be easily "cancelled" by a cancel record, as suggested. Doing this would effectively eliminate the dir read requirement, at the expense of requiring overview data. ... JG
Technical Details
Message-ID:
<6qo4s4$ffs@newsops.execpc.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-mailReferences:
<slrn6r3vn3.7tk.gjohnson@dream.season.com> <slrn6ruka7.qn.usenet@hmmm.colo.erols.net> <19980729160657. <slrn6rv34c.qn.usenet@hmmm.colo.erols.net>Show Full Headers
Complete Article Headers
Message-ID: <6qo4s4$ffs@newsops.execpc.com> Subject: Re: Speeding up INN's GROUP command (was: Re: Getting slrn to use LIST ACTIVE instead of GROUP?) Date: Mon, 10 Aug 1998 00:00:00 +0000 From: jgreco@ns.sol.net (Joe Greco) References: <slrn6r3vn3.7tk.gjohnson@dream.season.com> <slrn6ruka7.qn.usenet@hmmm.colo.erols.net> <19980729160657. <slrn6rv34c.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: 379894995 Sender: jgreco@earth.execpc.com X-Trace: daily-planet.newsops.execpc.com 902796996 15868 (None) 169.207.16.1 Organization: sol.net Network Services - Milwaukee, WI Newsgroups: news.software.nntp X-Complaints-To: abuse@execpc.com