🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by cengiz Thu, 15 Apr 1999 00:00
Abandoning uniover - but how?
#36645
Author: cengiz
Date: Thu, 15 Apr 1999 00:00
31 lines
2144 bytes
Hi folks,

  After careful consideration, and agreement to this effect from a
respondant to an earlier post, I have come to the conclusion that
in comparision to the traditional method the unified overview database
sucks.

  I'd like to dump in favor of the old, traditional format, where overview
is stored in the overview directory in article directories (like where the
overview.index files are now).

  Problem is, the docs give the impression that if you use storage API,
you are automatically content and resigned to use unified overview.
I'm not.  While article storage and retrieval is zippy, overview performance,
bites, to say the least.  If I understand it right, to xover a whole group
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.

-Cengiz

      -----  Posted via NewsOne.Net: Free Usenet News via the Web  -----
      -----  http://newsone.net/ --  Discussions on every subject. -----
   NewsOne.Net prohibits users from posting spam.  If this or other articles
 posted through NewsOne.Net violate posting guidelines, email abuse@newsone.net

Re: Abandoning uniover - but how?
#36660
Author: 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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads