🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #21210

Re: proposal: separate ports for xfer and client access

#21210
From: Brian Hernacki
Date: Tue, 02 Sep 1997 00:00
23 lines
1650 bytes
coneill@blah.erols.com wrote:
> 
> drechsau@yuck.net (Mike Horwath) writes:
> >       Fun item: multithreaded nnrpd without any forking :) (and this
> >       would not interfere with a non-multithreaded INN)
> 
> It'll be fun until it starts segv'ing.  I'll take a per process model
> any day.  I've yet to see anyone cite a worthwhile reason to thread
> nnrpd.  I doubt that you'd see a performance benefit that would be
> worth the effort.

It is alot of work, but if you do it right, you get a pretty good
reduction in memory usage. Context switch between threads also seems a
bit better (speed-wise) on some systems than bewteen processes.

Of course if you're looking at threading INN's nnrpd then you're going
to have to deal with things like thread-unsafe chdir, dbz routines, etc.
Alot of the INN model is built around that multi-process model.

--brian

Technical Details
Message-ID: <340C75D1.E4259C6F@netscape.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: <5tu8lj$l1m$1@samba.rahul.net> <5tunnh$p43$1@samba.rahul.net> <5tv2m2$fe9$1@earth.execpc.com> <5tvs11$dtn$2@darla.visi.com> <5u1dr7$dom$1@earth.execpc.com> <5ud7is$moh$2@darla.visi.com> <8690xhwk9k.fsf@blah.erols.com>

Show Full Headers
Complete Article Headers
Message-ID: <340C75D1.E4259C6F@netscape.com>
Subject: Re: proposal: separate ports for xfer and client access
Date: Tue, 02 Sep 1997 00:00:00 +0000
From: Brian Hernacki <bhern@netscape.com>
References: <5tu8lj$l1m$1@samba.rahul.net> <5tunnh$p43$1@samba.rahul.net> <5tv2m2$fe9$1@earth.execpc.com> <5tvs11$dtn$2@darla.visi.com> <5u1dr7$dom$1@earth.execpc.com> <5ud7is$moh$2@darla.visi.com> <8690xhwk9k.fsf@blah.erols.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: 269596896
Organization: Netscape, Floating Point Division
Newsgroups: news.software.nntp