Article View: news.software.nntp
Article #25538Re: NEWNEWS or GROUP command?
From: Bill Stewart-Cole
Date: Sat, 24 Jan 1998 00:00
Date: Sat, 24 Jan 1998 00:00
44 lines
2860 bytes
2860 bytes
In article <34c7cde64707b81@littlefort.com>, bbeck@littlefort.com (Brad Beck) wrote: > I'm writing a news client and am wondering if I should be using the > NEWNEWS or GROUP command when enqiring about new articles. I'm leaning > towards GROUP because I have recently learned that some newservers > no longer support NEWNEWS. If I use the GROUP command will I miss > any articles? Maybe I should give user the option to choose. NEVER use NEWNEWS. The major reason is that it is hard on servers, but beyond that the situation is exactly reversed from what you fear: NEWNEWS cannot guarantee that you will get all articles, but GROUP (and a client-side record of what article numbers are read, the functional equivalent of the classical .newsrc file) will ensure that much better. The simplest mode of failure is that news comes in so fast that newnews cannot draw the line finely enough. A full-feed server accepts 5-10 messages per second. You have the better part of a second of uncertainty in what time the server believes it is, and a NEWNEWS command will generally not execute in less than many seconds, and you cannot tell where the latency in the command is. You may know when you issued the NEWNEWS in server time within one second, but you do NOT know what server time the command response actually reflects. Using GROUP lets you know group contents by article number and article numbers on a server are unique except in extremely unusual circumstances[*]. If you've read article 200 in group foo.bar, you can be sure to a very high level that article 200 in group foo.bar will never be some other article which you have not read. *: On some servers it is barely possible for a confluence of expiration and cancels to result in article numbers being reused. I recall reading an explanation for how it would have to happen, but I've never seen an occurence documented. The likelihood of such a hypothetical occurence to actually cause a reader to miss an article is even lower because it would have to occur almost instantly after the reader retrieves the article whose number is reused. -- Bill Stewart-Cole bill@scconsult.com So how do I get one of those unpaid interns?
Technical Details
Message-ID:
<bill-2401981452330001@sc1.scconsult.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:
<34c7cde64707b81@littlefort.com>Show Full Headers
Complete Article Headers
Message-ID: <bill-2401981452330001@sc1.scconsult.com> Subject: Re: NEWNEWS or GROUP command? Date: Sat, 24 Jan 1998 00:00:00 +0000 From: bill@scconsult.com (Bill Stewart-Cole) References: <34c7cde64707b81@littlefort.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: 319068793 Distribution: world Organization: Despams 'r' us Rogue Midwest Office Newsgroups: news.software.nntp