Better HN
topnewbestaskshowjobs
Log inSign up

dokimorning

-4 karma · joined Oct 31, 2014 (12y ago) · 2 submissions

Submissions

comment 12y ago · link · parent

Ah. Thank you for clarifying that point. Seems 1 per 100 trillion records would be much more acceptable.

Also, to whoever downvoted my very first post here: Way to build a community @sshole. I'm never commenting here again thanks to you, jack@ss.

comment 12y ago · link · parent

It seems if he's planning to make 100 million records with a probability of 1 in 1 million of a collision, he's going to end up with ~100 collisions. I think I would plan to make the collision probability of N records at least < 1/N. Plus, one million records is really not so big.

I do like the point that UUIDs are generally stored as strings whereas they represent a 122 bit value. Seems encoding the UUIDs as binary would offer much greater efficiency in storage space as well as indexes.