🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61179

Re: Realistic length of message-id

#61179
From: Curt Welch
Date: Tue, 08 Oct 2002 18:54
19 lines
1857 bytes
avrombay@sville.com (ABS) wrote:
> Hi!
>
> I am creating a gateway to import messages into a database. How many
> characters should I allow for the Message-ID's? I was going to create
> an MD5 hash of each Message-ID's, but the possibility of collision is
> steering me away from that.

MD5 is more than enough.  The probability of a collision is many many
orders of magnatude smaller than the probability that a news article
will fail to make it into your database for other reasons.  Do you really
care that one article every million years fails to make it into your
database because of a collison when you are probably missing 100 articles a
day for other reasons?

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20021008145449.915$WR@newsreader.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <f6c487f3.0210080938.7e6f91f2@posting.google.com>

Show Full Headers
Complete Article Headers
Message-ID: <20021008145449.915$WR@newsreader.com>
Subject: Re: Realistic length of message-id
Date: Tue, 08 Oct 2002 18:54:49 +0000
From: curt@kcwc.com (Curt Welch)
References: <f6c487f3.0210080938.7e6f91f2@posting.google.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com no9QZc07TEi+gxeK8gDp_ENwE705LY=X.BUZXZ8K6AiTLVls
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 18