🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63454

Re: One million new groups - what happens then ?

#63454
From: Jeffrey M. Vinocur
Date: Tue, 21 Jan 2003 02:24
24 lines
1945 bytes
In article <4333a.k1320l@archiver.winews.net>,
Juergen Helbing <archiver@i3w.com> wrote:
>bugs@pu.net (Mark Hittinger) wrote:
>
>>Some uses of md5 hashes that I have seen have "truncated" or kept only
>>a portion of the hash in the "database" and therefore the chance of
>>collision in the shorter piece of hash is higher.
>
>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.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <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!lnsnews.lns.cornell.edu!news.litech.org!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>

Show Full Headers
Complete Article Headers
Message-ID: <b0ib1m$g71$7@puck.litech.org>
Subject: Re: One million new groups - what happens then ?
Date: Tue, 21 Jan 2003 02:24:54 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <40478.h13202@archiver.winews.net> <1rd6mw2ip4.fsf@vingodur.ifi.uio.no> <4bFW9.57143$1q3.8030@sccrnsc01> <4333a.k1320l@archiver.winews.net>
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!lnsnews.lns.cornell.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 23
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1043115894 16609 66.218.0.75 (21 Jan 2003 02:24:54 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Tue, 21 Jan 2003 02:24:54 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)