🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #41278

Re: NoCeM & INN2.3

#41278
From: Andrew
Date: Thu, 04 Nov 1999 00:00
34 lines
2452 bytes
In article <7vs3rh$oca$1@nnrp1.deja.com>, bostic@bostic.com wrote:
>How big is the message ID?

Very variable - not often less than 20 characters or more than 100, but
the theoretical upper limit is 504 characters. 38 characters is currently
the most common length (thanks to the recent release of Agent 1.6).

>It would be worthwhile considering that you might not need the
>cache in front of the database, if the database works well.

Unlikely. The thing is that the history cache can be used as part of the
precommit mechanism, which is essential anyway.

>> If you want to take the cache part as well, then the mix is different;
>> basically, I get the same message IDs offered to me from about 20 to
>30
>> peers within five to ten seconds of each other.
>
>But this is right for a Btree -- the first connection will fault
>in the pages if they're not already resident, and the rest of the
>connections will find them already in memory.  That's exactly what
>you want, and offers you almost perfect locality.

Actually it should work just as well with a hash - remember that it's
_exactly the same_ ID which is being looked up. Btrees are nice if a
lookup on one item is likely to result in the lookup of _different_
but nearby values; this isn't going to happen with message-ids except
by chance.

-- 
Andrew, Supernews
http://www.supernews.com - UK and US individual and corporate NNTP services

Technical Details
Message-ID: <slrn823m6e.42i.andrew+news@uk21.supernews.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: <3819A774.9C57FDCA@boerde.de> <7vnkfo$cpt@bigred.inka.de> <ylg0yomrmj.fsf@windlord.stanford.edu> <7vpog2$2qm$1@nnrp1.deja.com> <7vq0aa$93v$1@newssvr02.news.prodigy.com> <7vq7rc$ed2$1@nnrp1.deja.com> <yln1sv8a4c.fsf@windlord.stanford.edu> <7vqu45$uq3$1@nnrp1.deja.com> <yld7tq6hvh.fsf@windlord.stanford.edu> <7vs3rh$oca$1@nnrp1.deja.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn823m6e.42i.andrew+news@uk21.supernews.com>
Subject: Re: NoCeM & INN2.3
Date: Thu, 04 Nov 1999 00:00:00 +0000
From: andrew+news@supernews.com (Andrew)
References: <3819A774.9C57FDCA@boerde.de> <7vnkfo$cpt@bigred.inka.de> <ylg0yomrmj.fsf@windlord.stanford.edu> <7vpog2$2qm$1@nnrp1.deja.com> <7vq0aa$93v$1@newssvr02.news.prodigy.com> <7vq7rc$ed2$1@nnrp1.deja.com> <yln1sv8a4c.fsf@windlord.stanford.edu> <7vqu45$uq3$1@nnrp1.deja.com> <yld7tq6hvh.fsf@windlord.stanford.edu> <7vs3rh$oca$1@nnrp1.deja.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: 544495726
X-Complaints-To: newsabuse@remarq.com
X-Trace: 941742287 .MYBPHMNN00017F00C uk21.supernews.com
Organization: RemarQ http://www.remarQ.com
User-Agent: slrn/0.9.5.4 (UNIX)
Reply-To: andrew@supernews.com
Newsgroups: news.software.nntp