Otter@lemmy.ca to Programming@programming.devEnglish · 5 months ago8 versions of UUID and when to use themwww.ntietz.comexternal-linkmessage-square26fedilinkarrow-up1117arrow-down12
arrow-up1115arrow-down1external-link8 versions of UUID and when to use themwww.ntietz.comOtter@lemmy.ca to Programming@programming.devEnglish · 5 months agomessage-square26fedilink
minus-squareRonSijm@programming.devlinkfedilinkarrow-up1·5 months agobase63? I’d guess you’d mean base64? Anyways, doesn’t that fuck with performance? I’m using this in production: RT.Comb - That still generates GUIDs, but generates them sequential over time. Gives you both the benefits of sequential ids, and also the benefits of sequential keys. I haven’t had any issues or collisions with that
minus-square𝙲𝚑𝚊𝚒𝚛𝚖𝚊𝚗 𝙼𝚎𝚘𝚠@programming.devlinkfedilinkarrow-up1·5 months agoIt’s Base62 actually, misremembered that. It’s to avoid some special characters iirc. And no, performance is fine. We’re using this: https://github.com/TheArchitectDev/Architect.Identities
base63? I’d guess you’d mean base64?
Anyways, doesn’t that fuck with performance?
I’m using this in production: RT.Comb - That still generates GUIDs, but generates them sequential over time. Gives you both the benefits of sequential ids, and also the benefits of sequential keys. I haven’t had any issues or collisions with that
It’s Base62 actually, misremembered that. It’s to avoid some special characters iirc. And no, performance is fine.
We’re using this: https://github.com/TheArchitectDev/Architect.Identities