flexid v0.1.1 API Reference
Modules
Generator for distributed time-based ids. Ids are composed of 4 value:
- time in ms
- rolling sequence counter
- partition used to segratate ids; this could be hard-coded by node or geo-region or be a hash to shard data by user
- Luhn mod 16 checksum to check for incorrectly typed ids