🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #38218

Re: Submitting to Freenix

#38218
From: Russ Allbery
Date: Wed, 23 Jun 1999 00:00
25 lines
1861 bytes
T William Wells <bill@twwells.com> writes:
> Russ Allbery  <rra@stanford.edu> wrote:

>> Making the channel more intelligent about what it's reading could
>> potentially result in some major speedups in this area, but would be
>> fairly grody to code.  The Right Solution is to make innd threaded and
>> allocate a new thread for each incoming connection, so that thread can
>> just read whatever comes and not worry about having to give fair share
>> of its time to other connections.

> Or even better, give up the idea of a monolithic innd. Instead, have a
> collection of daemons, each devoted to a particular part of the
> "job". Incoming connections would get their own nntpd, which would talk
> to historyd, actived, and newsfeedd (for outgoing).

That's threads, except hellishly slower.  If we're going to do all that
work, we may as well do it in a way that's as fast as possible.  And in
order to really do the above, you have to use something like shared memory
(like Diablo), and I haven't seen any indication that shared memory is
that much more portable than threads are.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <ylogi6qrhj.fsf@windlord.stanford.edu>
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: <7g24e7$ckh$1@info.cs.uofs.edu> <brad-2704991503430001@brad.techos.skynet.be> <7g4soa$p7e$1@info.cs.uofs.edu> <ylemj3axr0.fsf@windlord.stanford.edu> <7kr34g$4g5$1@twwells.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylogi6qrhj.fsf@windlord.stanford.edu>
Subject: Re: Submitting to Freenix
Date: Wed, 23 Jun 1999 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <7g24e7$ckh$1@info.cs.uofs.edu> <brad-2704991503430001@brad.techos.skynet.be> <7g4soa$p7e$1@info.cs.uofs.edu> <ylemj3axr0.fsf@windlord.stanford.edu> <7kr34g$4g5$1@twwells.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: 493181307
Organization: The Eyrie
Newsgroups: news.software.nntp