🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #40173

Re: Diablo vs. INN questions...

#40173
From: Andrew Gierth
Date: Mon, 27 Sep 1999 00:00
42 lines
2464 bytes
>>>>> "Brad" == Brad Knowles <brad@shub-internet.org> writes:

 Brad> Folks,
 Brad>     I think I'm beginning to understand just a bit more how
 Brad> Diablo works as compared to INN.  I would like confirmation or
 Brad> clarification as to the following.

 Brad>     For INN:

what version of INN?

 Brad>         1.  When receiving an article, it is written into
 Brad>         shared memory,

not in any version up to and including 2.2.1, I haven't looked at the
-current stuff but I highly doubt that it does this

 Brad>         2.  When executing the perl filter, a copy of the
 Brad> program is always kept running (a la apache w/ mod_perl), and a
 Brad> pointer to the article (stored in shared memory) is passed.

not quite; the perl filter is run in an interpreter embedded into innd,
no shared memory is required.

 Brad>         3.  When this article is to be offerred to one or more
 Brad> peers, a pointer to this shared memory is passed to the routine
 Brad> that writes the article to a spool file to be read by innfeed,

also wrong; the storage token that gets written to innfeed (normally
via a pipe, not via a spool file) is a reference to the article in
the spool; innfeed will read the article from there.

innfeed does not spawn additional processes; one innfeed process
handles all the connections for the sites that you funnel to it
simultaneously.  (It's possible to start more than one innfeed if you
like, but you should normally only do this if each innfeed will be
handling a totally different set of articles, e.g. small vs large.)

-- 
Andrew.

Technical Details
Message-ID: <87btaow63y.fsf@erlenstar.demon.co.uk>
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: <brad-2709991944100001@brad.techos.skynet.be>

Show Full Headers
Complete Article Headers
Message-ID: <87btaow63y.fsf@erlenstar.demon.co.uk>
Subject: Re: Diablo vs. INN questions...
Date: Mon, 27 Sep 1999 00:00:00 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <brad-2709991944100001@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: 529970429
X-Mayan-Date: Long count = 12.19.6.10.4; tzolkin = 4 Kan; haab = 12 Chen
X-Complaints-To: andrew@erlenstar.demon.co.uk
Organization: disorganised
X-Attribution: AG
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-P-Persistent-Headers: are a bad idea.
Newsgroups: news.software.nntp
X-Post-Filter: postfilter v0.6 alpha