Article View: news.software.nntp
Article #21404Re: NNRPD resource consumption
From: coneill
Date: Tue, 09 Sep 1997 00:00
Date: Tue, 09 Sep 1997 00:00
35 lines
2305 bytes
2305 bytes
Darrell Fuhriman <darrell@grumblesmurf.net> writes: > coneill@blah.erols.com writes: > > Overview Indices > > - Adds a flat binaries index that as stored in the same directory as the > > overview text file, but in another file. The index stores the article > > number along with the offset that the overview record starts at. > > I had contemplated putting Berkeley DB in nnrpd... even did some > work to that effect but I've not finished it. That should > provide the ability to do everything you've suggested and require > less implementation costs. The problem is that Berkeley DB always checks for existance, giving you a increasing insert time proportional to the size of the db. At least that was true with 1.86, I haven't done any performance testing with 2.x > > Anyone have ideas on how to improve on the above? I've thought about a CNFS > > style mechanism, but I think we gain a lot currently by having the > > records (at least logically) sequential. I also think we need to > > rewrite expireover so that it doesn't bother to sort the overview > > entries anymore. If we do that then we can eliminate the memory > > footprint and cpu overhead of expireover. > > Same benefit from using DB. Avi came up with an idea for a > cyclic overview that was quite clever.. you should bug him about > it. The problem I've always seen with cyclic overview is that it seems like you'd have a problem keeping overview from expiring faster than the articles w/o careful balancing.
Technical Details
Message-ID:
<867mcqtkw1.fsf@blah.erols.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:
<5unqlf$jfa@shell.monmouth.com> <5uo3j0$fah@dfw-ixnews1.ix.netcom.com> <5uphmp$86q$1@flea.best.net> <5upijp$2oi@shell.monmouth.com> <5upqc7$6tf$1@jake.probe.net> <86iuwfv14m.fsf@blah.erols.com> <m24t7u1inp.fsf@xian.grumblesmurf.net>Show Full Headers
Complete Article Headers
Message-ID: <867mcqtkw1.fsf@blah.erols.com> Subject: Re: NNRPD resource consumption Date: Tue, 09 Sep 1997 00:00:00 +0000 From: coneill@blah.erols.com References: <5unqlf$jfa@shell.monmouth.com> <5uo3j0$fah@dfw-ixnews1.ix.netcom.com> <5uphmp$86q$1@flea.best.net> <5upijp$2oi@shell.monmouth.com> <5upqc7$6tf$1@jake.probe.net> <86iuwfv14m.fsf@blah.erols.com> <m24t7u1inp.fsf@xian.grumblesmurf.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 X-Deja-AN: 271069966 Organization: Erol's Internet Services X-Received-On: 9 Sep 1997 18:13:56 GMT Newsgroups: news.software.nntp