Article View: news.software.nntp
Article #40177Re: Diablo vs. INN questions...
From: Brad Knowles
Date: Tue, 28 Sep 1999 00:00
Date: Tue, 28 Sep 1999 00:00
36 lines
2443 bytes
2443 bytes
In article <yl4sggteag.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:
> Remember, INN is at its heart a monolithic daemon. There's just one innd
> process. It handles incoming connections in a select loop and writes feed
> data to outgoing connections as defined in newsfeeds.
Hmm. I didn't know that INN operated as a single daemon with incoming
connections handled by select. For some reason, I thought that it used a
shared memory forking model....
> Under INN, the Perl filter isn't a process. It's embedded directly inside
> innd; innd links with the Perl libraries.
Hmm, here's yet another thing I didn't know about INN. The more I
learn, the more I realise how little I know.
> If INN were really using shared memory, you could take the disk out of
> that loop, and then INN would have a latency comparable to NNTPrelay or
> Cyclone. Similarly, if you were to thread innfeed and then make innd at
> least thread-safe, you could just pass the article in memory to an innfeed
> thread and get similar speed.
Hmm. Myself, I think I'd be inclined to go the shared memory route,
although threading is also very attractive. I would be inclined to think
that the shared memory solution would be easier to program, although I
speak from complete ignorance. ;-)
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 100? If so, please contact me via private e-mail for details.
Technical Details
Message-ID:
<brad-2809990040060001@dialup505.brussels2.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-mailReferences:
<brad-2709991944100001@brad.techos.skynet.be> <yl4sggteag.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <brad-2809990040060001@dialup505.brussels2.skynet.be> Subject: Re: Diablo vs. INN questions... Date: Tue, 28 Sep 1999 00:00:00 +0000 From: brad@shub-internet.org (Brad Knowles) References: <brad-2709991944100001@brad.techos.skynet.be> <yl4sggteag.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 X-Deja-AN: 530058046 X-Complaints-To: abuse@skynet.be X-Trace: news1.skynet.be 938472020 29954 195.238.24.249 (27 Sep 1999 22:40:20 GMT) Organization: Shub-Internet X-URL: http://www.shub-internet.org/ NNTP-Posting-Date: 27 Sep 1999 22:40:20 GMT Newsgroups: news.software.nntp