🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Benedict Lofstedt Thu, 07 Nov 1996 00:00
inn-1.5b1: LIKE_PULLERS considered harmful
#12148
Author: Benedict Lofstedt
Date: Thu, 07 Nov 1996 00:00
54 lines
2938 bytes

I installed inn-1.5b1 on our NNTP server (Solaris 2.4) on Oct 21 so we have
been running for almost three weeks now with no major problems.

We do, however, have users complaining about a slower service than what
they had before, when we used inn-1.4sec and inn-1.4unoff4.

After a while we have located the problem, and it seems to be connected
with users using news-readers which can *score* articles, such as GNUS.

inn-1.5b1 comes with a new feature, described in the README file:

    "This is the third and last alpha of inn 1.5.

    This release includes the following new features.

    [...snip...]
	- If LIKE_PULLERS is set to DONT, then a small sleep is done on 
	  ARTICLE commands, and on HEAD and BODY after the first 100
	  commands done. This won't hinder normal readers, but will slow
	  down ``sucking'' feeds.
    "

I have installed the server out of the box as much as possible, so have
accepted the setting of 'LIKE_PULLERS'.

However, the distinction between 'normal readers' and 'sucking feeds' seems
to be too coarse.  A news-reader which supports scoring will need to read
all the articles from a newsgroup before presenting the overview to the
user.  If the user then actually reads one or two articles, the server
should not deem the user to be 'sucking' and penalise the user.

Also, some users read news from home via a modem, and they have no interest
in paying the local Telecom for extra connect time, nor do I have any
motivation for imposing such expense on them.  As they usually download
news at off-peak times, they do not represent a load which can degrade
performance for other readers.

Perhaps the functionality for LIKE_PULLERS set to DONT can be modified.  On
the one hand, evidence of the presence of a real person *reading* articles
should remove the small sleeps.  On the other hand, sleeps should only be
inserted if necessary to balance the load in favour of other processes on
the machine, i.e. be load dependent.  All this should of course be
configurable in a nice way as the rest of the well-designed inn package is.

--- benedict

--
Benedict Lofstedt     <blofstedt@daimi.aau.dk>
Computer Science Department, Aarhus University,   Fax: + 45 8942 3255
Ny Munkegade, DK-8000 Aarhus C, Denmark.        Phone: + 45 8942 3222

Re: inn-1.5b1: LIKE_PULLERS considered harmful
#12167
Author: Karl Kleinpaste
Date: Thu, 07 Nov 1996 00:00
31 lines
2026 bytes
benedict@daimi.aau.dk (Benedict Lofstedt) writes:
> After a while we have located the problem, and it seems to be connected
> with users using news-readers which can *score* articles, such as GNUS.
...
> However, the distinction between 'normal readers' and 'sucking feeds' seems
> to be too coarse.  A news-reader which supports scoring will need to read
> all the articles from a newsgroup before presenting the overview to the
> user.

Um, no, if I understand what you mean, then you misunderstand what a
reader such as Gnus does.

Gnus does not inhale all the articles first, only thereafter doing
overview work; rather, it requests only the overview data for the
articles in question.  Scoring is done only on that data.  Gnus
scores, sorts, and displays to the user, who then reads whatever
articles appeal to him.  Nowhere is there a "double reading" done.

Now, on the other hand, you have been misled by the fact that Gnus
does asynchronous prefetch these days: If gnus-async is non-nil, then
Gnus will start pulling down articles ahead of what the user is
currently reading.  That may indeed appear to be a suck-type pseudo-
feed, but is in fact just Gnus trying to optimise for the user a bit.
I don't think the LIKE_PULLERS == DONT setting should slow matters
down much in that regard, but I'm open to correction from those a bit
more intimate with Gnus' nntp.el.

--karl

Re: inn-1.5b1: LIKE_PULLERS considered harmful
#12173
Author: Lars Balker Rasmussen
Date: Fri, 08 Nov 1996 00:00
24 lines
1778 bytes
Karl Kleinpaste <karl@jprc.com> writes:
> benedict@daimi.aau.dk (Benedict Lofstedt) writes:
> > However, the distinction between 'normal readers' and 'sucking feeds' seems
> > to be too coarse.  A news-reader which supports scoring will need to read
> > all the articles from a newsgroup before presenting the overview to the
> > user.
> 
> Um, no, if I understand what you mean, then you misunderstand what a
> reader such as Gnus does.
> 
> Gnus does not inhale all the articles first, only thereafter doing
> overview work; rather, it requests only the overview data for the
> articles in question.  

Only if the headers scored on is in the overview file, and only if it's
a header that is scored on.  The example Benedict is referring to
involved socoring on the body, which is HORRIBLY slow with LIKE_PULLERS
set to DONT.
-- 
Lars Balker Rasmussen                                              - Duck!
<URL:http://www.daimi.aau.dk/~gnort/>                              - Where!?!

Re: inn-1.5b1: LIKE_PULLERS considered harmful
#12178
Author: Robert Nichols
Date: Fri, 08 Nov 1996 00:00
56 lines
2858 bytes
Note: E-mailed *and* posted.

In article <vxkwwvx9tie.fsf@pocari-sweat.jprc.com>,
Karl Kleinpaste  <karl@jprc.com> wrote:
:benedict@daimi.aau.dk (Benedict Lofstedt) writes:
:> After a while we have located the problem, and it seems to be connected
:> with users using news-readers which can *score* articles, such as GNUS.
:...
:> However, the distinction between 'normal readers' and 'sucking feeds' seems
:> to be too coarse.  A news-reader which supports scoring will need to read
:> all the articles from a newsgroup before presenting the overview to the
:> user.
:
:Um, no, if I understand what you mean, then you misunderstand what a
:reader such as Gnus does.
:
:Gnus does not inhale all the articles first, only thereafter doing
:overview work; rather, it requests only the overview data for the
:articles in question.  Scoring is done only on that data.  Gnus
:scores, sorts, and displays to the user, who then reads whatever
:articles appeal to him.  Nowhere is there a "double reading" done.

That's true only if the user has set up filtering based only on
information contained entirely in the overview data.  I've seen
spam-weary people suggest rejecting articles based on things like
international phone numbers appearing anywhere in the *body* of the
article.  That's going to act just like sucking a newsgroup (a bit
worse, actually).  Even checking for excessively crossposted articles is
often inefficiently done by:

    /,.*,.*,.*,.*,/HNewsgroups:

which requires the server to open every article file to get that one
header, or even worse:

    /Newsgroups: .*,.*,.*,.*,.*,/h

which forces a read of all the headers.

  It's pretty rare to fine someone who does that with:

    / .* .* .* .* .* /HXref:

which can be satisfied from the overview data.

Note: I'm not familiar with just what features 'gnus' has for handling
      this.  I'm still using 'trn'.

-- 
Bob Nichols         rnichols@interaccess.com
Finger rnichols@cluster.interaccess.com for PGP public key.
PGP public key 1024/9A9C7955
Key fingerprint = 2F E5 82 F8 5D 06 A2 59  20 65 44 68 87 EC A7 D7

Re: inn-1.5b1: LIKE_PULLERS considered harmful
#12192
Author: Niels Olof Bouvin
Date: Fri, 08 Nov 1996 00:00
31 lines
1987 bytes
Karl Kleinpaste <karl@jprc.com> writes:
[snip]
> 
> Gnus does not inhale all the articles first, only thereafter doing
> overview work; rather, it requests only the overview data for the
> articles in question.  Scoring is done only on that data.  Gnus
> scores, sorts, and displays to the user, who then reads whatever
> articles appeal to him.  Nowhere is there a "double reading" done.
> 

I'm sorry, but that is simply not correct. According to the chapter on
scoring in the Gnus 5.2 Manual (p98): 

STRING:	If the key is a string, it is the name of the header to perform the
match on. Scoring can only be performed on these eight headers: From,
Subject, References, Message-ID, Xref, Lines, Chars and Date. In addition to
these headers, there are three strings to tell Gnus to fetch the entire
article and do the match on larger parts of the article: Body will perform
the match on the body of the article, Head will perform the match on the
head of the article, and All will perform the match on the entire article.

Cheers
	Niels Olof

-- 
Niels Olof Bouvin  W3: http://www.daimi.aau.dk/~bouvin/ Voice: (+45) 8942 3274
>  In omnibus requiem quaesivi, et nusquam inveni nisi in angulo cum libro   <
MSc Research Assistant @ Computer Science Department Aarhus University Denmark

Re: inn-1.5b1: LIKE_PULLERS considered harmful
#12248
Author: Tim Smith
Date: Mon, 11 Nov 1996 00:00
28 lines
2051 bytes
>Also, some users read news from home via a modem, and they have no interest
>in paying the local Telecom for extra connect time, nor do I have any
>motivation for imposing such expense on them.  As they usually download
>news at off-peak times, they do not represent a load which can degrade
>performance for other readers.

In addition to being nice to users, providing a mechanism for users to
read offline is nice to the ISP.  At many (most?) ISP's, the main
resource problem is modem availability, not news server bandwidth.
It's a heck of a lot better to have a given user sucking news for
30 minutes in the middle of the night, rather than reading it online
for two or three hours during prime time.  If the current generation
of servers can't handle this, then the solution is to fix the servers,
rather than encouraging users to stay with a newsreading mode that
consumes a lot more modem time.

This problem is not going to go away.  Suck only runs on Unix systems
now, but I know of at least one programmer planning to write a version
of suck for Windows (basically, it will be suck plus a simple news
server, so that the user can run their favorite Windows news reader
offline).  It's a spare time project, so it may not come to pass, but
if he does do this, there could be a heck of a lot more sucking going
on.  Adapt or die.

--Tim Smith

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads