🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #38305

Re: News server architecture (was: Submitting to Freenix)

#38305
From: Russ Allbery
Date: Mon, 28 Jun 1999 00:00
38 lines
2597 bytes
T William Wells <bill@twwells.com> writes:

> 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.

Yup.  I agree with you.  I'm not saying INN should drop support for
systems without mmap(), just giving some background of why the requirement
is there at present.

> 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.

There aren't a sufficient number of people working on INN at present that
we really have the luxury of turning down code and making people rewrite
it until it fits our requirements.  We're unfortunately not egcs.  :)  And
the overview thing was a big enough problem that we needed to get *some*
fix checked in so that we could start cleaning it up.  Clayton did tons of
really good work; he just doesn't have a need to deal with systems without
a well-working mmap(), so he didn't.  Other people who are interested in
that problem can work on it.

Those of us who care about portability will go back and make sure it's
there.  I think it will be just as easy or easier to add it back in as it
would have been to write it that way in the first place; most of the work
was in designing the data structures and API, which will stay unchanged.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <yl7looekjh.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
References: <7g24e7$ckh$1@info.cs.uofs.edu> <7l42bc$tm$1@twwells.com> <ylhfnukpwz.fsf@windlord.stanford.edu> <7l5p6n$1kf$1@news.panix.com> <7l5t2o$2f4m$1@twwells.com>

Show Full Headers
Complete Article Headers
Message-ID: <yl7looekjh.fsf@windlord.stanford.edu>
Subject: Re: News server architecture (was: Submitting to Freenix)
Date: Mon, 28 Jun 1999 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <7g24e7$ckh$1@info.cs.uofs.edu> <7l42bc$tm$1@twwells.com> <ylhfnukpwz.fsf@windlord.stanford.edu> <7l5p6n$1kf$1@news.panix.com> <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-mail
X-Deja-AN: 494707464
Organization: The Eyrie
Newsgroups: news.software.nntp