Skip to content

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

typescript_snowflake

Snowflake implementation in typescript

A distributed monotone incremented Identifier generate algorithm

format

timestamp shardId seqId
timestamp difference in millisecond(41bit) shardId(10bit) seqId(12bit)

functionality

  1. in 1 millisecond could generate 2^12 different id

  2. if more than 2^12 request in 1 millisecond, this service will block this request

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages