🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
37 messages
37 total messages Started by Tor Lillqvist Tue, 22 Nov 1994 09:39
Netscape opens new NNTP connection for each article and group?
#3058
Author: Tor Lillqvist
Date: Tue, 22 Nov 1994 09:39
14 lines
1506 bytes
I am running INN 1.4. I have noticed that when a user reads news with
Netscape (for Windows, presumably), it opens a lot of short NNTP
sessions (`articles 1 groups 0' or `articles 0 groups 1' in the log).
I don't think this is a good idea for obvious reasons. 

Is this how it is supposed to be? What is the rationale behind this?
So far only one of our users seem to be using Netscape to read news,
but I fear that the innd forking will get quite wild when/if more
start using it...
--
Tor Lillqvist,
working, but not speaking, for the Technical Research Centre of Finland,
Information Technology
Re: Netscape opens new NNTP connection for each article and group?
#3060
Author: Steven Bakker
Date: Tue, 22 Nov 1994 15:40
34 lines
2360 bytes
In article <TML.94Nov22113948@tiuhti.tte.vtt.fi>, tml@hemuli.tte.vtt.fi
(Tor Lillqvist) writes:

|> I am running INN 1.4. I have noticed that when a user reads news with
|> Netscape (for Windows, presumably), it opens a lot of short NNTP
|> sessions (`articles 1 groups 0' or `articles 0 groups 1' in the log).
|> I don't think this is a good idea for obvious reasons. 
|> 
|> Is this how it is supposed to be? What is the rationale behind this?
|> So far only one of our users seem to be using Netscape to read news,
|> but I fear that the innd forking will get quite wild when/if more
|> start using it...

Most newsreaders close the NNTP connection after a certain period
of inactivity (usually around 5-10 minutes) and reconnect when needed.
INN's nnrpd closes the channel after 2 hours of inactivity.

However, closing the connection after one little transfer is a bit weird.
How far are the connections apart?  It might be that Netscape is just
checking if there are any new newsgroups or new articles.  In that case,
there is no need to keep the connection open for a longer period.
Perhaps this is some parameter that can be configured.

As for the forking, as far as I know, INN has no way of limiting the number
of NNRP connections, but new connections will be refused if the load reaches
a certain value (16 on our system).

				Steven

--
Infancy, n.  The period of our lives when, according to Wordsworth,
             ``Heaven lies about us.''  The world begins lying about
             us pretty soon afterward.
Re: Netscape opens new NNTP connection for each article and group?
#3065
Author: Frank Peters
Date: Tue, 22 Nov 1994 20:32
22 lines
2010 bytes
Tor Lillqvist <tml@hemuli.tte.vtt.fi> says:
>I am running INN 1.4. I have noticed that when a user reads news with
>Netscape (for Windows, presumably), it opens a lot of short NNTP
>sessions (`articles 1 groups 0' or `articles 0 groups 1' in the log).
>I don't think this is a good idea for obvious reasons. 

Is this the .90 beta or the .93 beta of Netscape?  There was a bug in
.90 that caused it to do this if the number of simultanious connections
was set to the default 4.  I changed the number of simultanious
connections to 6 (under the options->preferences menu) and it started
keeping the NNTP session open.

I haven't checked to see if this is fixed in the newest .93 release.
-- 
Frank Peters  -  UNIX Systems Group Leader  -  Mississippi State University
Internet: fwp@CC.MsState.Edu  -  Phone: 601-325-7030  -  FAX: 601-325-8921
             WWW Home Page:  http://www.msstate.edu/~fwp/
-- 
Frank Peters  -  UNIX Systems Group Leader  -  Mississippi State University
Internet: fwp@CC.MsState.Edu  -  Phone: 601-325-7030  -  FAX: 601-325-8921
             WWW Home Page:  http://www.msstate.edu/~fwp/
Re: Netscape opens new NNTP connection for each article and group?
#3066
Author: Phillip M. Hallam-Baker
Date: Tue, 22 Nov 1994 20:37
42 lines
3030 bytes
In article <TML.94Nov22113948@tiuhti.tte.vtt.fi>, tml@hemuli.tte.vtt.fi (Tor Lillqvist) writes:

|>I am running INN 1.4. I have noticed that when a user reads news with
|>Netscape (for Windows, presumably), it opens a lot of short NNTP
|>sessions (`articles 1 groups 0' or `articles 0 groups 1' in the log).
|>I don't think this is a good idea for obvious reasons. 
|>
|>Is this how it is supposed to be? What is the rationale behind this?
|>So far only one of our users seem to be using Netscape to read news,
|>but I fear that the innd forking will get quite wild when/if more
|>start using it...

Nope that is how it should be. NNTP has the paradigm wrong, not the Web.
Keeping the connection open only makes sense if you intend to interface via
the NNTP idea of how a client should be structured. This has produced a lot
of pretty tacky browsers which all have an interface like rn. With hypertext
the natrual patterns of use tend to make keeping the state in the server 
useless, Web users tend to hop from mail to news to other pages in a pretty
random order. Locking up an NNTP session for a Web client is not a good thing.

Simple solution to your inetd problem, run the daemon directly. inetd is an
optimiser to reduce the number of daemons cluttering the place up. If you have
an nntp server machine then the nntp deamon should run directly on the port
beacuse it will have a lot of use anyway. Running via inetd is asking for
trouble because most inetds break if the load goes over a pretty small
threashold (sometimes as low as 20 connects/sec), Plus inetds often don't
clean up properly tcp/ip wise. 

The nntp daemon should be no worse than an HTTP daemon which on most systems
will quite happily fork at a pretty nice rate. (Remember forking processes
is cheap on UNIX, Ken Thompson said it was true so it must be :-). Unless you
have 20 people connecting per second you should be OK. If this is a problem
then your existing nntp system must always be running out of processes anyway
since if each user reads 1 page/min you would have to have 1200 users to
get your system into the danger zone the traditional NNTP way.

--
Phillip M. Hallam-Baker

Not Speaking for anyone else.
Re: Netscape opens new NNTP connection for each article and group?
#3068
Author: Brad Templeton
Date: Tue, 22 Nov 1994 22:50
11 lines
1485 bytes
Netscape is a web tool.  The web is stateless.  All transactions are
"open connection, make request, receive answer, close connection."

That they have mapped this over into NNTP is not great.  A smart web
newsreader would cache open NNTP connections by keeping the connection
open as long as the user is staying on pages with "news:" at the head
of the URL.  But they don't do this yet.
-- 
Brad Templeton, publisher, ClariNet Communications Corp.  |  www.clarinet.com
The net's #1 Electronic newspaper (circulation 80,000)	  | info@clarinet.com
Re: Netscape opens new NNTP connection for each article and group?
#3067
Author: Brad Templeton
Date: Tue, 22 Nov 1994 22:53
14 lines
1662 bytes
HTTP does it halfway.  It still opens a TCP/IP session, when what you
really want is a reliable stateless message passing protocol, which
IP doesn't have -- TCP is connection oriented and UDP is not reliable.

The stateless approach means you can have a limited number of servers
serving all users instead of one server per user, and that is good.

It does mean you can't have state and modes, things like the get next
article command.  And unless you transmit state info with every request
you can't do the auditing/authentication we have planned for NNTP.
-- 
Brad Templeton, publisher, ClariNet Communications Corp.  |  www.clarinet.com
The net's #1 Electronic newspaper (circulation 80,000)	  | info@clarinet.com
Re: Netscape opens new NNTP connection for each article and group?
#3069
Author: David Barr
Date: Tue, 22 Nov 1994 23:34
14 lines
1317 bytes
In article <Czoy4z.5FA@clarinet.com>, Brad Templeton <brad@clarinet.com> wrote:
>Netscape is a web tool.  The web is stateless.  All transactions are
>"open connection, make request, receive answer, close connection."
>
>That they have mapped this over into NNTP is not great.

The same can be said of its behavior wrt FTP.

The model is good, but the implementations need to improve.

--Dave
-- 
"Hi, my name's Chip, and I'll be your .signature for this evening!"
Re: Netscape opens new NNTP connection for each article and group?
#3070
Author: Tom Limoncelli
Date: Wed, 23 Nov 1994 06:05
28 lines
1854 bytes
In <TML.94Nov22113948@tiuhti.tte.vtt.fi> tml@hemuli.tte.vtt.fi (Tor Lillqvist) writes:

>I am running INN 1.4. I have noticed that when a user reads news with
>Netscape (for Windows, presumably), it opens a lot of short NNTP
>sessions (`articles 1 groups 0' or `articles 0 groups 1' in the log).
>I don't think this is a good idea for obvious reasons. 

Yes, it's true.

And (the music swells) that's ANOTHER REASON WHY NETSCAPE MOSAIC
IS BAD SOFTWARE!  (bom bom baaa DAAAAA!)

Sheesh, if this list of STUPID design decisions in NetScape Mosaic
gets much longer, I'm going to have to buy more disk space.

>Is this how it is supposed to be? What is the rationale behind this?

I have no idea.  It's as if all the Good Things To Do When Writing
Internet Softare weren't documented all over the place.

--tal
P.S.  If someone from NetScape writes to me, they will get a FULL REPLY.
-- 
        Tom Limoncelli -- tal@plts.org (home) -- tal@big.att.com (work)

                   "I just *LOVE* scanning for life forms!"

Re: Netscape opens new NNTP connection for each article and group?
#3071
Author: Tom Limoncelli
Date: Wed, 23 Nov 1994 06:15
39 lines
2533 bytes
In <Czoy4z.5FA@clarinet.com> brad@clarinet.com (Brad Templeton) writes:

>Netscape is a web tool.  The web is stateless.  All transactions are
>"open connection, make request, receive answer, close connection."

Bullshit Brad!  Everyone knows that the history of every stateless
protocol on the internet has been:
	1.  Marketing & programmers claim that being stateless is better
		because it makes it easier to develop and debug.
	2.  A couple years later people make optimizations by
		adding heuristics that basically add state.

	Instant performance increase:  Just add state.  (or should I
	say, "Just fudge state.").  Look at what they're doing with NFS!

>That they have mapped this over into NNTP is not great.  A smart web
>newsreader would cache open NNTP connections by keeping the connection
>open as long as the user is staying on pages with "news:" at the head
>of the URL.  But they don't do this yet.

Anyone that goes around claiming, "Our version of Mosaic is better
because we've added a serious netnews reader to it" and then ships a
product that closes connections for each article is dumber than shit.

Sorry for using this foul language, but I'm pissed at all these
get-rich-quick artists and their horrid designs, horrid
implementations, and horrid quality control.  I was writing better
software freshman year of college.

It's not like the info in my, "Read This Before You Write a Newsreader,
News Transport System, etc." is new.  Everything in it is YEARS OLD.

--tal
-- 
        Tom Limoncelli -- tal@plts.org (home) -- tal@big.att.com (work)

                   "I just *LOVE* scanning for life forms!"

Re: Netscape opens new NNTP connection for each article and group?
#3072
Author: Tom Limoncelli
Date: Wed, 23 Nov 1994 06:22
66 lines
4191 bytes
In <Czoryo.1Cx@news.cern.ch> hallam@dxal18.cern.ch (Phillip M. Hallam-Baker) writes:


>In article <TML.94Nov22113948@tiuhti.tte.vtt.fi>, tml@hemuli.tte.vtt.fi (Tor Lillqvist) writes:

>|>I am running INN 1.4. I have noticed that when a user reads news with
>|>Netscape (for Windows, presumably), it opens a lot of short NNTP
>|>sessions (`articles 1 groups 0' or `articles 0 groups 1' in the log).
>|>I don't think this is a good idea for obvious reasons. 
>|>
>|>Is this how it is supposed to be? What is the rationale behind this?
>|>So far only one of our users seem to be using Netscape to read news,
>|>but I fear that the innd forking will get quite wild when/if more
>|>start using it...

>Nope that is how it should be. NNTP has the paradigm wrong, not the Web.
>Keeping the connection open only makes sense if you intend to interface via
>the NNTP idea of how a client should be structured. This has produced a lot
>of pretty tacky browsers which all have an interface like rn. With hypertext
>the natrual patterns of use tend to make keeping the state in the server 
>useless, Web users tend to hop from mail to news to other pages in a pretty
>random order. Locking up an NNTP session for a Web client is not a good thing.

Wow, what a completely backwards understanding of the technology.

>Simple solution to your inetd problem, run the daemon directly. inetd is an
>optimiser to reduce the number of daemons cluttering the place up. If you have
>an nntp server machine then the nntp deamon should run directly on the port
>beacuse it will have a lot of use anyway. Running via inetd is asking for
>trouble because most inetds break if the load goes over a pretty small
>threashold (sometimes as low as 20 connects/sec), Plus inetds often don't
>clean up properly tcp/ip wise. 

Wow, what a complete lack of undestanding of the technology.  You
are saying, "If inetd can't fork() fast enough, have someone else
do it!"  INN and nnrpd must fork() for every netnews reader.

Unless NetScape provides a replacement nnrpd (or nntpd) that doesn't
require fork()ing for every connection... do they?  No.

>The nntp daemon should be no worse than an HTTP daemon which on most systems
>will quite happily fork at a pretty nice rate. (Remember forking processes
>is cheap on UNIX, Ken Thompson said it was true so it must be :-). Unless you
>have 20 people connecting per second you should be OK. If this is a problem
>then your existing nntp system must always be running out of processes anyway
>since if each user reads 1 page/min you would have to have 1200 users to
>get your system into the danger zone the traditional NNTP way.

Since HTTP was designed to be forking a lot, it fork()s quickly.  On
the other hand, nnrpd and nntpd do a LOT of work per fork().  The
mmap() (or read()) the entire active file, check access, etc.

NetScape Mosaic gets nothing but complaints from tons of people on the
net.  It seems to me that the authors got greedy and shipped without
proper testing... or they were so greedy that they weren't willing to
invest the time to design it properly.

Either way, I do not recommend their software to anyone.

--tal
-- 
        Tom Limoncelli -- tal@plts.org (home) -- tal@big.att.com (work)

                   "I just *LOVE* scanning for life forms!"

Re: Netscape opens new NNTP connection for each article and group?
#3074
Author: Tor Lillqvist
Date: Wed, 23 Nov 1994 08:39
32 lines
2737 bytes
>>>>> "hallam" == Phillip M Hallam-Baker <hallam@dxal18.cern.ch> writes:
    hallam> Nope that is how it should be. NNTP has the paradigm
    hallam> wrong, not the Web. Keeping the connection open only makes
    hallam> sense if you intend to interface via the NNTP idea of how
    hallam> a client should be structured. This has produced a lot of
    hallam> pretty tacky browsers which all have an interface like rn.
    hallam> With hypertext the natrual patterns of use tend to make
    hallam> keeping the state in the server useless, Web users tend to
    hallam> hop from mail to news to other pages in a pretty random
    hallam> order.

I see your point, but surely Netscape could and should comply with the
older NNTP paradigm by keeping the NNTP session open for some time,
just in case it will soon issue another NNTP request to the same
server again. (And while reading news, surely this happens most of the
time? USENET discussions are still thread-structured.)

    hallam> Simple solution to your inetd problem, run the daemon
    hallam> directly. inetd is an optimiser to reduce the number of
    hallam> daemons cluttering the place up. If you have an nntp
    hallam> server machine then the nntp deamon should run directly on
    hallam> the port beacuse it will have a lot of use anyway.

I was talking about innd (the NNTP daemon in INN), not inetd. innd
forks and execs a nnrpd process for each newsreader NNTP session (but
not for news-transfer sessions). The innd daemon runs continuosly on
the port, as you say.
--
Tor Lillqvist,
working, but not speaking, for the Technical Research Centre of Finland,
Information Technology
Re: Netscape opens new NNTP connection for each article and group?
#3077
Author: Neal Becker
Date: Wed, 23 Nov 1994 16:36
12 lines
1496 bytes
>>>>> "Phillip" == Phillip M Hallam-Baker <hallam@dxal18.cern.ch> writes:
In article <Czoryo.1Cx@news.cern.ch> hallam@dxal18.cern.ch (Phillip M. Hallam-Baker) writes:


    Phillip> Simple solution to your inetd problem, run the daemon
    Phillip> directly.

No, this is incorrect.  Inn forks a new nnrpd for each connection.
The current behaviour of netscape + inn is not good.  There is no easy
solution, other than reimplementing nnrpd or netscape.

Re: Netscape opens new NNTP connection for each article and group?
#3078
Author: Chris Lewis
Date: Wed, 23 Nov 1994 16:59
29 lines
2480 bytes
In article <Czoy9M.5JB@clarinet.com>, Brad Templeton <brad@clarinet.com> wrote:
>HTTP does it halfway.  It still opens a TCP/IP session, when what you
>really want is a reliable stateless message passing protocol, which
>IP doesn't have -- TCP is connection oriented and UDP is not reliable.

>The stateless approach means you can have a limited number of servers
>serving all users instead of one server per user, and that is good.

>It does mean you can't have state and modes, things like the get next
>article command.  And unless you transmit state info with every request
>you can't do the auditing/authentication we have planned for NNTP.

"We"? ;-)  Nevermind.

Actually, this doesn't break authentication, because the "implementation
convention" as documented in the GENERIC document has facilities for
subsequent connections from the same newsreader to reauthenticate
without the user noticing.  For example, xrn can do its automatic
reconnects and the user doesn't get prompted each time.

However, it will increase traffic if the newsreader is forced
to issue "MODE READER" and renegotiate authentication for every
article.  Not to mention the increased logging output required
to make the auditing process work across reconnects...
-- 
Every once in a while I write something that someone might use
in a signature.  So I go back and make it real spiffy.  No luck.
Then some guy goes and uses *that* dog.  Argh!
Re: Netscape opens new NNTP connection for each article and group?
#3081
Author: Richard Alan Schafer
Date: Wed, 23 Nov 1994 19:57
20 lines
1875 bytes
In article <Czoy4z.5FA@clarinet.com>, brad@clarinet.com (Brad Templeton)
writes:
|> Netscape is a web tool.  The web is stateless.  All transactions are
|> "open connection, make request, receive answer, close connection."
|> 
|> That they have mapped this over into NNTP is not great.  A smart web
|> newsreader would cache open NNTP connections by keeping the connection
|> open as long as the user is staying on pages with "news:" at the head
|> of the URL.  But they don't do this yet.

Actually, one of my complaints about netscape is the caching it *does* do --
it never updates the unread article counts on your subscribed newsgroups 
unless you force it to reload that information, either by an explicit
reload or by (un)subscribing to a newsgroup.  (Not to mention the fact that
it won't filter out the 0-unread-article newsgroups from the list it
shows me.)

-- 
Richard
Re: Netscape opens new NNTP connection for each article and group?
#3083
Author: Jamie Zawinski
Date: Thu, 24 Nov 1994 05:15
17 lines
1717 bytes
Tor Lillqvist <tml@hemuli.tte.vtt.fi> wrote:
>
> I see your point, but surely Netscape could and should comply with the
> older NNTP paradigm by keeping the NNTP session open for some time,
> just in case it will soon issue another NNTP request to the same
> server again.

It does; it also holds FTP connections open in the same way.  But 0.9
had a bug that prevented this from working right.  This is fixed in
0.93 and 0.94.

-- 
Jamie Zawinski         jwz@mcom.com            http://home.mcom.com/people/jwz/
``A unix signature isn't a return address, it's the ASCII equivalent of a black
  velvet clown painting.  It's a rectangle of carets surrounding a quote from a
  literary giant of weeniedom like Heinlein or Dr. Who.'' -- Chris Maeda
NNTP connection for each article and group?
#3084
Author: Casey Barton
Date: Thu, 24 Nov 1994 05:20
27 lines
2245 bytes
David Barr <barr@pop.psu.edu> wrote:
>Brad Templeton <brad@clarinet.com> wrote:
>>Netscape is a web tool.  The web is stateless.  All transactions are
>>"open connection, make request, receive answer, close connection."
>>
>>That they have mapped this over into NNTP is not great.
>
>The same can be said of its behavior wrt FTP.
>
>The model is good, but the implementations need to improve.

The answer isn't to come up with some new method of accessing NNTP and FTP
with the browser. NNTP and FTP are connection-based protocols, and will
*never* have a clean implementation in a web browser. What we *need* are
new protocols for these services. There is already a transaction-based
file transfer protocol in the form of FSP, though I won't claim that it's an
ideal solution. 

Usenet support is a little stickier, since news servers aren't usually public
access.  It *is* possible to do a quick reverse-lookup to make sure that
the person connecting is legitimate. Usenet-via-web gateways have been
written already... perhaps we should be pushing a little harder for their
installation?
-- 
|    Casey Barton (a guy)    cebarton@napier.uwaterloo.ca    (519)746-9832     |
|                    http://calum.uwaterloo.ca/u/cebarton                      |
Re: Netscape opens new NNTP connection for each article and group?
#3088
Author: Jamie Zawinski
Date: Fri, 25 Nov 1994 00:57
20 lines
1692 bytes
Tom Limoncelli <tal@plts.org> wrote:
>
> And (the music swells) that's ANOTHER REASON WHY NETSCAPE MOSAIC
> IS BAD SOFTWARE!  (bom bom baaa DAAAAA!)

Stop.  I may cry.

> P.S.  If someone from NetScape writes to me, they will get a FULL REPLY.

Here is a FULLY REPLY just for you: it was a BUG.  It is FIXED in the
latest version.  I really think you should go lie down somewhere.

(NOTE: the gratuitous USE of CAPITALS makes people TAKE you more SERIOUSLY!!)

-- 
Jamie Zawinski         jwz@mcom.com            http://home.mcom.com/people/jwz/
``A unix signature isn't a return address, it's the ASCII equivalent of a black
  velvet clown painting.  It's a rectangle of carets surrounding a quote from a
  literary giant of weeniedom like Heinlein or Dr. Who.'' -- Chris Maeda
Re: Netscape opens new NNTP connection for each article and group?
#3090
Author: Lou Montulli
Date: Fri, 25 Nov 1994 07:44
19 lines
1539 bytes
> 
> Actually, one of my complaints about netscape is the caching it *does* do --
> it never updates the unread article counts on your subscribed newsgroups 
> unless you force it to reload that information, either by an explicit
> reload or by (un)subscribing to a newsgroup.

Early beta versions of Netscape updated the article count every
time you re-visited the page.  This turned out to be *very* slow
for people with lots of subscribed groups or slow NNTP servers
so we disabled that feature.  You can always regenerate the
listing by pressing the "reload" button and number of new
articles count will be updated correctly.

:lou



Re: Netscape opens new NNTP connection for each article and group?
#3091
Author: Lou Montulli
Date: Fri, 25 Nov 1994 07:55
21 lines
1657 bytes
tal@plts.org (Tom Limoncelli) wrote:
> 
> Anyone that goes around claiming, "Our version of Mosaic is better
> because we've added a serious netnews reader to it" and then ships a
> product that closes connections for each article is dumber than shit.

For the record, Netscape has always had the ability to cache news
connections, the .9 version simply had an incorrect default setting
that caused connection caching to be disabled.  Believe it or not,
BETA software sometimes has bugs.  The problem was fixed in the
very next beta release, .92.  I won't deny that it was a bad
bug, but calling me "dumber than shit" seem a bit extreme considering
you have never even met me.

> I was writing better
> software freshman year of college.

Glad to hear it.

:lou
Re: Netscape opens new NNTP connection for each article and group?
#3092
Author: michael moncur
Date: Sat, 26 Nov 1994 07:10
21 lines
1879 bytes
tal@plts.org (Tom Limoncelli) writes:

>NetScape Mosaic gets nothing but complaints from tons of people on the
>net.  It seems to me that the authors got greedy and shipped without
>proper testing... or they were so greedy that they weren't willing to
>invest the time to design it properly.

    Wait a minute...  They haven't "shipped without proper testing."
As a matter of fact NetScape hasn't shipped at all, and right now the
current version is a BETA.  What's going on right now is referred to
as "proper testing."  They haven't made any money on it yet, so greedy
is probably not the word either.

    And I have a few complaints about NS, but not nearly as many as I
have about NCSA's latest version.  If you're running Windows it's
really the only choice.
-- 
...michael moncur, BC, OEADM - mgm@xmission.com [X] fot#1...
"There is no monument dedicated to the memory of a committee."
                -- Lester J. Pourciau
Re: Netscape opens new NNTP connection for each article and group?
#3093
Author: Tim Pierce
Date: Sat, 26 Nov 1994 07:11
20 lines
1756 bytes
In article <3aun34$ikn@plts.org>, Tom Limoncelli <tal@plts.org> wrote:

>NetScape Mosaic gets nothing but complaints from tons of people on the
>net.  It seems to me that the authors got greedy and shipped without
>proper testing... or they were so greedy that they weren't willing to
>invest the time to design it properly.
>
>Either way, I do not recommend their software to anyone.

They're not terribly pleased with it here, either.  Our NNTP
server is already overloaded with sixteen incoming feeds and
literally hundreds of open reader connections at a time,
plus seven or eight bozos who are running tind or nnmaster
on a client machine.  Adding Netscape's stateless view of
NNTP doesn't exactly fill my heart with glee.

-- 
Green Card fodder: Canter, Siegel, green card, Joel Furr, liable,
fortune, conspiracy, CyberSell, Tennessee Bar.
Re: Netscape opens new NNTP connection for each article and group?
#3094
Author: John Temples
Date: Sat, 26 Nov 1994 09:42
22 lines
2053 bytes
In article <3aum3g$ibf@plts.org>, Tom Limoncelli <tal@plts.org> wrote:
>In <TML.94Nov22113948@tiuhti.tte.vtt.fi> tml@hemuli.tte.vtt.fi (Tor Lillqvist) writes:
>
>>I am running INN 1.4. I have noticed that when a user reads news with
>>Netscape (for Windows, presumably), it opens a lot of short NNTP
>>sessions (`articles 1 groups 0' or `articles 0 groups 1' in the log).
>
>Yes, it's true.

I can't see any evidence of this in the .93 version for Windows.

Nov 26 12:27:11 gulfa nnrpd[28071]: rawdatain.ods.gulfnet.kw connect
Nov 26 12:27:41 gulfa nnrpd[28071]: rawdatain.ods.gulfnet.kw group soc.culture.kuwait 6
Nov 26 12:31:14 gulfa nnrpd[28071]: rawdatain.ods.gulfnet.kw group news.answers 2
Nov 26 12:31:33 gulfa nnrpd[28071]: rawdatain.ods.gulfnet.kw group news.announce.newusers 1
Nov 26 12:32:11 gulfa nnrpd[28071]: rawdatain.ods.gulfnet.kw group news.newusers.questions 3
Nov 26 12:32:11 gulfa nnrpd[28071]: rawdatain.ods.gulfnet.kw exit articles 12 groups 7
Nov 26 12:32:11 gulfa nnrpd[28071]: rawdatain.ods.gulfnet.kw times user 1.280 system 2.530 elapsed 299.720
-- 
John W. Temples, III       ||       Providing the only public access Internet
Gulfnet Kuwait             ||            site in the Arabian Gulf region
Re: Netscape opens new NNTP connection for each article and group?
#3096
Author: Phillip M. Hallam-Baker
Date: Sat, 26 Nov 1994 14:46
75 lines
4209 bytes
In article <3aumlu$iem@plts.org>, tal@plts.org (Tom Limoncelli) writes:

|>In <Czoy4z.5FA@clarinet.com> brad@clarinet.com (Brad Templeton) writes:
|>
|>>Netscape is a web tool.  The web is stateless.  All transactions are
|>>"open connection, make request, receive answer, close connection."

Quite right, its staying that way too.

|>Bullshit Brad!  Everyone knows that the history of every stateless
|>protocol on the internet has been:
|>	1.  Marketing & programmers claim that being stateless is better
|>		because it makes it easier to develop and debug.
|>	2.  A couple years later people make optimizations by
|>		adding heuristics that basically add state.
|>
|>	Instant performance increase:  Just add state.  (or should I
|>	say, "Just fudge state.").  Look at what they're doing with NFS!

Give the timings for your assertion.


|>>That they have mapped this over into NNTP is not great.  A smart web
|>>newsreader would cache open NNTP connections by keeping the connection
|>>open as long as the user is staying on pages with "news:" at the head
|>>of the URL.  But they don't do this yet.
|>
|>Anyone that goes around claiming, "Our version of Mosaic is better
|>because we've added a serious netnews reader to it" and then ships a
|>product that closes connections for each article is dumber than shit.

The performance advantage of caching the connection is marginal at best.
Have a look at the way FTP works sometime, new TCP/IP connection per data
object, plus the control connection, plus special software to make sure that
your binary files get transformed into ascii by default.


|>It's not like the info in my, "Read This Before You Write a Newsreader,
|>News Transport System, etc." is new.  Everything in it is YEARS OLD.

Precisely, its obsolete, out of date, it has ceased to be relevant, if it 
wasn't nailed to the perch it would be pushing up the daises. Its a stiff,
it has ceased to be, it has rung down the curtain and joined the choire
invisibule.


I'm suprised that people haven't caught on to the logical development of 
the Web wrt USEnet. As soon as the HTML browser/editors are in quantity people
will be posting HTML and 8 bit UTF files to the net. Oh dear all those
poxy 14K baud newsfeeds with 64K article limits are going to be dying like
flies. Oh dear dear dear, what a pity, what a shame. Just think of all those
US readers whose software will die because supporting other peoples languages
which do not fit into 7-bit ASCII breaks some of the core assumptions of the
NNTP model.

Just think Sam's garage in Oklahoma will be deprived of USEnet because his
newsfeed croaks when sees Gujerati encoded in UTF. Some of these people may
have to fix their software, like upgrade it.


If you have a news system that can't cope with the load then making the
connections stateless REDUCES the load on the server. Rather than having
to maintain several hundred mainly dormant connections the system only
needs to maintain the connection while servicing the request. Of course 
it would be far better to serve the data over HTTP in this case and reduce
the 5 or so communications required to get an article in NNTP to the single
get/recive of HTTP.


--
Phillip M. Hallam-Baker

Not Speaking for anyone else.
Re: Netscape opens new NNTP connection for each article and group?
#3097
Author: Phillip M. Hallam-Baker
Date: Sat, 26 Nov 1994 14:48
19 lines
1347 bytes
In article <3aun34$ikn@plts.org>, tal@plts.org (Tom Limoncelli) writes:

|>In <Czoryo.1Cx@news.cern.ch> hallam@dxal18.cern.ch (Phillip M. Hallam-Baker) writes:

|>Wow, what a completely backwards understanding of the technology.


If I don't understand the technology of the Web then were in a bit of a fix
ain't we?

Try reading where the article comes from before replying. Engage brain before
you post. 

--
Phillip M. Hallam-Baker

Not Speaking for anyone else.
Re: Netscape opens new NNTP connection for each article and group?
#3098
Author: Ed Kubaitis
Date: Sat, 26 Nov 1994 15:32
38 lines
2456 bytes
john@gulfa.ods.gulfnet.kw (John Temples) wrote:
>
> Tom Limoncelli <tal@plts.org> wrote:
> >tml@hemuli.tte.vtt.fi (Tor Lillqvist) writes:
> >
> >>I am running INN 1.4. I have noticed that when a user reads news with
> >>Netscape (for Windows, presumably), it opens a lot of short NNTP
> >>sessions (`articles 1 groups 0' or `articles 0 groups 1' in the log).
> >
> >Yes, it's true.
> 
> I can't see any evidence of this in the .93 version for Windows.
> 
> Nov 26 12:27:11 gulfa nnrpd[28071]: rawdatain.ods.gulfnet.kw connect
> Nov 26 12:27:41 gulfa nnrpd[28071]: rawdatain.ods.gulfnet.kw group soc.culture.kuwait 6
> Nov 26 12:31:14 gulfa nnrpd[28071]: rawdatain.ods.gulfnet.kw group news.answers 2
> Nov 26 12:31:33 gulfa nnrpd[28071]: rawdatain.ods.gulfnet.kw group news.announce.newusers 1
> Nov 26 12:32:11 gulfa nnrpd[28071]: rawdatain.ods.gulfnet.kw group news.newusers.questions 3
> Nov 26 12:32:11 gulfa nnrpd[28071]: rawdatain.ods.gulfnet.kw exit articles 12 groups 7

Nor in Netscape .93 for X:

Nov 26 08:51:46 vixen nnrpd[29579]: ehsn1 connect
Nov 26 08:55:17 vixen nnrpd[29579]: ehsn1 group comp.infosystems.www.users 6
Nov 26 08:57:11 vixen nnrpd[29579]: ehsn1 group comp.infosystems.www.providers 4
Nov 26 09:03:23 vixen nnrpd[29579]: ehsn1 group comp.infosystems.www.misc 13
Nov 26 09:03:55 vixen nnrpd[29579]: ehsn1 exit articles 23 groups 31
Nov 26 09:03:55 vixen nnrpd[29579]: ehsn1 times user 0.390 system 0.55
0 elapsed 729.304

Mr. Limoncelli appears to be wasting a fine display of intemperate
language and insults in this thread.

--------------------------
Ed Kubaitis (ejk@uiuc.edu)


Re: Netscape opens new NNTP connection for each article and group?
#3099
Author: William K. Horne
Date: Sun, 27 Nov 1994 01:01
37 lines
2725 bytes
In article <3b458o$216@flop.mcom.com> Lou Montulli <montulli@mcom.com> writes:
>From: Lou Montulli <montulli@mcom.com>
>Subject: Re: Netscape opens new NNTP connection for each article and group?
>Date: 25 Nov 1994 07:55:04 GMT

>tal@plts.org (Tom Limoncelli) wrote:
>> 
>> Anyone that goes around claiming, "Our version of Mosaic is better
>> because we've added a serious netnews reader to it" and then ships a
>> product that closes connections for each article is dumber than shit.

>For the record, Netscape has always had the ability to cache news
>connections, the .9 version simply had an incorrect default setting
>that caused connection caching to be disabled.  Believe it or not,
>BETA software sometimes has bugs.  The problem was fixed in the
>very next beta release, .92.  I won't deny that it was a bad
>bug, but calling me "dumber than shit" seem a bit extreme considering
>you have never even met me.

>> I was writing better
>> software freshman year of college.

>Glad to hear it.

>:lou

Am I missing something here? We got Lou et al working away, giving us 
something pretty damn good for FREE, and we're bitching about it and calling 
him names? What the hell's wrong with you, Butthead? You're concerned about 
whether 1.0 is going to be free also - like you're entitled to it or 
something? You one of those obnoxious, self-worshipping, under-developed, 60'
s-70's children? What you need, I think, is three fast kicks in the cajones.
bill horne                      /|   |  
JoAS                         \'o.O`  | You can change the past if you accept
ABB Systems                  -(___)= | that today is tomorrow's yesterday.
whorne@mail.public.lib.ga.us    U    | ack
Re: Netscape opens new NNTP connection for each article and group?
#3101
Author: Per Hedeland
Date: Sun, 27 Nov 1994 20:01
27 lines
2279 bytes
In article <CzvqCz.DyI@news.cern.ch> hallam@dxal18.cern.ch (Phillip M. Hallam-Baker) writes:
>If you have a news system that can't cope with the load then making the
>connections stateless REDUCES the load on the server. Rather than having
>to maintain several hundred mainly dormant connections the system only
>needs to maintain the connection while servicing the request. Of course 
>it would be far better to serve the data over HTTP in this case and reduce
>the 5 or so communications required to get an article in NNTP to the single
>get/recive of HTTP.

I'll refrain from commenting on the efficiency of stateful vs stateless
protocol, but I'll have to agree that I have no love for the couple
hundreds of nnrpd's that do little else than eat swap space and process
slots on my News server (though I can't say they contribute to the
*load* by any definition that is interesting on a News server). On the
other hand, fork *and* exec for each request, as is necessary with the
innd/nnrpd model, doesn't sound like a great idea etiher.

So what *is* the solution? "Serve over HTTP" sounds good, but just how
do you accomplish that? Seems you need something that is the top half of
httpd combined with the bottom half of nnrpd (and put it on a port that
you point your browser to as "News proxy"?). Anyone have such a beast?

--Per Hedeland
per@erix.ericsson.se


Re: Netscape opens new NNTP connection for each article and group?
#3102
Author: Sami-Jaakko Tikka
Date: Sun, 27 Nov 1994 20:44
34 lines
2432 bytes
In article <3aun34$ikn@plts.org>, tal@plts.org (Tom Limoncelli) wrote:

> NetScape Mosaic gets nothing but complaints from tons of people on the
> net.  It seems to me that the authors got greedy and shipped without
> proper testing... or they were so greedy that they weren't willing to
> invest the time to design it properly.

That may be so, but you'll have to understand them.

A startup company has to get the product out to the market fast.  The
people at mcom are living on borrowed money until they start making
money with their products.  Additionally, no piece of software is ever
really finished.  You could spend months just thinking it over and over
and adding new features and making old ones better.

They just have to make a decision about where to draw the line between
missing/incomplete/buggy features and release dealine.

You probably already know and understand these things, but I think there
is still no point of calling them greedy so easily.

However it is quite another matter when a company has a steady cash flow
and lots of money.  Then there can be no understanding for releasing bad
software.

Additionally, Netscape isn't released yet, if I understand correctly.
It is still beta, right?  I know it has happened that what has been beta
has sometimes simply been renamed 1.0 final.  But miracles can happen.
Let's wait for the final and see it before passing judgement.
-- 
<A HREF="http://www.cs.hut.fi/~sti/">Sami Tikka</A>
"Peace and Long Life."
"Live Long and Prosper."
Re: Netscape opens new NNTP connection for each article and group?
#3103
Author: pp001070
Date: Mon, 28 Nov 1994 02:19
29 lines
2144 bytes

> NetScape Mosaic gets nothing but complaints from tons of people on the
> net.  It seems to me that the authors got greedy and shipped without
> proper testing... or they were so greedy that they weren't willing to
> invest the time to design it properly.
> 
> Either way, I do not recommend their software to anyone.

Gee Tom, I guess you must have really paid alot for this software to be so 
pissed.  Oh wait, hold on, it's free!!  Oh, and can you spell BETA.  It's 
rather simple I think.  

Give them a break, I don't think you can classify guys who produce a software 
package and plan to distribute the release version for free are exactly greedy. 

Personally I think we should just take the entire lot out and crucify them 
upside down for having the audacity of asking for the (gasp) advice of users 
through numerous beta versions before the release.  Ya that's the ticket!

Lou, maybe you should just kill yourself for not hiring such a smooth 
programmer like Tom to solve all your problems with your childish code.....  

PS:  Just in case anyone's a little slow, the above is intended as humor.  I 
happen to like netscape, as in "Hi, I'm Lava and I use Netscape....."


E-Mail:  Lava@lava.com
Re: Netscape opens new NNTP connection for each article and group?
#3104
Author: Tom Limoncelli
Date: Mon, 28 Nov 1994 03:54
29 lines
2083 bytes
In <3b6n1c$chr@xmission.xmission.com> mgm@xmission.com (michael moncur) writes:

>tal@plts.org (Tom Limoncelli) writes:

>>NetScape Mosaic gets nothing but complaints from tons of people on the
>>net.  It seems to me that the authors got greedy and shipped without
>>proper testing... or they were so greedy that they weren't willing to
>>invest the time to design it properly.

>    Wait a minute...  They haven't "shipped without proper testing."
>As a matter of fact NetScape hasn't shipped at all, and right now the
>current version is a BETA.  What's going on right now is referred to
>as "proper testing."  They haven't made any money on it yet, so greedy
>is probably not the word either.

The current version is BETA?  This beta has a such a wide distribution
I would have thought otherwise.  Everyone I know has a copy of it.  Most
internet software that I use keeps tight limits on who gets betas.  It
seems that NS is using the beta process to grab early market share rather
than get the bugs out.

--tal

-- 
        Tom Limoncelli -- tal@plts.org (home) -- tal@big.att.com (work)

                   "I just *LOVE* scanning for life forms!"

Re: Netscape opens new NNTP connection for each article and group?
#3105
Author: Rich Salz
Date: Mon, 28 Nov 1994 05:36
14 lines
1530 bytes
In <NEAL.94Nov23113642@neal.ctd.comsat.com> neal@ctd.comsat.com (Neal Becker) writes:
>The current behaviour of netscape + inn is not good.  There is no easy
>solution, other than reimplementing nnrpd or netscape.

Here's how I would do it.  I'd provide a stateless proxy NNTP server
that worked like innd in that it handled all incoming connections, but
implemented the reader part of the protocol.  Of course, it would have to
listen on a different port, which would be a hassle.

What the Internet really needs is connectionless reliability (I'm thinking,
naturally enough, of something like the the DCE RPC datagram protocol).
Servers won't always be able to maintain all those connections.
	/r$
Re: Netscape opens new NNTP connection for each article and group?
#3106
Author: Brad Templeton
Date: Mon, 28 Nov 1994 06:12
15 lines
1574 bytes
This could be handled by coordinated clever programs.  One could have the
nntp port daemon notice patterns of behavior.  If it sees a connection that
is "open, issue article command, close" it could handle it directly,
in a stateless mode.  If it sees otherwise it could pass it off to another
tool.

And yes, TCP/IP really needs a message-passing protcol, effectively a
UDP sort of protocol where packets are assured, or give an error status
in a specified timeout period.   That's what the web needs, and even news,
network file systems, mail transfers and many other transaction processing
applications could use it.
-- 
Brad Templeton, publisher, ClariNet Communications Corp.  |  www.clarinet.com
The net's #1 Electronic newspaper (circulation 80,000)	  | info@clarinet.com
Re: Netscape opens new NNTP connection for each article and group?
#3109
Author: David Brooks
Date: Mon, 28 Nov 1994 16:52
13 lines
1469 bytes
jwz@mcom.com (Jamie Zawinski) writes:
>It does; it also holds FTP connections open in the same way.  But 0.9
>had a bug that prevented this from working right.  This is fixed in
>0.93 and 0.94.

Does that mean we can (should?) drop the simultaneous connection count back
to 4?
-- 
David Brooks						dbrooks@ics.com
Integrated Computer Solutions		   http://www.ics.com/~dbrooks/
Family values means waiting until *after* the cancer surgery, Newt?
Still married to first wife: Reagan no, Gingrich no, Limbaugh no, Clinton yes.
Re: Netscape opens new NNTP connection for each article and group?
#3110
Author: Steven E. Newton
Date: Mon, 28 Nov 1994 17:36
36 lines
2477 bytes
In article <3b458o$216@flop.mcom.com>, Lou Montulli <montulli@mcom.com> says:
>For the record, Netscape has always had the ability to cache news
>connections, the .9 version simply had an incorrect default setting
>that caused connection caching to be disabled.  Believe it or not,
>BETA software sometimes has bugs.  The problem was fixed in the
>very next beta release, .92.
>

Sorry, but I must respectfully disagree that the "bug" is "fixed".
In my inn news.notice log I see lots of these sequences:

Nov 28 11:31:14 oac4 nnrpd[22338]: oac11.hsc.uth.tmc.edu connect
Nov 28 11:31:29 oac4 nnrpd[22338]: oac11.hsc.uth.tmc.edu cant read Connection re
set by peer
Nov 28 11:31:29 oac4 nnrpd[22338]: oac11.hsc.uth.tmc.edu timeout
Nov 28 11:31:29 oac4 nnrpd[22338]: oac11.hsc.uth.tmc.edu exit articles 1 groups
0
Nov 28 11:31:29 oac4 nnrpd[22338]: oac11.hsc.uth.tmc.edu times user 0.620 system
 0.260 elapsed 15.431

And I've done >1 trace with a sniffer and I see clearly that netscape
does one command and then closes the connection *without even sending
a QUIT*.

Lou, please help me out here.  Is it fixed?  Is it broken?  Is there
something else going on?  I've reported this bug with .92 .93 and .94

s

--
+     +      +      +   |     snewton@oac.hsc.uth.tmc.edu
                        |     Nobody else speaks for me,
Whale oil beef hooked!  |     and I speak for no one else.
                        |http://oac11.hsc.uth.tmc.edu/index.html
                        |     +     +     +     +     +     +     +    +
Re: Netscape opens new NNTP connection for each article and group?
#3113
Author: Frank Peters
Date: Tue, 29 Nov 1994 16:18
40 lines
3019 bytes
Tom Limoncelli <tal@plts.org> says:
>The current version is BETA?  

Yup.  That is what is usually meant by version numbers < 1.0 like .90,
.93 and .94.  This is also mentioned in big bold letters in the top
of the startup page (at least, it is in the UNIX version).

>                              This beta has a such a wide distribution
>I would have thought otherwise.  Everyone I know has a copy of it.  Most
>internet software that I use keeps tight limits on who gets betas.  

You must use a fairly limited set of internet software then.  I imagine
that a fair number of sites that favor the nn newsreader are using the
freely available 6.5 BETA3.  I'm currently using the strn news reader
freely available in version 0.92.  The Arena web browser is freely
available in beta form.  Isn't Mosaic from NCSA currently available in
2.5 beta form?  I quick visual scan of the gnu distribution directory
on ftp.uu.net seems to show at least 5 of their many packages currently
available in releases < 1.0 (and that doesn't count more advanced betas
after the first release).

That's just off the top of my head.  Yes, a lot of internet software
authors choose to restrict access to their beta releases.  But a lot
don't.  The only thing unusual about NetScape in this regard is the
popularity of its beta release.

>                                                                    It
>seems that NS is using the beta process to grab early market share rather
>than get the bugs out.

Remember, they aren't selling the browser for individual use.  If their
freely available beta software is good enough to capture significant
market share then I guess that just means that its a good beta (they
aren't holding a gun to anyone's head and saying "use our beta software
or else").
-- 
Frank Peters  -  UNIX Systems Group Leader  -  Mississippi State University
Internet: fwp@CC.MsState.Edu  -  Phone: 601-325-7030  -  FAX: 601-325-8921
             WWW Home Page:  http://www.msstate.edu/~fwp/
Re: Netscape opens new NNTP connection for each article and group?
#3114
Author: David Simmons
Date: Tue, 29 Nov 1994 23:39
23 lines
1881 bytes
In article <3bbk99$sca@plts.org>, Tom Limoncelli <tal@plts.org> wrote:
>
>The current version is BETA?  This beta has a such a wide distribution
>I would have thought otherwise.  Everyone I know has a copy of it.  Most
>internet software that I use keeps tight limits on who gets betas.  It
>seems that NS is using the beta process to grab early market share rather
>than get the bugs out.
>
>--tal

Most software I use that comes from the net is pretty open about releasing
betas...  In fact, Linux was publicly available in beta form for at least
two years before it was declared "1.0".  Large scale software projects like
Linux, which have a great many people all over the world contributing to,
pretty much has to be readily available in beta form.

David

-- 
David Simmons, System Administrator                 simmons@ee.msstate.edu
Mississippi State University Electrical and Computer Engineering
Visit my home page!  http://www.ee.msstate.edu/~simmons
Re: Netscape opens new NNTP connection for each article and group?
#3132
Author: Tom Limoncelli
Date: Mon, 05 Dec 1994 05:36
26 lines
1932 bytes
In <CzyrwM.7MI@clarinet.com> brad@clarinet.com (Brad Templeton) writes:

>And yes, TCP/IP really needs a message-passing protcol, effectively a
>UDP sort of protocol where packets are assured, or give an error status
>in a specified timeout period.   That's what the web needs, and even news,
>network file systems, mail transfers and many other transaction processing
>applications could use it.

Making the internet more reliable needs to be a higher priority on many
levels.  SMTP, RPC, TCP, etc.  We should seek to replace anything that
is unreliable.  However, the one place that everyone overlooks even has
"UNRELIABLE" in its name!  Of course, I'm talking about UDP.  The
*Unreliable* Datagram Protocol.

If we all work together, we can see the end of UDP in our time.

Sheesh.  How come I'm the only one smart enough to notice these things?

--tal
:-)
-- 
        Tom Limoncelli -- tal@plts.org (home) -- tal@big.att.com (work)

                   "I just *LOVE* scanning for life forms!"

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