🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #39122

Re: NNTP - building the ultimate server

#39122
From: meow
Date: Thu, 12 Aug 1999 00:00
41 lines
3134 bytes
Brad Knowles <brad@shub-internet.org> wrote:

>     Really?  I was under the impression that the new xover3 code (or
> whatever it's called) that Clayton contributed had fully replaced all of
> the previous overview code in INN 2.3,

Yep.

> and that it was totally dependant on mmap() in order to function.

It's certainly using mmap, but not in such a horrid way.  There is,
after all, still only one writer.

It does cause one small problem under the Linux implementation, but
it's the sort of thing that I doubt anyone would really notice unless
they were hand-cranking INN to watch how it works (which is how I
noticed it's there).  Specifically, an nnrpd session will hang if it
tries to access the NOV on the last group innd wrote to.  It
"unsticks" if you read another group, then go back in.  In a real
newsfeed with articles constantly streaming in, the window of
opportunity for this to actually happen, and the consequenses of it
happening, are small enough that I haven't been really motivated to
cook up a workaround.

>  Therefore, if mmap() doesn't work on a particular platform, then
> xover3 won't work, and as a result, INN 2.3 as a whole won't work.

If mmap doesn't work at all, you've got a problem.  But, the subset of
the mmap API that's actually being used isn't too hard to come by.

>     Have I missed something?  Is INN 2.3 usuable in any context without
> any of the overview code, other than perhaps as a transit server?

Sure, I've been playing with a couple 2.3 reader boxes for weeks and I
don't do Sun.  I ought also to mention that the OV3 file layout is not
exactly exotic -- just very sensible -- and could certainly be
implemented using traditional stat/read-type stuff.  Mmap is there for
the performance, it's not as though the design can't work without it.


Technical Details
Message-ID: <87n1vxchdk.fsf@slip129-37-108-65.nj.us.ibm.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: <37a5671a.1475189546@news.ftech.net> <37a87721.1479292265@news.ftech.net> <brad-0208991326230001@brad.techos.skynet.be> <yl672wcwjk.fsf@windlord.stanford.edu> <7MCwXhxHw-B@khms.westfalen.de> <37acc3ce.7018221@207.192.64.14> <7ogpms$jga$1@hama.darkmere.gen.nz> <brad-0708991625080001@194.78.238.248> <ylpv0z1av4.fsf@windlord.stanford.edu> <brad-0908991201090001@brad.techos.skynet.be> <Ga5s3.2600$Qn4.269481@ptah.visi.com> <37aery5egf.fsf@cascade.cs.ubc.ca> <aVns3.2836$Qn4.302374@ptah.visi.com> <brad-1208991238490001@brad.techos.skynet.be> <87r9l9ckl2.fsf@slip129-37-108-65.nj.us.ibm.net> <brad-1208991358160001@brad.techos.skynet.be>

Show Full Headers
Complete Article Headers
Message-ID: <87n1vxchdk.fsf@slip129-37-108-65.nj.us.ibm.net>
Subject: Re: NNTP - building the ultimate server
Date: Thu, 12 Aug 1999 00:00:00 +0000
From: meow <meowing@banet.net>
References: <37a5671a.1475189546@news.ftech.net> <37a87721.1479292265@news.ftech.net> <brad-0208991326230001@brad.techos.skynet.be> <yl672wcwjk.fsf@windlord.stanford.edu> <7MCwXhxHw-B@khms.westfalen.de> <37acc3ce.7018221@207.192.64.14> <7ogpms$jga$1@hama.darkmere.gen.nz> <brad-0708991625080001@194.78.238.248> <ylpv0z1av4.fsf@windlord.stanford.edu> <brad-0908991201090001@brad.techos.skynet.be> <Ga5s3.2600$Qn4.269481@ptah.visi.com> <37aery5egf.fsf@cascade.cs.ubc.ca> <aVns3.2836$Qn4.302374@ptah.visi.com> <brad-1208991238490001@brad.techos.skynet.be> <87r9l9ckl2.fsf@slip129-37-108-65.nj.us.ibm.net> <brad-1208991358160001@brad.techos.skynet.be>
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: 511830538
X-Notice: should be reported to postmaster@ibm.net
X-Complaints-To: postmaster@ibm.net
X-Trace: 12 Aug 1999 12:28:49 GMT, 32.100.56.55
Organization: fewf
X-Meow: meow
Newsgroups: news.software.nntp