3 ms·
Please don't use the akhawaja ksuid generator for Java unchanged. We used it at my last job until we realized 1. the Base62 code is not thread-safe (it uses a s
by cratermoon 6y ago
Please don't use the akhawaja ksuid generator for Java unchanged. We used it at my last job until we realized 1. the Base62 code is not thread-safe (it uses a static StringBuilder) and more importantly 2. The epoch used is different from the standard, so the generated ksuid aren't portable.
Use https://github.com/ksuid/ksuid https://github.com/ksuid/ksuid insteads
- halfmatthalfcat 6y agoGood to know, thanks.