On Wed, Apr 20, 2011 at 6:24 AM, Tim Meadowcroft <meer...@gmail.com> wrote:

>
> I think you can only really rely on IDs having different values.
>
> In general, at the moment with Twitter, you could assume they increase over
> time, but (and I don't work for Twitter) typically ID allocation on large
> multihost systems don't work by allocating strictly sequential IDs without
> gaps - it's too hard to sequence and not really necessary.
>

Yes, this is how they do it.

https://github.com/twitter/snowflake

/damon

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to