I recently read a book by Google’s head guy on API design that was specifically about designing APIs and it had a big section on what makes a good identifier and why people reach for UUIDs and why specifically it is a problem on multiple levels. The thing that he ended up recommending however was super interesting in that I had never seen it mentioned before but it was basically to use this instead http://www.crockfo…
Would you happen to have a link to the book?
UUIDs are popular, but bad for performance (2019)
201–210 of 246 posts
Re: UUIDs are popular, but bad for performance (2019)
#202Earlier quoted context omitted.
People in my industry in my country has specifically avoid using B and D together as they sound too similar over the phone. Also 2 and Z can be similar in writing. However it is nice to not see 0 and O, 1,I,l in the same string.
You still have to know that 0 is 0 and not O, and that 1 is 1 and not I or l.
Re: UUIDs are popular, but bad for performance (2019)
#203Re: UUIDs are popular, but bad for performance (2019)
#204Earlier quoted context omitted.
People in my industry in my country has specifically avoid using B and D together as they sound too similar over the phone. Also 2 and Z can be similar in writing. However it is nice to not see 0 and O, 1,I,l in the same string.
If you're worried about clarity over the phone, you should look into the NATO phonetic alphabet: https://en.wikipedia.org/wiki/NATO_phonetic_alphabet
Re: UUIDs are popular, but bad for performance (2019)
#205Earlier quoted context omitted.
I never understood why people would use sequential UUIDs. That rather defeats the purpose of a UUID. If you need something sequential then just use a much more simple number
Because simple integers are not universally unique, a major feature of UUIDs…
Re: UUIDs are popular, but bad for performance (2019)
#206Re: UUIDs are popular, but bad for performance (2019)
#207I recently read a book by Google’s head guy on API design that was specifically about designing APIs and it had a big section on what makes a good identifier and why people reach for UUIDs and why specifically it is a problem on multiple levels. The thing that he ended up recommending however was super interesting in that I had never seen it mentioned before but it was basically to use this instead http://www.crockfo…
I just added it to the "Other projects" section of my base converter. https://convert.zamicol.com/
Re: UUIDs are popular, but bad for performance (2019)
#208Earlier quoted context omitted.
I never understood why people would use sequential UUIDs. That rather defeats the purpose of a UUID. If you need something sequential then just use a much more simple number
Because simple integers are not universally unique, a major feature of UUIDs…
UUIDs are generally not guaranteed to be universally unique. The name is misleading marketing.
If you generate them randomly, then the probability of collision is small enough not to matter, but the more you introduce deterministic elements, like generating them sequentially, the more your probability of collision increases.
Re: UUIDs are popular, but bad for performance (2019)
#209Earlier quoted context omitted.
Because simple integers are not universally unique, a major feature of UUIDs…
Is this sarcasm? If you generate an incrementing-UUID then its predictability is going to make it not-universally unique too
Re: UUIDs are popular, but bad for performance (2019)
#210Earlier quoted context omitted.
Is this sarcasm? If you generate an incrementing-UUID then its predictability is going to make it not-universally unique too
That is…not what universally unique means.
Hard to achieve if everyone starts from 00000000-0000-0000-0000-000000000000.