How does Twitter generate IDs?


#1

I’m really curious on how this happens. It seems in the early days tweets were sequential, but now adding or subtracting on a status page returns a 404.


#2

We use a ID generation service called Snowflake for most IDs these days: https://blog.twitter.com/2010/announcing-snowflake