a simple snowflake server for generating unique ids