🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62340

Re: [gmane.discuss] Re: removing M$ executable bodies for poor modem user

#62340
From: Andrew - Supernews
Date: Wed, 18 Dec 2002 13:11
61 lines
3994 bytes
In article <87r8cg8lbh.fsf@jidanni.org>, Dan Jacobson wrote:
> Dear news experts, is it false that one can maybe download twice as
> many articles during a 10 minute modem session if one does not first
> scan the headers?

that depends on the strategy used to do the download.

First, some terminology corrections:

The 'overvew' is a specific subset of article headers that can be fetched
in batches via the XOVER or XHDR commands.

The 'headers' of an article are the bit at the top before the blank line.
They can be retrieved on an article-at-a-time basis using the HEAD command.

The 'body' of an article is the bit after the headers, which can be
retrieved on an article-at-a-time basis via the BODY command.

The ARTICLE command returns the whole article, headers+body, again on an
article-at-a-time basis.

A client that wants to fetch the article has to use either ARTICLE or
HEAD+BODY to get the whole thing. The client does not _have_ to fetch the
overview _at all_ (everything in the overview can be extracted from the
article instead); however, online-reading clients will fetch the overview
in order to display the available articles and do threading.

An offline client has more choices in how it fetches articles:

 1) it can do NEWNEWS (which returns a list of message-ids) and then
    download all the requested articles. This strategy is almost optimal
    as far as bytes transferred goes, but support for NEWNEWS in servers
    is often poor (or disabled), so clients that use this method generally
    need to have another method available as a fallback
 2) it can do GROUP and then download all new article numbers. This
    strategy probably transfers the fewest bytes, but behaves badly if
    the article numbering is at all sparse.
 3) it can do LISTGROUP and then download new articles by number. This
    avoids problems with sparse numbering but is inefficient if the number
    of articles available is large compared to the number of _new_ articles
    (i.e. if the retention of the group is long compared to the download
    frequency)
 4) it can do GROUP followed by XOVER (for the new article range). This
    allows pre-filtering of the downloaded articles, but at the cost of
    transferring more data (a few hundred bytes per article inspected).
    So, this method _will_ be slower if the normal expectation is to
    download everything.
 5) it can do GROUP plus XHDR on specific headers. This allows filtering
    with lower overhead than using XOVER but less flexibility.

Those strategies that don't use XOVER or XHDR can only do filtering by
using separate HEAD and BODY commands rather than ARTICLE. This is possible,
but pipelining becomes essential to keep the performance manageable, and
there is (unfortunately) no reliable way to get the article _size_ by
this method (the (approximate) article size in bytes is in the overview but
isn't otherwise easy to get).

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Technical Details
Message-ID: <slrnb00t0p.tu.andrew+nonews@trinity.supernews.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!newsfeed.news2me.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <87r8cg8lbh.fsf@jidanni.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrnb00t0p.tu.andrew+nonews@trinity.supernews.net>
Subject: Re: [gmane.discuss] Re: removing M$ executable bodies for poor modem user
Date: Wed, 18 Dec 2002 13:11:53 -0000
From: Andrew - Supernews <andrew+nonews@supernews.com>
References: <87r8cg8lbh.fsf@jidanni.org>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!newsfeed.news2me.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://www.supernews.com - all your nntp are belong to us
Reply-To: andrew@supernews.com
User-Agent: slrn/0.9.7.4 (FreeBSD)
X-Complaints-To: abuse@supernews.com
Lines: 60