🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #38306

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

#38306
From: Aidan Cully
Date: Mon, 28 Jun 1999 00:00
35 lines
2232 bytes
In news.software.nntp, Russ Allbery <rra@stanford.edu> wrote:
> Any reason why you can't do the same thing we used to do with the active
> file in nnrpd and just re-read it into memory on a periodic basis?  Or
> even take another step of advancement forward and resurrect actived?

I was ranting about "an improved actived" for a while there in
inn-workers..  I wanted to write a "reader data caching daemon", which
would do everything actived does, handle most of the readers.conf
authentication, and possibly do overview/article lookups for client
nnrpd processes, eventually turning "actived" itself into a multi-
connection reader daemon.  Ever so slowly, I get more and more code
written towards this.

> Seems like it's the same problem.  I'm all for mmap() as a solution, but
> we should probably provide a fallback.  It should be relatively clean to
> do so, if we have a simple API; you don't even have to inject code in that
> many different paths.

Agreed..  If we can avoid just a whole bunch of functions with the basic
structure
if (innconf->varname) {
    first_api();
} else {
    second_api();
}
.  innconf->extendeddbz really made INN quite a bit more annoying to
hack for quite a while.  IMHO.

--aidan
-- 
Aidan Cully       "Umm..  Could you call back?  My house is on fire."
Panix Staff          --Tom Waits
aidan@panix.com

Technical Details
Message-ID: <7l7829$cvh$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
References: <7g24e7$ckh$1@info.cs.uofs.edu> <7l5p6n$1kf$1@news.panix.com> <yl6lnd5uv4g.fsf@intrepid.ecn.ou.edu> <ylaetljfxu.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <7l7829$cvh$1@news.panix.com>
Subject: Re: News server architecture (was: Submitting to Freenix)
Date: Mon, 28 Jun 1999 00:00:00 +0000
From: aidan@panix.com (Aidan Cully)
References: <7g24e7$ckh$1@info.cs.uofs.edu> <7l5p6n$1kf$1@news.panix.com> <yl6lnd5uv4g.fsf@intrepid.ecn.ou.edu> <ylaetljfxu.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: 494682053
Distribution: inet
X-Complaints-To: abuse@panix.com
X-Trace: news.panix.com 930554761 13297 166.84.0.232 (28 Jun 1999 07:26:01 GMT)
Organization: Public Access Networks Corp.
NNTP-Posting-Date: 28 Jun 1999 07:26:01 GMT
Newsgroups: news.software.nntp