Article View: news.software.nntp
Article #16466Re: Checking ihave/check response speed on a server
From: Della Lu
Date: Sat, 29 Mar 1997 00:00
Date: Sat, 29 Mar 1997 00:00
30 lines
2230 bytes
2230 bytes
prl@algonet.se (Ragnar Lonn) writes: > In article <wH0Dfe07vAE@hana.demon.co.uk>, > Della Lu <dellalu@hana.demon.co.uk> wrote: > >Producing an MD5 hash of a Message-ID on a 486-66 PC takes an average > >of about 97 microseconds, which, when you are doing just a few hundred > >lookups per second is insignificant. > >A 32 bit CRC value has a 1 in 65536 (2^16) chance of a collision (using > >the birthday attack) a 128 bit MD5 Digest has a 1 in 18446744073709551615 > > Doing a hundred lookups per second, that would mean a collision would > occur every few billion years or so. I find that completely unacceptable ;) I think you misunderstand what the poster was suggesting they do with the digest. They were wanting to have the digest in the dbz which they could use as an assurance that they have got the have a match so they need do no extra checking (as INN checks now). If you used a 32 bit CRC and had 2625000 Message-IDs (1 week) currently in the system then there could be upto ~39 spurious matches for every good one in the database, whereas using a 128 bit Message-ID there would have to be 737 thousand quadrillion Message-IDs in the system before a similar situation happened. A 32 bit hash would fail upto 5 times a day, a 128 bit hash would fail on average every 130 billion years. The amount of articles does grow daily, so it might not last that long. -- Della Lu
Technical Details
Message-ID:
<IHxbFGM8vAE@hana.demon.co.uk>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-mailReferences:
<5hep9k$8a@epimetheus.algonet.se> <slrn5jo1j3.gct.coneill@blah.erols.com> <e7s0ww.2je@bigred.inka.de> <wH0Dfe07vAE@hana.demon.co.uk> <5hj5me$7nu@epimetheus.algonet.se>Show Full Headers
Complete Article Headers
Message-ID: <IHxbFGM8vAE@hana.demon.co.uk> Subject: Re: Checking ihave/check response speed on a server Date: Sat, 29 Mar 1997 00:00:00 +0000 From: Della Lu <dellalu@hana.demon.co.uk> References: <5hep9k$8a@epimetheus.algonet.se> <slrn5jo1j3.gct.coneill@blah.erols.com> <e7s0ww.2je@bigred.inka.de> <wH0Dfe07vAE@hana.demon.co.uk> <5hj5me$7nu@epimetheus.algonet.se> 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: 229291043 X-Mail2News-Path: relay-7.mail.demon.net!relay-6.mail.demon.net!hana.demon.co.uk X-Mail2News-User: news@hana.demon.co.uk X-Read-In: news.software.nntp Newsgroups: news.software.nntp