3 ms·
The Data Center ID has been in Snowflake IDs for a while. It's present in the original version of Snowflake that Twitter open sourced back in 2010 [0]. Looks li
by karlding 6y ago
The Data Center ID has been in Snowflake IDs for a while. It's present in the original version of Snowflake that Twitter open sourced back in 2010 [0]. Looks like it was added in this commit [1] from August 2010.
[0] https://github.com/twitter-archive/snowflake/blob/snowflake-2010/src/main/scala/com/twitter/service/snowflake/IdWorker.scala#L92 https://github.com/twitter-archive/snowflake/blob/snowflake-...
[1] https://github.com/twitter-archive/snowflake/commit/ba2e67ea1cc3321bc57ab4fa013800df96d30f44#diff-a8e6c5c455239de42d57b7230c4657ab46740c301b89c4aece2496f05b609dcf https://github.com/twitter-archive/snowflake/commit/ba2e67ea...