Article View: news.software.nntp
Article #14464Re: News over NFS
From: bill davidsen
Date: Mon, 27 Jan 1997 00:00
Date: Mon, 27 Jan 1997 00:00
39 lines
2530 bytes
2530 bytes
In article <5chjo1$d3e@thailand.it.earthlink.net>, Nick Christenson <npc@thailand.it.earthlink.net> wrote: | In article <5c9dnh$q4e@node6.frontiernet.net>, | Dan Foster <dsf@node6.frontiernet.net> wrote: | >Wouldn't it, out of curiosity, have a lower cost to have a nnrpd that | >binds to port 119 and forks as needed children to handle each NNRP | >connect as opposed to having an huge select() loop like you do with | >inetd? Or would that offer neglible advantage (little or none)? | | I think it would offer an advantage, but I'm not sure it's worth | the cost of maintaining a software package seperate from the standard | one. Of course, if the ISC would like to put this option into the | stock nnrpd, it's likely that I'd use it. This is all IMHO, of course. | | >Or, like most httpd's... pre-fork x numbers of daemons, which would | >possibly make sense because you'd usually know roughly how many you were | >running during an average period as well as during peak times. | | Either way, I think it would be an improvement, but not a huge one. | The nnrpd processes are far more persistant than httpds, so the | overall cost of an expensive startup is lower. This is a good point, but what you want (on machines which support it) is threads. This saves init, and also most of the memory needed per user. News is not CPU bound, and disk capacity can be added, but many machines which would be low cost servers have only limited memory capacity, say 512M or 1G. Converting the existing nnrpd to threads is not anything like a drop-in, it would be a significant effort to do at all, and more than that to do right (ie. with docs and easy portability). -- -bill davidsen (davidsen@tmr.com) "As a software development model, Anarchy does not scale well." -Dave Welch
Technical Details
Message-ID:
<5cj35k$30hs@usenet1y.prodigy.net>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:
<32DD4F82.652A@isdnet.net> <5c988r$99i@thailand.it.earthlink.net> <5c9dnh$q4e@node6.frontiernet.net> <5chjo1$d3e@thailand.it.earthlink.net>Show Full Headers
Complete Article Headers
Message-ID: <5cj35k$30hs@usenet1y.prodigy.net> Subject: Re: News over NFS Date: Mon, 27 Jan 1997 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) References: <32DD4F82.652A@isdnet.net> <5c988r$99i@thailand.it.earthlink.net> <5c9dnh$q4e@node6.frontiernet.net> <5chjo1$d3e@thailand.it.earthlink.net> 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: 212585527 Distribution: inet Organization: TMR Associates, Schenectady NY Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com