🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #22522

Re: Shared Active patch for NNRPD

#22522
From: Matt Dillon
Date: Mon, 20 Oct 1997 00:00
28 lines
1893 bytes
:In article <62gf1f$f00$1@newssvr03-int.news.prodigy.com>,
:bill davidsen <davidsen@tmr.com> wrote:
:>In article <62gaag$h2i$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote:
:>| :In article <62g6tp$2u5q$1@newssvr03-int.news.prodigy.com>,
:..
:>Well, if you let any process do the update, that wouldn't happen.
:>Assume that each process to look at the hash table checks the age,
:>and if the refresh is more the N sec old does a lock, update and
:>refresh. That protects against the death of a single process
:>hurting anything (assuming the lock gets cleared on death).
:>
:>--
:>    bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc

    There really isn't any need to add that sort of complexity.  If the
    nnrpd's access the shared memory read-only with only the parent accessing
    it r/w, it is both much safer and much less complex from a coding 
    perspective.  It generally isn't a good idea to code in redundancy on the
    assumption that your primary access method is buggy.  Much better to
    design a less complex primary access method and pound on it until all the
    bugs are gone.

						-Matt



Technical Details
Message-ID: <62gjk7$k3r$1@flea.best.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
References: <34325C40.8894971@skynet.be> <62g6tp$2u5q$1@newssvr03-int.news.prodigy.com> <62gaag$h2i$1@flea.best.net> <62gf1f$f00$1@newssvr03-int.news.prodigy.com>

Show Full Headers
Complete Article Headers
Message-ID: <62gjk7$k3r$1@flea.best.net>
Subject: Re: Shared Active patch for NNRPD
Date: Mon, 20 Oct 1997 00:00:00 +0000
From: dillon@best.net (Matt Dillon)
References: <34325C40.8894971@skynet.be> <62g6tp$2u5q$1@newssvr03-int.news.prodigy.com> <62gaag$h2i$1@flea.best.net> <62gf1f$f00$1@newssvr03-int.news.prodigy.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: 282056022
X-Trace: 877384137 28388 dillon 206.184.139.132
Organization: Best Internet Communications, Inc. - 650 964 BEST
Newsgroups: news.software.nntp