🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57557

Re: Using Message-ID to store binary file information -- Alternateprobability calculation

#57557
From: Klaas
Date: Fri, 22 Mar 2002 23:39
51 lines
3339 bytes
Russ Allbery <rra@stanford.edu> wrote in message
news:ylwuw4cl24.fsf@windlord.stanford.edu...
> Klaas <spamhole@klaas.ca> writes:
>
> > This is where my expertise ends.  If someone has data estimating
the
> > number of files posted daily to usenet and how even a distribution
MD5
> > is, it would be helpful.  I could throw up a few graphs on the web
> > comparing the bit sizes, too.
>
> A good rough estimate for these sorts of back of the envelope
calculations
> would probably be around one million files a day.  I think it's
actually
> likely an order of magnitude less than that, but that may be
optimistic; I
> no longer participate much in the binary Usenet and it's been
growing
> fast.  One million shouldn't be off by *too* much, probably errs on
the
> side of caution, and it's a nice, round number convenient for doing
math
> with.

I think you're right that it's about an order of magnitude less.
There are around 1 to 2 million headers a day, right?  Text accounts
for say 1.5GB day, assuming 3k article that's 500k messages.  If most
of the binaries are in multi-parts that's around 100-200k files a day.
But 1 million is a safe number, especially when factoring in future
expansion, as you suggest.

> Native MD5 is a 128-bit hash.
>
> MD5, as a cryptographically strong hash, is going to be evenly
distributed
> or close enough for the purposes of this exercise.  That's pretty
much a
> prerequisite for something to be a cryptographically strong hash.

Sounds good.  I threw together a graph of hash bits vs file count to
get a general view of the situation.  Note that these are lower bounds
on the probabilities, since the formula 1 - exp ( x(x-1)/2^(n+1)) was
used to calculate the probability.

http://usenet.klaas.ca/hash.jpg

-Mike


Technical Details
Message-ID: <a7gf9o$l3a4n$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!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!shw50-97.accesscable.NET!not-for-mail
References: <180320022351466617%planb@newsreaders.com> <20020320140409.897$WW_-_@newsreader.com><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><a7g6q8$l3t6e$1@ID-26705.news.dfncis.de> <ylwuw4cl24.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <a7gf9o$l3a4n$1@ID-26705.news.dfncis.de>
Subject: Re: Using Message-ID to store binary file information -- Alternateprobability calculation
Date: Fri, 22 Mar 2002 19:39:02 -0400
From: "Klaas" <spamhole@klaas.ca>
References: <180320022351466617%planb@newsreaders.com> <20020320140409.897$WW_-_@newsreader.com><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><a7g6q8$l3t6e$1@ID-26705.news.dfncis.de> <ylwuw4cl24.fsf@windlord.stanford.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!shw50-97.accesscable.NET!not-for-mail
Newsgroups: news.software.nntp
Organization: This is a valid mailbox
Lines: 50
NNTP-Posting-Host: shw50-97.accesscable.net (24.138.50.97)
X-Trace: fu-berlin.de 1016840312 22128791 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