Article View: news.software.nntp
Article #12941Re: Time of replay on NEWNEWS command is too long.
From: Chrisy Luke
Date: Tue, 03 Dec 1996 00:00
Date: Tue, 03 Dec 1996 00:00
33 lines
2130 bytes
2130 bytes
On Sun, 1 Dec 1996 16:24:20 GMT, david@djwhome.demon.co.uk (David Woolley) wrote: >Unless your ISP is Demon (who run (trade secret) software optimised for >NEWNEWS), the politically correct answer is to get an active feed - >UUCP is most efficient for unfiltered batch feeds, even better if you >can get them to gzip the batches. The approach I took, which I'm not keeping secret :) is, for each article, write a mini-history file to the spool directory of each group the article appears in, giving arrival time and message ID (as a minimum). You then change NEWNEWS to make a query on each group-based history file, in the order given. The file is much smaller and the initial binary-chop has a smaller targer, and then the sequential scan covers only data you are interested in rather than lots that you aren't. You also have to change the outside loop to scan the list of newsgroups so you can wildmat the group-pattern given by the user against each one, unless you want to disallow group wildcards. Sorry, I can't give patches for this. I have a number of other mods in there that I don't want to disclose right now... :) Chris. == chrisy@easynet.net, chrisy@flirble.org.uk, chrisy@etsiig.uniovi.es == Newsmaster and Senior Systems Developer for Easynet Group Plc. == To Flirble or not to Flirble? That is not a question, but a == statement of being, of life and of survival.
Technical Details
Message-ID:
<32b266c5.276169748@cherry.news.easynet.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:
<1996Nov29.131926@sph.spb.su> <E1qtKL.Dqw@djwhome.demon.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <32b266c5.276169748@cherry.news.easynet.net> Subject: Re: Time of replay on NEWNEWS command is too long. Date: Tue, 03 Dec 1996 00:00:00 +0000 From: chrisy@easynet.net (Chrisy Luke) References: <1996Nov29.131926@sph.spb.su> <E1qtKL.Dqw@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: 202130578 Content-type: text/plain; charset=us-ascii Organization: Systems Group, Easynet Ltd. X-easynet-cherry: 84963529614357.nnrp Mime-version: 1.0 Newsgroups: news.software.nntp