Article View: news.software.nntp
Article #21694Re: *NEW* News Server Software!
From: bill davidsen
Date: Fri, 19 Sep 1997 00:00
Date: Fri, 19 Sep 1997 00:00
68 lines
3371 bytes
3371 bytes
In article <5vt0pg$e3c$1@earth.execpc.com>,
Joe Greco <jgreco@ns.sol.net> wrote:
| Well, it wasn't so long ago that the idea of PERL being integrated
| into INN was new and radical.
|
| A vast majority of INN installations out there do not have PERL
| filtering, either because the version of INN does not support it,
| or because it's disabled.
|
| It's a temporary advantage that INN has. INN does not, on the
| other hand, have an integrated spam detection filter like Diablo
| does.
| Diablo may actually be more suited to it, because of its
| multiprocess model. I can envision a time when complex spam
| filters eat a fair amount of CPU, which would be very bad to
| try to implement in INN's singlethreaded monolithic model.
|
| Diablo could leverage a multiprocessor machine, however, and
| a spam filter that would cause serious performance problems
| under INN could be quite practical under Diablo.
|
| It seems to me that the filters must necessarily start getting
| more complex, so this may well become a concern.
|
| INN's fundamental design is a problem :-(
Maybe. We managed to pull NOV into a separate process instead of
having it in INN. We got crosspost to do linking in a separate
process. It's not a given that INN will stay single threaded for
incoming articles, either.
Imagine that we move INN to another port (already supported, config
option), then have the "main" innd do the history lookup and assign
article numbers, and separate processes or threads actually do the
article read.
Please feel free to comment on this model:
innd - accepts connections from feeders, forks or passes sockets
inncm - connection manager for a single feed
innhm - history manager
processes "do I have this?" queries
processes "add this to history" directives
processes "delete this from history" directives
innanm - article number manager
accepts a list of groups, returns an Xref line
These could be processes or threads, and the IPC could be sockets or
message queues, since queues may be faster than select() calls when
there are a large number of sockets open, vs a single queue.
By moving the history manager to a process it gets abstracted, so
that you can change the implementation, to a database for instance,
have it on a dedicated machine, etc.
None of this is related to the file organization, which is another
issue.
--
bill davidsen <davidsen@tmr.com>
"I think there's a problem with the server power supply"
"Why?"
"There were flames coming out of the cooling fan until it stopped."
-actual conversation, on a Friday afternoon of course
Technical Details
Message-ID:
<5vu731$1hjk$1@newssvr03-int.news.prodigy.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-mailReferences:
<5vpddn$qlb$1@news5.ais.net> <5vrau5$em0$1@earth.execpc.com> <5vrris$9tf$2@news1.exit109.com> <5vt0pg$e3c$1@earth.execpc.com>Show Full Headers
Complete Article Headers
Message-ID: <5vu731$1hjk$1@newssvr03-int.news.prodigy.com> Subject: Re: *NEW* News Server Software! Date: Fri, 19 Sep 1997 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) References: <5vpddn$qlb$1@news5.ais.net> <5vrau5$em0$1@earth.execpc.com> <5vrris$9tf$2@news1.exit109.com> <5vt0pg$e3c$1@earth.execpc.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: 273856882 Organization: TMR Associates, Schenectady NY Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com