Article View: news.software.nntp
Article #11453Re: What's wrong with sucking? and how do we fix it?
From: David Woolley
Date: Sun, 06 Oct 1996 00:00
Date: Sun, 06 Oct 1996 00:00
51 lines
3016 bytes
3016 bytes
Bogus (obsolete) distribution inet reset. 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 actually run a pipeline of XOVER grabber (so I can filter without getting headers) de-duper/filter and article grabber. (I'm using a server which welcomes offline reading, although if anything is optimised for NEWNEWS! (I think sucking may be more efficient still, but the internals knowledge to judge this is a trade secret to which I am not party - in such mode it suffers from a failure to completely synchronise the slave servers)). > >>2) If you do #1, lock your .newsrc style file against multiple copies of >> the program running. This will discourage beginners from doing >> parallel feeds, but will not do much to deter a seasoned abuser with >> source and the willingness to create multiple .newsrc's > >Already there, but the ability to use multiple feeds is there and >documented. Microsoft, in particular, with msnews.microsoft.com, has made parallel .newsrc's an almost essential feature, because the newsreader is now supposed to integrate multiple feeds, not the news server. > >>3) Provide an option to be "nice" to the server - allow it to sleep a >> second every 'N' articles. > >Will be in the next version, due out in a week or so. Took about 20 mins >to code in. Human nature being what it is, very few people will use this feature. -- David Woolley, London, England david@djwhome.demon.co.uk (Sending any email to this site constitutes a licence to copy it to any company which might reasonably be assumed to have transported it or might reasonably be assumed to service any addresses quoted in it. 15Sep1996)
Technical Details
Message-ID:
<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-mailReferences:
<5336lb$815@brasil.moneng.mei.com> <53451b$5f@pixi.com>Show Full Headers
Complete Article Headers
Message-ID: <DyuynJ.CIA@djwhome.demon.co.uk> Subject: Re: What's wrong with sucking? and how do we fix it? Date: Sun, 06 Oct 1996 00:00:00 +0000 From: David Woolley <david@djwhome.demon.co.uk> References: <5336lb$815@brasil.moneng.mei.com> <53451b$5f@pixi.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: 187262313 X-mail2news-path: news.demon.net!relay-4.mail.demon.net!djwhome.demon.co.uk Sender: news <news@djwhome.demon.co.uk> X-nntp-posting-user: news@djwhome.demon.co.uk Organization: Demon Subscriber at Home Newsgroups: news.software.nntp