🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #40460

Re: INN maxed? Time to add a Diablo router?

#40460
From: Russ Allbery
Date: Mon, 04 Oct 1999 00:00
26 lines
1952 bytes
Brad Knowles <brad@shub-internet.org> writes:
> Russ Allbery <rra@stanford.edu> wrote:

>> Feature of INN.  Joe Greco wrote it, in fact, IIRC.  It's much easier
>> to do stuff like that if you're a monolithic daemon, though.

> I'm thinking that I might see what it would take to turn Diablo into a
> single select-based daemon, so that I could then enable an INN-like
> filter interface.

> I think that would bring me a long ways towards making Diablo as fast as
> INN, and once I got there than I could look into what it would take to
> make the program multi-threaded, so that hopefully I could start
> knocking on the doors of NNTPRelay.

I don't think you want to get there from that direction.  Like Joe was
saying in this group earlier, Diablo's multi-process model with shared
memory is actually closer to a threaded server already than INN's is.
Just go directly to threaded if you're trying to get there anyway; going
to a monolithic select loop as an interim step would require writing a
bunch of code that you'd then throw away again.

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

Technical Details
Message-ID: <ylvh8ni9vm.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: <foo-0210991412200001@192.168.2.3> <yl3dvtp0xb.fsf@windlord.stanford.edu> <foo-0210992103530001@192.168.2.3> <yl3dvtnjuv.fsf@windlord.stanford.edu> <brad-0310991300490001@dialup995.brussels2.skynet.be> <ylvh8olmsi.fsf@windlord.stanford.edu> <brad-0410991314520001@brad.techos.skynet.be>

Show Full Headers
Complete Article Headers
Message-ID: <ylvh8ni9vm.fsf@windlord.stanford.edu>
Subject: Re: INN maxed? Time to add a Diablo router?
Date: Mon, 04 Oct 1999 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <foo-0210991412200001@192.168.2.3> <yl3dvtp0xb.fsf@windlord.stanford.edu> <foo-0210992103530001@192.168.2.3> <yl3dvtnjuv.fsf@windlord.stanford.edu> <brad-0310991300490001@dialup995.brussels2.skynet.be> <ylvh8olmsi.fsf@windlord.stanford.edu> <brad-0410991314520001@brad.techos.skynet.be>
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: 532625630
Organization: The Eyrie
Newsgroups: news.software.nntp