🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63611

Re: Simple NNTP question on connect/disconnect

#63611
From: those who know me have no need o...
Date: Fri, 24 Jan 2003 20:09
29 lines
1994 bytes
in news.software.nntp i read:

>NNTP seems to be a disconnected protocol (well at least somewhat). 

actually nntp, itself, make no distinction between client types so has no
preconceived notion of how long a client will remain connected nor the way
it will `work'.

>For example, someone could be reading a message on a server for many
>minutes and if they are connected (socket wise), it's a waste of
>resources).
>
>That said, is it acceptable to connect/disconnect when communicating
>with the nntp server?

yes.  but if you do it too often the setup and tear-down of the tcp
connections will adversely impact the performance of your client and the
server, especially if the server has connection limits (i.e., you may not
be able to get a connection on-demand).

>While obviously there is more overhead in this approach on the client
>site (and it takes a little longer), 

way more, and on the server side too, especially if authentication is
necessary.

-- 
bringing you boring signatures for 17 years
Technical Details
Message-ID: <m1ptqmuxej.gnus@usa.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!news.supernews.com!not-for-mail
References: <5bea1a50.0301240921.50017c6f@posting.google.com>

Show Full Headers
Complete Article Headers
Message-ID: <m1ptqmuxej.gnus@usa.net>
Subject: Re: Simple NNTP question on connect/disconnect
Date: Fri, 24 Jan 2003 20:09:01 +0000
From: those who know me have no need of my name <not-a-real-address@usa.net>
References: <5bea1a50.0301240921.50017c6f@posting.google.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!news.supernews.com!not-for-mail
Newsgroups: news.software.nntp
Organization: earthfriends
User-Agent: Gnus/5.090014 (Oort Gnus v0.14) XEmacs/21.4 (Military
 Intelligence, i686-redhat-linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@supernews.com
Lines: 28