3 ms·
you can have "id" Generatable at application level without using GUID. This is what twitter is doing "snowflake". It generate tens of thousands of ids per sec
by skyde 5y ago
you can have "id" Generatable at application level without using GUID.
This is what twitter is doing "snowflake".
It generate tens of thousands of ids per second.
Those id fit in 64 bits.
And those id are sortable, meaning that if tweets A and B are posted around the same time, they should have ids in close proximity to one another.
See: https://blog.twitter.com/engineering/en_us/a/2010/announcing-snowflake.html https://blog.twitter.com/engineering/en_us/a/2010/announcing...