Article View: news.software.nntp
Article #63142Re: Is this a valid Message-ID?
From: Curt Welch
Date: Wed, 15 Jan 2003 00:48
Date: Wed, 15 Jan 2003 00:48
82 lines
5551 bytes
5551 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > [Curt Welch]: > > > > The number of bits in the Message-ID only needs to be large enough > > to make the "message-lost-because of a dup Message-ID" problem be > > significant less than all the other problems which cause messages > > to be lost. If 1 message a day is lost (and that's way below what > > really happens), then that's 1 out of 2 million. And if > > "significant less" means 1 out of a million, then the acceptable > > collision rate is around 1 out of 10^12. So, because of the > > birthday paradox issue, you need a random space size of 10^24 or > > so, which is the same as 2^80. So all you need is around 80 bits > > of randomness in each message ID to make the probablitly that a > > message is lost because of dup message-ids to be a million times > > smaller than all the other reasons they get lost. Or, that's 14 > > base64 characters: > > > > <u72Kekf0kDjmfZ> > > in the above calculations you are assuming that traffic levels > (measured in number of articles) won't increase. It doesn't actually. It assume that the % articles lost for other reasons will stay about the same even when traffic increases and it assumes that being 6 powers of 10 below that will always be enough spacing in the dynamic range between the noise floor of Usenet and the noise floor caused by messiage-id collision. > imagine if the > original NNTP draft made recommendations based on the traffic at the > time :-) If you came up with the same 1 out of every 2,000,000 articles lost it makes no difference what the traffic level was. That would be more like 1 article per year instead of 1 per day, but the noise level is the same. If you decided that 1 out of every 10,000 was "lost" for other reasons instead of 1 out 2,000,000 then you could justify a much shorter Message-ID. > you also forgot to include the timestamp. Not needed. There was no time assumption made. I used 1 day simply as a way to estimate the article loss rate for Usenet (1 per day). I could have said 365 per year and come up with the same number of bits required. The assumption I made was that articles are normally lost on usenet at a rate of 1 out of every 1,000,000. As long as that doesn't change, then the number of random bits you need in the Message-ID won't change. I suspect however that as Usenet grows, that rate actaully gets worse, so the number of bits you in fact need in the Message-ID goes down. That seems very counter intuitive, but I suspect it could be true. > anyway, this is nitpicking. another character will handle an > eightfold increase in traffic, so add two, and use a three character > timestamp, and it will still be the same length as the RHS alone in > the msgid of this message. If the noise level was actually going down as volume increased (maybe it does), then you would probably need to add a fixed number of bits every year. But this is based on article counts, not bytes, and the article count has never increased as fast as the byte count has. It's only doubled in about 5 years I think. And if the noise level is cut in half when the article count doubles, then you only need about 1 extra bit every 10 or so years or doubling that 1 bit every 5 years. So if you were not to add any more bits in 50 years, you would be 10 bits short of what you would need to maintain your 1/1,000,000 odds of a collision below the noise floor. Which means you would only be what, 2^20-5 bits or 2^15 or 1 out of 32,000 below the floor if you didn't add any more bits over the next 50 years. So 1 out of every 32,000 articles lost would be lost because of a Message-ID collision instead of being lost for other reasons in the year 2050 if you the lost article rate went down that fast and you didn't add extra bits to the Message-ID. But I suspect the lost article rate will only increase over time as usenet gets larger and there are more differnent versions of software trying to interact with each other, and the net as a whole is larger making average paths longer etc. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20030114194849.847$PM@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!cyclone.bc.net!sjc70.webusenet.com!rip!news.webusenet.com!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<4o6cfxfd2.ln2@thune.mrc-home.org> <1rvg0sbd7t.fsf@vingodur.ifi.uio.no> <8dqRqDeocDD@3247.org> <20030114132134.418$09@newsreader.com> <yld6mz8s6f.fsf@windlord.stanford.edu> <20030114171106.956$rG@newsreader.com> <1r7kd7uym7.fsf@glesvat.ifi.uio.no>Show Full Headers
Complete Article Headers
Message-ID: <20030114194849.847$PM@newsreader.com>
Subject: Re: Is this a valid Message-ID?
Date: Wed, 15 Jan 2003 00:48:50 +0000
From: curt@kcwc.com (Curt Welch)
References: <4o6cfxfd2.ln2@thune.mrc-home.org> <1rvg0sbd7t.fsf@vingodur.ifi.uio.no> <8dqRqDeocDD@3247.org> <20030114132134.418$09@newsreader.com> <yld6mz8s6f.fsf@windlord.stanford.edu> <20030114171106.956$rG@newsreader.com> <1r7kd7uym7.fsf@glesvat.ifi.uio.no>
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!cyclone.bc.net!sjc70.webusenet.com!rip!news.webusenet.com!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 tF1RwG@4,lSYOnHH,xzfH4KwfVkmixgWYgD.TXFMfYhz4R
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: 81