Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
JsonBoa29912yFacebook can't use unsigned int, it can't represent negative numbers. And they have negative users in the "metaverse"
-
@Lensflare technically correct would be UUID V4, though GUID has changed the definition a bit... So it's not a fully compliant UUID v4.
@kiki don't let them fool you.
UUID / GUIDs are a problem in itself regarding storage and partitioning.
Integers make this far easier.
You want partitioning in that kind of range for sure. -
What about the time that we colonise the galaxy mod everyone is using Facebook shit? Betcha they’d be needing more.
Best bet is a GUID on a noSQL DB I guess. -
i would call it "future-proofing"
people who were the cause for Y2K are not laughing, i would expect/assume.
Integer range is 2,147,483,647. Facebook has 2.96B users. Facebook is the only company that graduated from int to unsigned int, which is 4,294,967,295.
And you're using bigint as an id for the “users” table. I just laugh.
random