4 ms·
But how do you ensure that it is unique?
by wereHamster 11y ago
But how do you ensure that it is unique?
- stevecalifornia 11y agoYou will have a mapping table: Public_Guid, Private_ID Every request has to convert the public, non-guessable GUID into the private ID that will be used in the lookup query.
- silverlake 11y agoTwitter's Snowflake, though it's gone now. The principle is the same. https://github.com/twitter/snowflake https://github.com/twitter/snowflake.