🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #42293

Re: Relative expense of XHDR vs XOVER

#42293
From: Alternative Fluffy
Date: Fri, 17 Dec 1999 00:00
35 lines
2525 bytes
Russell Senior <russell@klickitat.com> wrote:

[...]
> Presently, Snorkelator does the following:

>    GROUP <TARGET-GROUP> to get the article range
>    XHDR Date <ARTICLE-RANGE> to get the dates, converting to Calendar time
>    XHDR Message-ID <ARTICLE-RANGE> to get the Message-ID's by article number

> Now I am wondering if maybe XOVER might be a better choice, since it
> will traverse the articles only once.  The flipside is that XOVER will
> generate more data to transmit.

When accessing headers present in the overview, it's common practice
for servers to fetch them from the overview database rather than the
actual article.  Since the overview is designed to work very cheaply,
you aren't adding much load by using two XHDRs instead of one XOVER.

If you find that you need to grab more than a couple headers, or one
of the longer headers like Xref: or References:, then you are already
grabbing a large amount of the overview data and should start looking
at using XOVER.

> Any ideas on the relative expense of these commands on news server
> software?  Do all the common implementations provide both XHDR and
> XOVER?

These commands have both been around for about a decade, so at this
point it's fairly safe to depend on them being available.  Note,
however, that they are still technically nonstandard extensions.  If
you want to assure that your program works with ancient or obscure --
yet fully standard -- implementations, you might want to consider
offering the use of HEAD as an option.

Technical Details
Message-ID: <871z8lqcqd.fsf@slip-32-100-244-56.ma.us.prserv.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
References: <86so11qi4d.fsf@coulee.tdb.com>

Show Full Headers
Complete Article Headers
Message-ID: <871z8lqcqd.fsf@slip-32-100-244-56.ma.us.prserv.net>
Subject: Re: Relative expense of XHDR vs XOVER
Date: Fri, 17 Dec 1999 00:00:00 +0000
From: Alternative Fluffy <gerglery@usa.net>
References: <86so11qi4d.fsf@coulee.tdb.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: 562162580
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@prserv.net
X-Face: #!n`o'kqzEiF(\CL4IR$H.F-||!S*5wv~g8~prn}Z<+F/-^?oJ:#_V#QP?G}!!yayV0]i\' GTb6:]Tic*!vjH}wm>ILhZBn8U0XEjh'l~yrjB?4Iiph5N9:kwqd/}86UTr9i|LCu]Bd)~G1R9U(qJ KOyEQK8*?
X-Trace: 18 Dec 1999 01:06:07 GMT, 32.101.160.54
Organization: Feline Front of Judea
User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) XEmacs/20.4 (Emerald)
MIME-Version: 1.0
X-Meow: Wouf
Newsgroups: news.software.nntp