🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #21240

Re: Too many articles rejected as duplicate from Cyclone

#21240
From: Mark Hittinger
Date: Tue, 02 Sep 1997 00:00
41 lines
2055 bytes


Are these rejects or refuses? :-)

Jeff's idea that this is check/takethis oscillation is probably the
ticket but ...

If they are refuses then its possible that the cyclone hash function was
producing collisions.  If you have a lots of collisions then you need to strcmp
the message id to double check (ala Clayton's initial history cache patch).

If you have a weak hash, collide, and don't double check - then you may
refuse articles that you don't have.

If this is the case all they need to do is implement a stronger hash
function (like wider md5 or tiger) but this may require the history 
file to be larger and slow things down.

Clayton's latest snapshot keeps some of the wider md5 in memory for
faster determinations and does not appear to strcmp the message id
to double check.

I'm experimenting with a "new history" which keeps all of a 24 byte
tiger hash in the ".pag" file and does not do a strcmp of the message id.

I haven't decided which way is the right way to go yet but it is
looking like a major performance improvement for heavy innd sites
is in the cards.

The hope is that the collisions with these new hashes is low enough
that we will have an acceptable rate of bad refuses - like lottery
odds or better :-)

Regards,

Mark Hittinger
Netcom/Dallas
bugs@freebsd.netcom.com

Technical Details
Message-ID: <5uienv$81@dfw-ixnews1.ix.netcom.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: <x0wwkzbng0.fsf@pcjjsf.gmv.es> <5uhm3h$nhj$1@havoc.gtf.gatech.edu> <uek9gzs7xq.fsf@rama.esegi.es> <5uib3l$vtn$1@havoc.gtf.gatech.edu>

Show Full Headers
Complete Article Headers
Message-ID: <5uienv$81@dfw-ixnews1.ix.netcom.com>
Subject: Re: Too many articles rejected as duplicate from Cyclone
Date: Tue, 02 Sep 1997 00:00:00 +0000
From: bugs@freebsd.netcom.com (Mark Hittinger)
References: <x0wwkzbng0.fsf@pcjjsf.gmv.es> <5uhm3h$nhj$1@havoc.gtf.gatech.edu> <uek9gzs7xq.fsf@rama.esegi.es> <5uib3l$vtn$1@havoc.gtf.gatech.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!not-for-mail
X-Deja-AN: 269973638
Organization: Netcom
X-NETCOM-Date: Tue Sep 02 8:32:49 PM CDT 1997
Newsgroups: news.software.nntp