🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
13 messages
13 total messages Started by J. B. Moreno Fri, 05 May 2000 00:00
Re: [Xnews] Max nb of threads (att: Luu) ?
#61230
Author: J. B. Moreno
Date: Fri, 05 May 2000 00:00
30 lines
2101 bytes
Gozo <ROT13=Tbmb@fbpvbybtvfg.pbz> wrote:

> Just wondering. Is there a technical reason why the number of threads is
> limited to 4 ?
> 
> My ISP's newserver allows up to 10 threads simultaneously. I was just
> wondering if the actual limit of 4 could be (eventually) increased or if
> its involves too much recoding.

It's a GNKSA requirement that Xnews is meeting.

Also -- connections aren't free for either the client or the server,
more isn't necessarily better.  You only have so much bandwidth, opening
up more connections isn't going to change that.

In general, the reason to have more than one connection is because you
have something that will take quite a while and want to do something
else in the meantime -- it doesn't really speed anything up (in fact
it's more likely to slows things down), but it does allow you to read a
2k article while the 100mb movie is being downloaded.

About the only time that multiple connections will actually speed things
up, is when you are requesting a bunch of small articles, and aren't
pipelining the commands -- which in general would be the better solution
(speed wise, it may not be as easy to code).

-- 
John B. Moreno

Re: [Xnews] Max nb of threads (att: Luu) ?
#61264
Author: Adam Bailey
Date: Sat, 06 May 2000 00:00
23 lines
1911 bytes
Damian <tdf4tqd1hw@mailexpire.com> wrote:
>planb@newsreaders.com (J. B. Moreno) wrote in
><1ea6mtq.4p7umu1b8f6dbN%planb@newsreaders.com>: 
>>It's a GNKSA requirement that Xnews is meeting.
>
>Hmm, this is something I think GNKSA should change to "MUST default to" 
>as opposed to MUST.  Individual news servers have the capability to set 
>whatever limits they desire, and since it has no effect on users as a 
>whole, should not be limited in such a fashion.

Just because one has access to a poorly-configured news server doesn't mean
one should exploit it. In the case of many other GNKSA items, such
exploitation would come at the detriment of all of Usenet. In the case of
this GNKSA item, the detriment is only the news server. But it is, in most
cases, a detriment. Four connections is generally considered to be the
maximum number necessary for efficient newsreading.

-- 
Adam Bailey    | Chicago, Illinois
adamb@lull.org | Finger/Web for PGP
adamkb@aol.com | http://www.lull.org/adam/

Re: [Xnews] Max nb of threads (att: Luu) ?
#61267
Author: Damian
Date: Sat, 06 May 2000 00:00
32 lines
2331 bytes
adamb@lull.org (Adam Bailey) wrote in
<slrn8h8thj.2keq.adamb@shell-1.enteract.com>: 
>Just because one has access to a poorly-configured news server doesn't
>mean one should exploit it.

It doesn't necessarily mean it's poorly configured.  Usenetserver 
deliberately allows 10 connections.  I wouldn't call Dwight inexperienced 
or unaware of what he's doing.

>In the case of this GNKSA item, the detriment is only the news server. 
>But it is, in most cases, a detriment. Four connections is generally
>considered to be the maximum number necessary for efficient
>newsreading.

The problem I have with this logic is that it usurps authority from whom 
it belongs, the news admins.  Most of the GNKSA restrictions on 
"generally considered to be sufficient" are to prevent inexperienced 
users from inadvertently causing problems for everyone else.  In this 
case, the only people being affected are news admins, a group of people 
one should expect to be fully aware of the choices they make.  I have no 
problem with 4 being the default, by I do have a problem with it being a 
hard coded maximum that cannot be changed under any circumstances.  
That's too restrictive on people who DO know what they're doing, and want 
to change those things for a reason.

-- 
-Damian

E-Mail address valid until:
2000-05-25 17:24:04

Re: [Xnews] Max nb of threads (att: Luu) ?
#61271
Author: Russ Allbery
Date: Sat, 06 May 2000 00:00
21 lines
1889 bytes
Damian <tdf4tqd1hw@mailexpire.com> writes:

> The problem I have with this logic is that it usurps authority from whom
> it belongs, the news admins.  Most of the GNKSA restrictions on
> "generally considered to be sufficient" are to prevent inexperienced
> users from inadvertently causing problems for everyone else.  In this
> case, the only people being affected are news admins, a group of people
> one should expect to be fully aware of the choices they make.

You're making the assumption, I believe, that one can usefully limit the
number of simultaneous connections by user.  That definitely isn't true
for a cluster environment, among other situations.  One of our Unix
cluster machines could well legitimately have twenty or thirty open
connections with no more than four from any given user, and there isn't
any good way of limiting the connection count by user beyond banning
software that doesn't do the right thing.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: [Xnews] Max nb of threads (att: Luu) ?
#61273
Author: Russ Allbery
Date: Sat, 06 May 2000 00:00
33 lines
2534 bytes
Damian <tdf4tqd1hw@mailexpire.com> writes:

> This _is_ the forum where such information is to be obtained, so if you
> don't agree with my opinion, debate it.

The old maxim is true; the best way to get information from Usenet isn't
to ask questions, but rather is to post incorrect answers.  However, don't
be surprised, when using that tactic, to also draw flames.

> That would be unfortunate for those affected, but again, the GNKSA
> shouldn't be concerning itself with the problems of individual news
> admins, rather Usenet as a whole.

Without individual news admins, there *is* no Usenet as a whole.  The
entire rest of your argument seems to be based on that particular fallacy.

Fact:  Lack of a client-side limit on connections combined with very
shoddy programming has in the past caused significant and widespread
problems for servers.  Fact:  There is no need for more than four
connections, and in fact using more than four connections generally will
*hurt* perceived client performance.  Fact:  The presence of this limit in
the GNKSA is often instrumental in getting client authors to not just make
do with their first implementation but instead go back and think through
the problem of connection caching and come up with a design that's better
for everyone.

Because of these facts, I strongly support the continued presence of the
connection limit as a MUST in the GNKSA.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: [Xnews] Max nb of threads (att: Luu) ?
#61287
Author: Russ Allbery
Date: Sat, 06 May 2000 00:00
71 lines
4656 bytes
Damian <tdf4tqd1hw@mailexpire.com> writes:
> rra@stanford.edu (Russ Allbery) wrote:

>> You're making the assumption, I believe, that one can usefully limit
>> the number of simultaneous connections by user.

> Yes, I am.  But the capability to do that exists, as every news server I
> connect to has one,

May I respectfully suggest that this doesn't given you sufficient
information to determine whether it's something that can be easily set
anywhere where it might be useful?  If you don't understand the purpose
for a restriction, it's possible that the restriction is wrong, but it's
also possible that you don't understand the circumstances that led up to
it.

This capability is not available (and cannot be available, as is obvious
after a moment's thought) in an environment where connections are
authenticated by machine rather than by user.  This is the most common
configuration for universities and corporations because there tend to be
multiple overlapping user namespaces and no sufficiently usable global
authentication system that cooperates with the NNTP protocol and can
handle all the random extra affiliates, namespace clashes, and the like.

It is, in many of these environments, simply *not possible* to use
per-user authentication, and hence is not possible to set per-user
connection limits.  The alternative is to not carry Usenet at all.

Furthermore, not all news software supports per-user connection limits,
particularly older software that's otherwise running just fine.  News is
frequently something without an active maintainer, but it does often
manage to bumble along by itself for surprising lengths of time.
Besides, upgrading very stable and reliable software generally isn't
high on anyone's to-do list.

> If a news admin has a problem with over X number of simultaneous
> connections they need to set a policy and seek out whatever solution
> they need to enforce that.  It's not a job for the GNKSA.

The news admin is quite frequently not in any easy position to do this.
The alternative is to just turn off news.

The GNKSA folks looked at that, and looked at the software which was at
the time *massively* abusing this for no particularly good reason, and
also noticed that opening more connections to the server does practically
nothing to speed up any news operations and quite frequently slows them
down dramatically and that simple better programming on the part of the
client author to reuse existing connections would work a lot better, and
therefore added the requirement that they did.

I think they were right, and I think you're fairly naive about the issues
involved.  I also think that your message came across as surprisingly
arrogant for someone who by his own admission doesn't even understand the
issue.  Please consider the possibility that there were good and valid
reasons for a MUST to be put into a standard.  Most people don't just add
them willy-nilly because they feel like it, or to enforce their personal
preferences.

I'd like to point out to you that pretty much every Unix news reader in
existence going back to the introduction of NNTP opens at most two
connections to the server (one for reading and one for posting) and has
little trouble obtaining all of the information that one needs.  If
readahead is desireable, the reading connection can be doing that while
the program is otherwise idle.  I find it really hard to picture what one
would want with even three or four connections, let alone ten, unless the
author of the news reader has made some really bad programming decisions.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: [Xnews] Max nb of threads (att: Luu) ?
#61289
Author: Damian
Date: Sat, 06 May 2000 00:00
16 lines
1372 bytes
planb@newsreaders.com (J. B. Moreno) wrote in
<1ea6mtq.4p7umu1b8f6dbN%planb@newsreaders.com>: 
>It's a GNKSA requirement that Xnews is meeting.

Hmm, this is something I think GNKSA should change to "MUST default to" 
as opposed to MUST.  Individual news servers have the capability to set 
whatever limits they desire, and since it has no effect on users as a 
whole, should not be limited in such a fashion.

-- 
-Damian

E-Mail address valid until:
2000-05-25 17:24:04

Re: [Xnews] Max nb of threads (att: Luu) ?
#61290
Author: Erland Sommarskog
Date: Sat, 06 May 2000 00:00
20 lines
1605 bytes
J. B. Moreno (planb@newsreaders.com) writes:
>About the only time that multiple connections will actually speed things
>up, is when you are requesting a bunch of small articles, and aren't
>pipelining the commands -- which in general would be the better solution
>(speed wise, it may not be as easy to code).

The one situation I have ran into this limitation is when posting 
articles at the same time as the newsserver is doing its daily 
expire. This takes about an hour, and postings are not accepted
during this time. They're not rejected, but the client is kept
waiting. This means that if I don't watch out and post my fourth
article during the expire, I'll have to do something else for a 
while.


-- 
Erland Sommarskog, Stockholm, sommar@algonet.se
This is an incomplete mess.

Re: [Xnews] Max nb of threads (att: Luu) ?
#61319
Author: GM
Date: Sun, 07 May 2000 00:00
19 lines
1675 bytes
On 06 May 2000 Damian wrote:

>[snip]

I wonder if the following holds any water:
Allowing a large number of connections to the server per client may not be 
a problem when the number of users is small, but for commercial servers 
with a lot of users who use Usenet mostly to dl binary stuff, this tactic 
may lead to a network overload.

Sorry if I am dragging you back in Damian.

-- 
Gregory

Make this a valid address:
put the land before the news.

Re: [Xnews] Max nb of threads (att: Luu) ?
#61327
Author: Damian
Date: Sun, 07 May 2000 00:00
39 lines
2770 bytes
rra@stanford.edu (Russ Allbery) wrote in
<yl66sri7y7.fsf@windlord.stanford.edu>: 
>You're making the assumption, I believe, that one can usefully limit
>the number of simultaneous connections by user.

Yes, I am.  But the capability to do that exists, as every news server I 
connect to has one,  If a news admin has a problem with over X number of 
simultaneous connections they need to set a policy and seek out whatever 
solution they need to enforce that.  It's not a job for the GNKSA.

>That definitely isn't true for a cluster environment, among other
>situations.

I'm not entirely sure what a "cluster environment" is, but I don't think 
that's relevant to my point.

>One of our Unix cluster machines could well legitimately
>have twenty or thirty open connections with no more than four from any
>given user, and there isn't any good way of limiting the connection
>count by user beyond banning software that doesn't do the right thing.

But that's not a concern for the _user_.  If the news admins consider 
multiple simultaneous connections a problem (and if a policy without the 
hardware/software to enforce it is insufficient) then they shouldn't be 
using that particular configuration.  The news servers I use all have no 
problem with more than 4 connections, they've all set limits appropriate 
to their own environment.  The GNKSA shouldn't be adding as "MUSTs" 
things that are a matter of personal preference to the individual news 
admins, especially when the _only_ effect those things have is on the 
individual news admin.  At most it should have those things as "MUST 
default to"

-- 
-Damian

E-Mail address valid until:
2000-05-25 17:24:04

Re: [Xnews] Max nb of threads (att: Luu) ?
#61334
Author: Damian
Date: Sun, 07 May 2000 00:00
51 lines
2982 bytes
rra@stanford.edu (Russ Allbery) wrote in
<ylitwrf2x5.fsf@windlord.stanford.edu>: 
>The old maxim is true; the best way to get information from Usenet
>isn't to ask questions, but rather is to post incorrect answers. 
>However, don't be surprised, when using that tactic, to also draw
>flames. 

I don't recall posting any incorrect information.  I didn't really post 
any information at _all_.  I just said that I didn't think it was the 
place of the GNKSA to restrict that particular facet of a news reader.  
It was an entirely opinion based post.

>Without individual news admins, there *is* no Usenet as a whole. 

No, that's true.  What I mean is that it should only concern itself with 
things that affect _every_ news admin, not things that only effect _some_ 
of them.  Binaries on Usenet are a contentious issue, for example.  Many 
admins either limit them to a certain size or disallow them entirely, yet 
the GNKSA doesn't have a hardcoded requirement that a newsreader not be 
able to post a binary greater than, say, 100k.  The same reasons it 
doesn't restrict binaries, nor even touch on them in the document, should 
apply to connections.

>Fact: [one]

Agreed.

>Fact: [two]

Agreed.

>Fact: [three]

Hmm, I believe if this is a SHOULD, it will have the same effect.  
Authors who care about GNKSA compliance strive to meet _all_ the 
requirements, both SHOULDs and MUSTs, those who don't care will ignore 
them all anyway.

>Because of these facts, I strongly support the continued presence of
>the connection limit as a MUST in the GNKSA.

Alrighty.  I don't care about it _that_ much so I'll drop it with this 
post.

-- 
-Damian

E-Mail address valid until:
2000-05-25 17:24:04

Re: [Xnews] Max nb of threads (att: Luu) ?
#61337
Author: Damian
Date: Sun, 07 May 2000 00:00
74 lines
4354 bytes
rra@stanford.edu (Russ Allbery) wrote in
<yl7ld7gooz.fsf@windlord.stanford.edu>: 
>May I respectfully suggest that this doesn't given you sufficient
>information to determine whether it's something that can be easily set
>anywhere where it might be useful?

This _is_ the forum where such information is to be obtained, so if you 
don't agree with my opinion, debate it.  If think I'm missing some 
information, offer it.  If you don't feel I'm worth debating, remain 
silent.  I never stated my opinion in a "this is how it should be, 
period" fashion, rather I attempted to open a debate.

>If you don't understand the
>purpose for a restriction, it's possible that the restriction is
>wrong, but it's also possible that you don't understand the
>circumstances that led up to it.

You're right, it is.  But no one had yet explained it in a way that 
invalidated my point.

>It is, in many of these environments, simply *not possible* to use
>per-user authentication, and hence is not possible to set per-user
>connection limits.  The alternative is to not carry Usenet at all.

I can see why this would be a problem for admins, yes.  But again, not 
the GNKSA's concern.

>The news admin is quite frequently not in any easy position to do
>this. The alternative is to just turn off news.

That would be unfortunate for those affected, but again, the GNKSA 
shouldn't be concerning itself with the problems of individual news 
admins, rather Usenet as a whole.

>I think they were right, and I think you're fairly naive about the
>issues involved.  I also think that your message came across as
>surprisingly arrogant for someone who by his own admission doesn't
>even understand the issue.

Well now you're just being insulting.

>Please consider the possibility that there
>were good and valid reasons for a MUST to be put into a standard. 
>Most people don't just add them willy-nilly because they feel like it,
>or to enforce their personal preferences.

No, but they sometimes allow personal preferences of how they _want_ 
people to to act color their perception of how they _should_.

>I find it really hard to picture
>what one would want with even three or four connections, let alone
>ten, unless the author of the news reader has made some really bad
>programming decisions. 

Personally, I don't.  I've run into the restriction perhaps once.

But none of that is my point.  I'm not arguing that reusing connections 
is a Good Thing, or that lots of connections isn't a Bad Thing.  What I'm 
saying is that for the GKNSA to _force_ a certain number of connections 
as the absolute unchangable maximum and calling it "for the good of 
everyone" is a Bad Thing.  If a news admin wants to allow 10 connections 
to his server, who is that going to negatively impact?  There is no 
reason I can see for the GNKSA to work in opposition to what a news admin 
wants for his site, if those desires don't affect Usenet as a whole.  
Every other GNKSA restriction I can think of would would negatively 
affect other users of Usenet if it were violated.  All but that one.

-- 
-Damian

E-Mail address valid until:
2000-05-25 17:24:04

Re: [Xnews] Max nb of threads (att: Luu) ?
#61349
Author: Gunny
Date: Sun, 07 May 2000 00:00
15 lines
1244 bytes
>Also -- connections aren't free for either the client or the server,
>more isn't necessarily better.  You only have so much bandwidth, opening
>up more connections isn't going to change that.

I don't want more, I want less.   ;)

Again, the server of my isp is limited to 3, so I would like adapt XNews, 
so that I can avoid error messages from the server.

Hope Luu is reading along...


Gunny

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