🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #6899

Re: newsfeed wanted.

#6899
From: Alec H. Peterson
Date: Thu, 25 Apr 1996 00:00
52 lines
2859 bytes
In article <4loqk3$rvu@olivea.atc.olivetti.com>,
Jerry Aguirre <jerry@strobe.ATC.Olivetti.Com> wrote:
>
>As I said innd needs to give special priority to new connections.  The
>same problem existed for control connections.  Minor changes to the code
>fixed that compleatly without having to disable streaming.

Hmmm, interesting thought. 

>
>My point above was that if you split the streaming feed into N separate
>connections you would still have the same sluggishness.  It sounds to
>me like you did not.  You still have only the one feed but now it is
>ihave/sendme instead of streaming.  It transfers less articles/second
>so it loads your system less.  This is no big supprise.

But the thing is, in reality streaming caused my server to fall
behind.  After I turned streaming off, the server stayed caught up
very nicely.

>
>This sounds interesting.  The default NNTP protocol has two wait
>states that result in dead time.  The first after the "ihave" and the
>second after the article.  One could tune the streaming code such that
>it would stream lots of "check"s, hopefully resulting in little IO,
>but would not stream very many articles at a time.  (It would only send
>N articles before waiting for an ACK.)
>
>This would provide about half the improvement of full streaming without
>hogging the innd connection.  For the rejected articles this would
>provide the full advantage of streaming.  There is no protocol change
>required for this, just tuning of the sending code.

Exactly.  Well, not exactly, I think that it's the receiving code that
needs to be changed (innd).

>
>But I still think that giving higher priority to new connections will
>be a better fix to the problem.

That will not fix the problem of slow responses to IHAVEs of already
existing connections, which is a larger problem IMO.

Alec

-- 
+------------------------------------+--------------------------------------+
|Alec Peterson - chuckie@panix.com   | Panix Public Access Internet and UNIX|
|Network Administrator               | New York City, NY                    |
+------------------------------------+--------------------------------------+

Technical Details
Message-ID: <4los9t$lrr@panix2.panix.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!not-for-mail
References: <4l8jg8$pcd@bull.hkstar.net> <4llpk2$m0a@olivea.atc.olivetti.com> <4lmccn$6df@panix4.panix.com> <4loqk3$rvu@olivea.atc.olivetti.com>

Show Full Headers
Complete Article Headers
Message-ID: <4los9t$lrr@panix2.panix.com>
Subject: Re: newsfeed wanted.
Date: Thu, 25 Apr 1996 00:00:00 +0000
From: chuckie@panix.com (Alec H. Peterson)
References: <4l8jg8$pcd@bull.hkstar.net> <4llpk2$m0a@olivea.atc.olivetti.com> <4lmccn$6df@panix4.panix.com> <4loqk3$rvu@olivea.atc.olivetti.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!not-for-mail
X-Deja-AN: 151446036
Distribution: inet
Organization: Panix Public Access Internet and UNIX
Newsgroups: news.software.nntp