🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #22191

Re: slrn and Xref

#22191
From: Olly Betts
Date: Tue, 28 May 1996 00:00
36 lines
2200 bytes
In article <slrn4qfdvg.6v.leitner@xorn.prz.tu-berlin.de>, Felix von Leitner wrote:
>On 25 May 1996 14:23:08 GMT, John E. Davis <davis@space.mit.edu> wrote:
>> slrn calls HEAD if non XOVER headers are required to perform a score.
>> Unfortunately, HEAD does not take a range parameter.
>
>Why not use xdhr instead of head?

Assuming you mean XHDR, HEAD is in general a better solution.  At least in
INN 1.4, the implementation of XHDR checks to see if the header is in the
overview file, and if not, attempts to open up each article in the range,
and read through until it finds the header asked for (or hits the empty line
between the headers and body).

This means if you're scoring on more than one non-XOVER header, then the
server is doing more work using XOVER+XHDR than using HEAD.  So unless you
use a lightly loaded server over a slow link, HEAD is a better *general*
solution.

It would be worth patching the code to use XHDR if it only needs one extra
header, as that's pretty much a gain all-round.

>[...] one of slrn's features was
>that it handled low-bandwidth well.  I can't say this is true and longer
>if you always fetch all headers when entering a news group.

But slrn only uses HEAD if you tell it to score on a header not in the NOV
database, and to be fair on John, he does refer to this as "expensive
scoring" in the documentation.

Olly
-- 
cool wet grass  cool wet grass  cool wet grass  cool wet grass  cool wet grass


Technical Details
Message-ID: <4oeg8n$lbn@sunforest.mantis.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.readers.mbox.zip!not-for-mail
References: <slrn4q5oe9.1g7.dupuis@pc-dupuis.lei.ucl.ac.be> <slrn4qe5uc.81k.davis@aluche.mit.edu> <slrn4qfdvg.6v.leitner@xorn.prz.tu-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <4oeg8n$lbn@sunforest.mantis.co.uk>
Subject: Re: slrn and Xref
Date: Tue, 28 May 1996 00:00:00 +0000
From: olly@mantis.co.uk (Olly Betts)
References: <slrn4q5oe9.1g7.dupuis@pc-dupuis.lei.ucl.ac.be> <slrn4qe5uc.81k.davis@aluche.mit.edu> <slrn4qfdvg.6v.leitner@xorn.prz.tu-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 157121873
Content-type: text/plain; charset=iso-8859-1
Organization: Mantis Consultants Ltd, Cambridge. UK.
Mime-version: 1.0
Newsgroups: news.software.readers