Article View: news.software.nntp
Article #16469Re: 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
26 lines
1762 bytes
1762 bytes
Olaf Titz <olaf@bigred.inka.de> writes: > Clayton O'Neill <coneill@oneill.net> wrote: > > time. The reason being that history lookup hits have to also look in > > the history test file, not just the dbz, to verify a hit. Perhaps it > > would be beneficial to incorporate a md5 of the message-id into the > > dbz value that is returned on a lookup hit along with the offset. I > > would be willing to trust > > MD5 is _much_ too slow for that purpose. A simple CRC would also give > the needed protection against hash collisions, but I doubt even that's > worth it. 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 (2^64) chance of collision. A 32 bit CRC would be a waste of time to implement. -- Della Lu
Technical Details
Message-ID:
<wH0Dfe07vAE@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>Show Full Headers
Complete Article Headers
Message-ID: <wH0Dfe07vAE@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> 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: 229154417 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