🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #1891

Re: INN: Answer to all my problems??

#1891
From: Rob Robertson
Date: Fri, 21 May 1993 10:57
25 lines
2039 bytes
In article <1tip3v$qf2@leps5.phys.psu.edu> kenh@leps5.phys.psu.edu (Ken Hornstein) writes:
   It is my understanding that innd does a dbzincore(), and thus keeps the history
   file in memory.  Obviously, it's the DBZ version, not the plaintext version :-)

not really.  there are two components to the dbz database, the actual
history file "history", and the hash table index, history.pag.  when
looking for a message id, you hashify it, and look for it in the
history.pag file, if it exists (or *might* exist), it gives you an
offset into the plain text history file, were one can check definitely
if the article exists.

what dbzincore() does is keep the history.pag in memory.  the history
file is like way big to do this.

this also means that when a site offers you an article you already
have, your still doing, at the minimum, one lseek(), and a read() from 
the history file.  

rob
--
			  william robertson
			rob@agate.berkeley.edu

	`i don't know what i like, but i know alot about art'
Technical Details
Message-ID: <ROB.93May21105700@hanalei.berkeley.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.mbox.zip!gmd.de!rrz.uni-koeln.de!unidui!math.fu-berlin.de!nigel.msen.com!sdd.hp.com!cs.utexas.edu!wupost!math.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!agate!rob
References: <1993May17.153117.20927@uc.msc.edu> <1tgt7r$h2l@pirates.cs.swt.edu> <1tgui6$pbd@leps5.phys.psu.edu> <1th25v$hda@pirates.cs.swt.edu> <1tip3v$qf2@leps5.phys.psu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <ROB.93May21105700@hanalei.berkeley.edu>
Subject: Re: INN: Answer to all my problems??
Date: Fri, 21 May 1993 10:57:00 +0000
From: rob@agate.berkeley.edu (Rob Robertson)
References: <1993May17.153117.20927@uc.msc.edu> <1tgt7r$h2l@pirates.cs.swt.edu> <1tgui6$pbd@leps5.phys.psu.edu> <1th25v$hda@pirates.cs.swt.edu> <1tip3v$qf2@leps5.phys.psu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.mbox.zip!gmd.de!rrz.uni-koeln.de!unidui!math.fu-berlin.de!nigel.msen.com!sdd.hp.com!cs.utexas.edu!wupost!math.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!agate!rob
Newsgroups: news.admin,news.software.nntp
Organization: University of California, Bezerkeley
Lines: 24
Distribution: usa
NNTP-Posting-Host: hanalei.berkeley.edu
In-reply-to: kenh@leps5.phys.psu.edu's message of 21 May 1993 10:31:27 -0400