Article View: news.software.nntp
Article #38300Re: News server architecture (was: Submitting to Freenix)
From: T. William Wells
Date: Sun, 27 Jun 1999 00:00
Date: Sun, 27 Jun 1999 00:00
33 lines
2508 bytes
2508 bytes
In article <7l5p6n$1kf$1@news.panix.com>, Aidan Cully <aidan@panix.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*. : : That's a bit harsh, and I can't say I agree with you.. Read "shared : memory w/disk backing" again. :-) And what exactly do you think a buffer cache is? Oh, sure, there's some extra CPU involved in copying the data around but the reality is that the CPU time isn't the problem, the overview *data organization* is (was?) the problem. If the latest code change solves the overview speed problem, I will bet that it would solve that problem without the need for mmap(), because the *essential* change would have been a data structure change. Sigh. I think I'm too old -- the programming school I come from believes in portability and correctness rather than convenience and hack-it-out-the-door. And, yes, one can have good, fast, portable, and *timely* code; good programming more often results in faster delivery time than not. (And while I'm kvetching, anyone know where a quality-oriented programmer is to be found? I need to hire one for a position down here in Ft. Lauderdale. So far, with rare exceptions, the programmers who've indicated an interest barely know which end of a stack is the business end or have never *heard* of a code review.)
Technical Details
Message-ID:
<7l5t2o$2f4m$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> <7l42bc$tm$1@twwells.com> <ylhfnukpwz.fsf@windlord.stanford.edu> <7l5p6n$1kf$1@news.panix.com>Show Full Headers
Complete Article Headers
Message-ID: <7l5t2o$2f4m$1@twwells.com> Subject: Re: News server architecture (was: Submitting to Freenix) Date: Sun, 27 Jun 1999 00:00:00 +0000 From: bill@twwells.com (T. William Wells) References: <7g24e7$ckh$1@info.cs.uofs.edu> <7l42bc$tm$1@twwells.com> <ylhfnukpwz.fsf@windlord.stanford.edu> <7l5p6n$1kf$1@news.panix.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: 494506068 Distribution: inet X-Complaints-To: abuse@twwells.com X-Trace: twwells.com 930510746 81047 209.118.236.61 (27 Jun 1999 19:12:26 GMT) Organization: None, Mt. Laurel, NJ NNTP-Posting-Date: 27 Jun 1999 19:12:26 GMT Newsgroups: news.software.nntp