Link Twitter opensource component - Snowflake

Snowflake is a network service for generating unique ID numbers at high scale with some simple guarantees.