Article View: news.software.nntp
Article #38243Re: Submitting to Freenix
From: T. William Wells
Date: Thu, 24 Jun 1999 00:00
Date: Thu, 24 Jun 1999 00:00
32 lines
2115 bytes
2115 bytes
In article <ylogi6qrhj.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: : > Or even better, give up the idea of a monolithic innd. Instead, have a : > collection of daemons, each devoted to a particular part of the : > "job". Incoming connections would get their own nntpd, which would talk : > to historyd, actived, and newsfeedd (for outgoing). : : That's threads, except hellishly slower. I don't think it'd be that much slower. Most of the "action" would still take place within each process (or thread). : If we're going to do all that : work, we may as well do it in a way that's as fast as possible. "Portable" is my requirement. I'd have no objection to a system that can be implemented as either threads or processes but I'd really object to one that relied on threads. : And in : order to really do the above, you have to use something like shared memory : (like Diablo), and I haven't seen any indication that shared memory is : that much more portable than threads are. SysV shared memory is fairly portable. But it's ugly. For my applications, I've just used UDP sockets and it works well enough. Be that as it may, a good design would abstract out the shared data and the multi-processing stuff, so it could be implemented on a variety of platforms.
Technical Details
Message-ID:
<7ktqaa$k06$1@twwells.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:
<7g24e7$ckh$1@info.cs.uofs.edu> <ylemj3axr0.fsf@windlord.stanford.edu> <7kr34g$4g5$1@twwells.com> <ylogi6qrhj.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <7ktqaa$k06$1@twwells.com> Subject: Re: Submitting to Freenix Date: Thu, 24 Jun 1999 00:00:00 +0000 From: bill@twwells.com (T. William Wells) References: <7g24e7$ckh$1@info.cs.uofs.edu> <ylemj3axr0.fsf@windlord.stanford.edu> <7kr34g$4g5$1@twwells.com> <ylogi6qrhj.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: 493448085 X-Complaints-To: abuse@twwells.com X-Trace: twwells.com 930245772 20487 209.118.236.61 (24 Jun 1999 17:36:12 GMT) Organization: None, Mt. Laurel, NJ NNTP-Posting-Date: 24 Jun 1999 17:36:12 GMT Newsgroups: news.software.nntp