🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #8556

Re: idea: pre-spawned nnrpds

#8556
From: Joe Greco
Date: Mon, 17 Jun 1996 00:00
27 lines
1999 bytes
In news.software.nntp article <4p9ta0$1vn@thunder.mgl.ca>, estern@lightning.mgl.ca (Eric Stern) wrote:
:Just a thought that occured to me...my httpd (Apache) keeps pre-spawned 
:children around to improve the reponse time of the web server. ie when a 
:new request comes in it can be passed off to one of the children without
:the overhead of spawning a new process. Works well.
:
:I noticed that when connecting to my news server, it takes a while to make
:the connection (this is the time it takes for innd to spawn a nnrpd) but
:once your connected it runs pretty quick. So if innd kept a nnrpd 
:ready to go, when it got a connection it could hand it off quicker. 
:Then spawn *another* nnrpd in preparation for the next connection.

The problem isn't that it takes a while to spawn an nnrpd.  It's that it
takes a while for INN to come to the realization that there's another
connection..  due to the monolithic singlethreaded design, it's hard to
avoid this.  The real solution, which some of us are working on in prototype
form, is to pull nnrpd processing out of INN entirely, which allows nifty
new features (such as connection concurrency counters, etc) to be added.

... Joe

-------------------------------------------------------------------------------
Joe Greco - Systems Administrator			      jgreco@ns.sol.net
Solaria Public Access UNIX - Milwaukee, WI			   414/546-7968

Technical Details
Message-ID: <4q3gth$n03@brasil.moneng.mei.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: <4p9ta0$1vn@thunder.mgl.ca>

Show Full Headers
Complete Article Headers
Message-ID: <4q3gth$n03@brasil.moneng.mei.com>
Subject: Re: idea: pre-spawned nnrpds
Date: Mon, 17 Jun 1996 00:00:00 +0000
From: jgreco@brasil.moneng.mei.com (Joe Greco)
References: <4p9ta0$1vn@thunder.mgl.ca>
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: 160607134
Distribution: inet
Organization: Marquette Electronics, Inc. - Milwaukee, WI.
Newsgroups: news.software.nntp