Article View: news.software.nntp
Article #11480Re: What's wrong with sucking? and how do we fix it?
From: Goran Larsson
Date: Mon, 07 Oct 1996 00:00
Date: Mon, 07 Oct 1996 00:00
69 lines
3173 bytes
3173 bytes
In article <DyuynJ.CIA@djwhome.demon.co.uk>, David Woolley <david@djwhome.demon.co.uk> wrote: > > In article <53451b$5f@pixi.com>, Robert A. Yetman <boby@pixi.com> wrote: > > > >Yep, I use XHDR to get the list of msg-ids on a by-group basis, then I take > >all the msg-ids, de-dupe em, then download articles using ARTICLE or > >HEADER/BODY if using killfiles. > > That is bad. For maximum server kindness you should be accessing by > article number not ID and sorting by newsgroup. In fact, on a modem > connection and a 386 SX Perl hashed arrays are fast enough to de-dupe on > the fly. Ideally you'd only issue GROUP once for each group, but that > means synchronising any streaming at the end of each group, so I In january this year I suggested this to Robert. Will this work? Will it improve things at all? | As I remember the workings of suck, is that it goes like this | | loop | get group-name from rc-file | NNTP group group-name | NNTP xhdr Message-ID nnn- | put message-id in list | end loop | | sort by message-id and remove duplicates | | loop | get message-id from list | NNTP article <message-id> | end loop | | Would it not be much more efficient if it was done like this instead? | | loop | get group-name from rc-file | NNTP group group-name | NNTP xhdr Message-ID nnn- | put group-name, message-number and message-id in list | end loop | | sort by message-id and remove duplicates | sort by primary by group-name, secondary by message-number | | loop | gett group-name, message-number and message-id from list | if new group-name | NNTP group group-name | end if | NNTP article message-number | end loop | | Wouldn't this save the server from checking the history database for | each article command? Does all NNTP implementations return message number with the xhdr command? The one I tested did it, but Robert said he did not get it. Any comments? -- Goran Larsson mailto:hoh@approve.se I was an atheist, http://home1.swipnet.se/%7Ew-12153/ until I found out I was God.
Technical Details
Message-ID:
<1996Oct7.214447.22032@lorelei.approve.se>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:
<5336lb$815@brasil.moneng.mei.com> <53451b$5f@pixi.com> <DyuynJ.CIA@djwhome.demon.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <1996Oct7.214447.22032@lorelei.approve.se> Subject: Re: What's wrong with sucking? and how do we fix it? Date: Mon, 07 Oct 1996 00:00:00 +0000 From: hoh@approve.se.NO_JUNK_EMAIL (Goran Larsson) References: <5336lb$815@brasil.moneng.mei.com> <53451b$5f@pixi.com> <DyuynJ.CIA@djwhome.demon.co.uk> 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: 187450946 Sender: hoh@lorelei.approve.se.NO_JUNK_EMAIL (Goran Larsson) Organization: [1] + 5934 done /bin/rm -rf ~/ & Newsgroups: news.software.nntp Originator: hoh@approve.se.NO_JUNK_EMAIL (Goran Larsson)