Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 477 Bytes

readme.md

File metadata and controls

18 lines (12 loc) · 477 Bytes

Snowflake.Net

Latest version

Usage

var worker = new IdWorker(1, 1);
long id = worker.NextId();

IdWorker should be instantiated once.Otherwise,there will be repeat.

A port of Twitter's Snowflake algorithm to C#.

Snowflake is a service for generating unique ID numbers at high scale.

License

Apache 2.0