No.
This could potentially be the shortest blog post ever written, and the short mathematically accurate answer is “no”. A GUID (globally unique identifier) is a 32 character sequence of alphanumeric (letters or numbers). They are useful to developers because, in theory when generated, no GUID like this has been generated before, nor will another be generated again.
However, for anyone who understands what “always forever” means in math, this should immediately ring false. There is a limit to the number of GUIDs that can be generated. However, that limit has a very high ceiling, and that’s what is so fascinating about them.
Bear with me through a little math for a moment. GUIDs are generated using 6 fixed bits and 122 random bits1. The fixed bits contain the version of the GUID generation algorithm being used, and previously contained the machines MAC address (though this was changed as it exposed a privacy hole where one could locate the machine a GUID was generated at). This means there are 2^122, or 5.2 x 10^361, or about 5 trillion trillion trillion unique GUIDs.
Statistically, it’s a very safe assumption to expect that a generated GUID is totally unique across all systems for all time, which blows my mind. You are being provided something seemingly mathematically impossible. Something (almost) unique, but something that we can tangibly touch and view, within the confines of just 32 alphanumeric characters.
I like to think that every time I programmatically generate a GUID that I’m going to some giant reservoir at the center of the Universe that contains all GUIDs and stealing one. However, emptying this reservoir would actually be more feeble than going to the ocean2 and trying to empty it by taking out one droplet water at a time (mathematically actually, about 200 trillion times as feeble, since by size comparison every drop of water in the ocean would represent 200 trillion GUIDs).
Every once in awhile I stare at a list of generated test data containing GUIDs in a bit of awe. I feel a slight sense of loss when deleting that test data knowing the likelihood of any one of those exact GUIDs being generated is less likely than winning the lotto 6/49 jackpot 5 times in a row3. So I commend you to all, developer or not, to respect the GUID. It is a way of glimpsing at a tiny corner of infinity, which even in this reduced format is quite a phenomenon to ponder.
Want to take one away from the universe?
You already have (refresh the page to take more):
%CODE1%
References:
Stack overflow for some initial inspiration, here
1 ^ http://en.wikipedia.org/wiki/Globally_unique_identifier
2 ^ Calculated using the oceans volume from http://oceanservice.noaa.gov/facts/oceanwater.html
3 ^ Calculated using the probability referenced at http://www.moneysense.ca/spend/how-to-win-the-lottery-2
71 replies on “Are GUIDs actually unique?”
Who watched blackpinks new albume and MV its amazing
To the tylerfindlay.com administrator, Your posts are always well organized and easy to understand.
Dear tylerfindlay.com webmaster, Your posts are always well-referenced and credible.
To the tylerfindlay.com admin, Your posts are always well received by the community.
Dear tylerfindlay.com webmaster, Your posts are always a great source of information.
Hello tylerfindlay.com administrator, Good to see your posts!
To the tylerfindlay.com admin, Keep up the good work!
To the tylerfindlay.com webmaster, Your posts are always insightful and valuable.
Hi tylerfindlay.com admin, Thanks for the well written post!
Hi tylerfindlay.com admin, You always provide great resources and references.
To the tylerfindlay.com webmaster, Thanks for the well written post!
Hello tylerfindlay.com webmaster, Thanks for sharing your thoughts!
To the tylerfindlay.com admin, Thanks for the informative post!
Hello tylerfindlay.com webmaster, Great job!
I want to thank you for your assistance and this post. It’s been great.
Dear tylerfindlay.com owner, Excellent work!
Hi tylerfindlay.com webmaster, Your posts are always informative and well-explained.
Hello tylerfindlay.com webmaster, Your posts are always well-supported by facts and figures.
Hello tylerfindlay.com webmaster, Your posts are always well-supported by research and data.
To the tylerfindlay.com owner, Thanks for the great post!
It’s appropriate time to make some plans for the future and it’s time to be happy. I have read this post and if I could I wish to suggest you some interesting things or tips. Perhaps you can write next articles referring to this article. I wish to read more things about it!
To the tylerfindlay.com admin, Your posts are always well received by the community.
Hi tylerfindlay.com admin, Keep up the good work, admin!
To the tylerfindlay.com administrator, Your posts are always informative and up-to-date.
Amazing! This blog looks just like my old one! It’s on a completely different subject but it has pretty much the same layout and design. Wonderful choice of colors!
Hello tylerfindlay.com admin, Thanks for the in-depth post!
To the tylerfindlay.com owner, Thanks for the comprehensive post!
Dear tylerfindlay.com owner, Your posts are always well-referenced and credible.
To the tylerfindlay.com owner, You always provide key takeaways and summaries.
Hello tylerfindlay.com webmaster, Your posts are always informative and well-explained.
Hi tylerfindlay.com owner, Thanks for the educational content!
Hello tylerfindlay.com admin, Thanks for the comprehensive post!
Hello tylerfindlay.com admin, Your posts are always well structured and easy to follow.
To the tylerfindlay.com administrator, Nice post!
Hello tylerfindlay.com webmaster, Your posts are always well presented.
Dear tylerfindlay.com webmaster, Good job!
To the tylerfindlay.com owner, Your posts are always well presented.
Hello tylerfindlay.com owner, You always provide great examples and real-world applications.
Hello tylerfindlay.com owner, Your posts are always on topic and relevant.
canadapharmacy com
Dear tylerfindlay.com webmaster, Your posts are always a great source of knowledge.
Have you ever considered writing an ebook or guest authoring on other websites? I have a blog centered on the same subjects you discuss and would love to have you share some stories/information. I know my viewers would enjoy your work. If you are even remotely interested, feel free to shoot me an e mail.
the canadian pharmacy
canadian pharmacies list
canadian pharmacy shop
Hello tylerfindlay.com webmaster, Thanks for the well-structured and well-presented post!
canadian pharmacies online legitimate
When I originally commented I clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I get four emails with the same comment. Is there any way you can remove me from that service? Thanks!
canada pharmacies online
I don’t commonly comment but I gotta admit appreciate it for the post on this special one : D.
Hello tylerfindlay.com admin, Your posts are always insightful and valuable.
medications canada
pharmacy drug store
canadian pharmacies without an rx
pharmacy
price medication
Hello tylerfindlay.com admin, Your posts are always well-cited and reliable.
reputable canadian pharmacy online
legitimate canadian mail order pharmacy
I truly appreciate this post. I¦ve been looking all over for this! Thank goodness I found it on Bing. You have made my day! Thank you again
certified online canadian pharmacies
canadian drug pharmacy
Very nice post. I just stumbled upon your blog and wanted to say that I’ve really enjoyed browsing your blog posts. In any case I’ll be subscribing to your rss feed and I hope you write again soon!
canadian pharmacy online no prescription
Hello tylerfindlay.com owner, Your posts are always informative.
Dear tylerfindlay.com owner, Nice post!
You are my aspiration, I possess few web logs and rarely run out from to brand : (.
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me. https://www.binance.com/kz/register?ref=PORL8W0Z
baclofen over the counter baclofen 332 baclofen pill
fda approved canadian online pharmacies
Dear tylerfindlay.com administrator, Your posts are always well presented.