Article View: news.software.nntp
Article #21692Re: *NEW* News Server Software!
From: Joe Greco
Date: Fri, 19 Sep 1997 00:00
Date: Fri, 19 Sep 1997 00:00
65 lines
3083 bytes
3083 bytes
In news.software.nntp article <5vu731$1hjk$1@newssvr03-int.news.prodigy.com>, davidsen@tmr.com (bill davidsen) wrote: :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. It can't, and I've been saying that for years. My news servers typically have at least a dozen disks. Under a singlethreaded model, this means that most of those disks are not being used to write data at any given instant. That's inefficient, and a key bottleneck. :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 Done that already :-) It was a moderate win. I'm not convinced that there MUST be per-connection processes. However, I AM convinced that whatever process is sucking in the news cannot "pause" to synchronously write the article to disk. : innhm - history manager : processes "do I have this?" queries : processes "add this to history" directives : processes "delete this from history" directives Yup. : innanm - article number manager : accepts a list of groups, returns an Xref line You're missing the big one: the spool manager API. I'd like to see a "per drive" spool manager process, ideally. The real problems inside INN are generally the I/O activities. :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. :-) I've proposed several architectural changes in the past... it seems we're finally coming around to seriously considering the need for such things. That's good, I think. ... JG
Technical Details
Message-ID:
<5vukhg$7f2$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-mailReferences:
<5vpddn$qlb$1@news5.ais.net> <5vrris$9tf$2@news1.exit109.com> <5vt0pg$e3c$1@earth.execpc.com> <5vu731$1hjk$1@newssvr03-int.news.prodigy.com>Show Full Headers
Complete Article Headers
Message-ID: <5vukhg$7f2$1@earth.execpc.com> Subject: Re: *NEW* News Server Software! Date: Fri, 19 Sep 1997 00:00:00 +0000 From: jgreco@ns.sol.net (Joe Greco) References: <5vpddn$qlb$1@news5.ais.net> <5vrris$9tf$2@news1.exit109.com> <5vt0pg$e3c$1@earth.execpc.com> <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-mail X-Deja-AN: 273903412 Sender: jgreco@earth.execpc.com Organization: sol.net Network Services - Milwaukee, WI Newsgroups: news.software.nntp