Article View: news.software.nntp
Article #57565Re: Using Message-ID to store binary file information
From: Klaas
Date: Sat, 23 Mar 2002 02:18
Date: Sat, 23 Mar 2002 02:18
111 lines
5549 bytes
5549 bytes
Curt Welch <curt@kcwc.com> wrote in message news:20020322195941.840$tN@newsreader.com... > lordsnow@home.nl (=-lordsnow-=) wrote: > BTW, part two of this technology is the ability to post machine readable > re-post requests. By hitting a button, a user could send a re-post request > which lists the files he is currently missing segments for and the byte > ranges for the "holes" in his files. Newsreaders could automatically spot > download requsts for files which are in it's database, and show the list to > the user so if he wants to be nice and help with a repost request, he could > simply hit a button to do so. Only the "holes" would need to be re-posted, > though the user could decide to repost the entire file if it had not been > posted in a long time (the newsreader could even help keep track of that > stuff for everyone). Hopefully such requests will be human-readable too. Perhaps some internal checks could be made to make sure there aren't too many repost requests in the group or some such? I also worry about the fact that due to the unreliable nature of usenet transport, won't many/most bytes be requested by many people? It would be helpful to collect requests for a few days to get an idea of what is needed. I'm not totally against this idea, but it will definately have to be implemented carefully. > > That's what I been looking into. MD-5 seemed the obvious candidate > > because it's standard and fairly fast. NewsBinPro uses Ripe-MD/160+CRC16 > > for it's database. After looking around, I liked Tiger/192 - at least > > just as MD5 on 32-bit CPU's but 3 times faster on 64-bit CPU's, and the > ^fast as? > > > advantage of having a bigger hash. > > We wouldn't want to pick a hash that we out-grew in 10 years as the posting > volume continued to grow, so if there's a good 192 bit hash maybe we should > consider it. > > So back to the math. How many files do you have look at before the > probability of a collision hits 50% for MD5? Something near the > sqrt(2^128)? i.e. around 2^64? 2.171938e19 files. Awfully close (within 20% of) 2^64 ;). > I don't know how many files get posted to usenet on a typical day, but the > article count is around 1.5M per day now. I'd guess that maybe 1M of those > are text articles leaving around 500K binary articles. If the average > number of parts per file is 10, that puts the number of files per day > posted to Usenet around 50K (near 2^16). A year at that rate gets us to > 2^24 files (ignoring the number of files which are reposts of stuff > previously posted - which over a period as long as a year is probably very > significat.) > > So for todays volume, I think MD5 has more than enough headroom if my math > and my assumptions are valid. But how long into the future will it last? > The exponential growth of usenet causes a constant number of bits to be > added every year, but I have no figures on the growth rate of the number of > unique files being posted to usenet. But the growth rate of the volume is > on the order of magnatude of 1 bit per year (a little higher). And since > file size is growing as well, I would expect the growth rate of the number > of files to be quite a bit less than that. If it were 1/2 bit per year > (number of files doubles every two years), and we still have over 40 bits > of headroom with MD5, that means it could last 80 years before the odds of > two files posted to Usenet in the same year having the same MD5 reaches > 50%. And even when that happens, the odds that any one user would see that > as a problem will be a lot less. So, if MD5 does do a good job of creating > 128 well distributed bits, then it seems to me that it will have a much > longer lifespan than we need (A lifespan of 20 years seems more than enough > for any new standard for Usenet to me). As far as I can tell, your math is spot on. It's not like we're imposing a 640kB ceiling on RAM, right? ;p -Mike
Technical Details
Message-ID:
<a7gok1$l864t$1@ID-26705.news.dfncis.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!fr.usenet-edu.net!usenet-edu.net!fu-berlin.de!uni-berlin.de!shw50-97.accesscable.NET!not-for-mailReferences:
<200320021558402413%planb@newsreaders.com> <20020320174111.780$V8@newsreader.com> <200320022314345462%planb@newsreaders.com> <20020321022856.582$dC@newsreader.com> <210320021224366481%planb@newsreaders.com> <20020321125143.414$Wp@newsreader.com> <a7ddkd$j6s1m$1@ID-26705.news.dfncis.de> <3c9c54a2.1953960@news> <a7e4h9$kvunt$1@ID-26705.news.dfncis.de> <20020322023326.175$pl@newsreader.com> <3c9d13a7.6329505@news> <20020322142214.518$Xu@newsreader.com> <3c9baac6.13143333@news> <20020322195941.840$tN@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <a7gok1$l864t$1@ID-26705.news.dfncis.de> Subject: Re: Using Message-ID to store binary file information Date: Fri, 22 Mar 2002 22:18:09 -0400 From: "Klaas" <spamhole@klaas.ca> References: <200320021558402413%planb@newsreaders.com> <20020320174111.780$V8@newsreader.com> <200320022314345462%planb@newsreaders.com> <20020321022856.582$dC@newsreader.com> <210320021224366481%planb@newsreaders.com> <20020321125143.414$Wp@newsreader.com> <a7ddkd$j6s1m$1@ID-26705.news.dfncis.de> <3c9c54a2.1953960@news> <a7e4h9$kvunt$1@ID-26705.news.dfncis.de> <20020322023326.175$pl@newsreader.com> <3c9d13a7.6329505@news> <20020322142214.518$Xu@newsreader.com> <3c9baac6.13143333@news> <20020322195941.840$tN@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!canoe.uoregon.edu!arclight.uoregon.edu!fr.usenet-edu.net!usenet-edu.net!fu-berlin.de!uni-berlin.de!shw50-97.accesscable.NET!not-for-mail Newsgroups: news.software.nntp Organization: This is a valid mailbox Lines: 110 NNTP-Posting-Host: shw50-97.accesscable.net (24.138.50.97) X-Trace: fu-berlin.de 1016849858 22288541 24.138.50.97 (16 [26705]) X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200