🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36660

Re: Abandoning uniover - but how?

#36660
From: Mark Hittinger
Date: Thu, 15 Apr 1999 00:00
35 lines
2256 bytes
cengiz@netmar.com writes:
>with 300 articles in it, rather than just reading down a .overview as in
>traditional storage, nnrpd now reads the history offset from .overview.index,
>then reads the overview offset from the history file, then finally gets the
>overview information from the appropriate overview file, then proceeds to do this
>299 more times.
>  Someone please tell me I'm misunderstanding how this works.

That is very close.  You forgot to mention that most of those reads will be
real disk hits rather than pulling in some data that is already cached in
memory.  This is bad news on local disks and a disaster on NFS mounted spool.
The 300 data records are not contiguous but are scattered all over the place.

I had wanted the INN developers to "wrap" the routines for overview so that
we could bolt in new modules for overview.  We went through some pain and
reorganization to get to a fairly reasonable storage API for the articles
themselves, but the overview portion does not have a good API.  Much of the
code to deal with overviews (especially in nnrpd) is setting outside rather
than behind an API (and it keeps getting more hackified outside - especially
in nnrpd).

A good API for overview would allow those of us who fool with alternatives
to do so in a less messy way.  Right now we have to hack code in overchan,
storage api, innd, nnrpd, and even cancelchan-of-the-day.  

Unified overview believers should be forced to keep their hacks and experiments
behind an API wall rather than scattering them throughout the INN source code.

Regards,

Mark Hittinger
Mindspring/Netcom/Dallas
bugs@freebsd.netcom.com

Technical Details
Message-ID: <7f5f05$ia@dfw-ixnews7.ix.netcom.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: <7f5eke$u7j$1@news.netmar.com>

Show Full Headers
Complete Article Headers
Message-ID: <7f5f05$ia@dfw-ixnews7.ix.netcom.com>
Subject: Re: Abandoning uniover - but how?
Date: Thu, 15 Apr 1999 00:00:00 +0000
From: bugs@freebsd.netcom.com (Mark Hittinger)
References: <7f5eke$u7j$1@news.netmar.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: 466836881
Organization: Netcom
X-NETCOM-Date: Thu Apr 15 2:34:30 PM CDT 1999
Newsgroups: news.software.nntp