Sortable ID generator based on UUIDv7 with millisecond resolution
36 bits of unixts enables timestamps of 2177.59 years from 1970
(2*36)/(1606024*365.25) ~= 2177.59 years
Which means it will work until the year 4147
12 bits seq enables 4096 ids per millisecond
After 4096, it rolls over
Sortable ID generator based on UUIDv7 with millisecond resolution 36 bits of unixts enables timestamps of 2177.59 years from 1970 (2*36)/(1606024*365.25) ~= 2177.59 years Which means it will work until the year 4147 12 bits seq enables 4096 ids per millisecond After 4096, it rolls over