Article View: news.software.nntp
Article #13070Re: Time of replay on NEWNEWS command is too long.
From: David Woolley
Date: Sat, 07 Dec 1996 00:00
Date: Sat, 07 Dec 1996 00:00
40 lines
2817 bytes
2817 bytes
In article <32b266c5.276169748@cherry.news.easynet.net>, Chrisy Luke <chrisy@easynet.net> wrote: > >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 ..... Empirically this is what Demon do, although attempts to get clarification (so as to know the most efficient sucking strategy) produce "no comment" responses. In the past, before they got so commercial, they admitted to an older tactic, which they probably still use, which is to cache the hits from the history file, in the hope that the sucker will then proceed to fetch the articles it hit, on the same connection. (Someone then invented an optimised news grabber which used two connections, because of the dead time in the NEWNEWS phase!!) Another trick that could be used, is to take advantage of the locality of reference resulting from sorting the returns by group, and doing a chdir for each new group whilst fetching the articles. (This sorting could be considered unreasonable behaviour, but I think it is likely to cause less problems than their tendency to back fill articles below the current highest article number (an artefact of faking one server on multiple ones)). I don't know if it still does it, but one "feature" of the Demon approach is that you get the same ID returned for each subscribed group to which it is cross-posted, whereas normally this would only happen if you had to split the newsgroup list to meet the command length limits. -- 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:
<E21sDp.FuB@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:
<1996Nov29.131926@sph.spb.su> <E1qtKL.Dqw@djwhome.demon.co.uk> <32b266c5.276169748@cherry.news.easynet.net>Show Full Headers
Complete Article Headers
Message-ID: <E21sDp.FuB@djwhome.demon.co.uk> Subject: Re: Time of replay on NEWNEWS command is too long. Date: Sat, 07 Dec 1996 00:00:00 +0000 From: david@djwhome.demon.co.uk (David Woolley) References: <1996Nov29.131926@sph.spb.su> <E1qtKL.Dqw@djwhome.demon.co.uk> <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-mail X-Deja-AN: 203007160 X-mail2news-path: djwhome.demon.co.uk Sender: news@djwhome.demon.co.uk (news) X-mail2news-user: news@djwhome.demon.co.uk Organization: Demon Subscriber at Home Newsgroups: news.software.nntp