Article View: news.software.nntp
Article #38407Re: News server architecture (was: Submitting to Freenix)
From: Clayton O'Neill
Date: Sat, 03 Jul 1999 00:00
Date: Sat, 03 Jul 1999 00:00
27 lines
2249 bytes
2249 bytes
On 26 Jun 1999 22:30:04 -0400, T. William Wells <bill@twwells.com> wrote: |Lovely. Someone *needs* to look over code and say "You can't DO |that!" and this mmap() thing is exactly the sort of thing I'm |referring to. I can't conceive of any reason to *require* mmap in |any system, since it doesn't provide any *functionality* that |regular I/O calls provide. Efficiency, yes, but functionality no. |So code that *requires* mmap() is *broken*. How is it broken? mmap() is required by POSIX. Linux, Freebsd, IRIX, Solaris, Tru64, etc, all had working implementations last time I looked. HPUX doesn't, but to be honest, I have nothing but pity for people that have to run stuff on HPUX. The use of mmap() in this case happens to be considerably more efficent than read()/write() since it reduces the number of memory copies done and the number of syscalls. Also, I haven't seen anyone else propose a better way to do disk backed shared memory. To be honest, this sounds like another one of the "But this isn't the way I would have done it" whines that were a big part of the reason that I quit contributing to the ISC INN development effort. People that aren't willing to contribute code can bitch all the want, but ultimately someone has to implement it, and the people complaining shouldn't be surprised if it doesn't meet their _personal_ standards of perfection.
Technical Details
Message-ID:
<slrn7nqv2u.bl.usenet@luser.oneill.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:
<7g24e7$ckh$1@info.cs.uofs.edu> <yl3dzg28yw.fsf@windlord.stanford.edu> <7l127f$24lt$1@twwells.com> <ylogi3s8qs.fsf_-_@windlord.stanford.edu> <7l42bc$tm$1@twwells.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn7nqv2u.bl.usenet@luser.oneill.net> Subject: Re: News server architecture (was: Submitting to Freenix) Date: Sat, 03 Jul 1999 00:00:00 +0000 From: usenet@oneill.net (Clayton O'Neill) References: <7g24e7$ckh$1@info.cs.uofs.edu> <yl3dzg28yw.fsf@windlord.stanford.edu> <7l127f$24lt$1@twwells.com> <ylogi3s8qs.fsf_-_@windlord.stanford.edu> <7l42bc$tm$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-mail X-Deja-AN: 496643822 X-Trace: 9KGYkc1/+eUZ9lS2Zq7lQNZmd9ltrnh3ejUDbOew3hsplwZMVdVWsQ== User-Agent: slrn/0.9.5.6 (UNIX) NNTP-Posting-Date: 3 Jul 1999 02:58:38 GMT Newsgroups: news.software.nntp X-Complaints-To: abuse@rcn.com