🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63456

Re: One million new groups - what happens then ?

#63456
From: Russ Allbery
Date: Tue, 21 Jan 2003 02:31
24 lines
2189 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:
> Juergen Helbing <archiver@i3w.com> wrote:

>> Yes, I understand this problem.
>> But one thing I really dont understand:
>> Why dont such program segment use collision detection ?

> The use under discussion, I think, is the history file.  On most servers
> (those with many incoming feeds), the majority of the accesses to the
> hashtable are going to be hits.  True hits, not collisions.  If you take
> every one of those and supplement it with a string-compare operation,
> the speed of your server is going to suffer from it.

Even that could be dealt with; the real killer is that the message ID is
of variable length.  That makes it damnably hard to index, unless you want
to devote enough space to the index to account for the maximal allowable
message ID length.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <yln0lvjks1.fsf@windlord.stanford.edu>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <40478.h13202@archiver.winews.net> <1rd6mw2ip4.fsf@vingodur.ifi.uio.no> <4bFW9.57143$1q3.8030@sccrnsc01> <4333a.k1320l@archiver.winews.net> <b0ib1m$g71$7@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <yln0lvjks1.fsf@windlord.stanford.edu>
Subject: Re: One million new groups - what happens then ?
Date: Mon, 20 Jan 2003 18:31:42 -0800
From: Russ Allbery <rra@stanford.edu>
References: <40478.h13202@archiver.winews.net> <1rd6mw2ip4.fsf@vingodur.ifi.uio.no> <4bFW9.57143$1q3.8030@sccrnsc01> <4333a.k1320l@archiver.winews.net> <b0ib1m$g71$7@puck.litech.org>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 23
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1043116302 2284 171.64.13.23 (21 Jan 2003 02:31:42 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:Et8Bn2/f6bTzfpaCvtsi8PL+cMM=