I still can’t get my head around the assertion that Guid is safe to use as a unique identifier. Wikipedia page says
The total number of keys … is so large that the probability of the same number being generated randomly twice is negligible.
My question is, how many Ids can I safely generate until the probability becomes not negligible? I mean, there has to be a limit, right (at most, the pigeonhole constraint)?
If the implementation of Guid generation varies, let’s assume .NET Guid.
I did a test run by myself and after one week and one terabyte of guids there was still no duplicate.
See here to have an idea of the probability.