IDWork icon indicating copy to clipboard operation
IDWork copied to clipboard

Twitter的 Snowflake的PHP版

Results 4 IDWork issues
Sort by recently updated
recently updated
newest added

算法有问题。 ``` static $workerIdShift = 10; static $timestampLeftShift = 14; ``` 这个应该分别是: ``` static $workerIdShift = 22; static $timestampLeftShift = 12; ``` 因为: 63 - 41 =22 63 - 51...

集群部署,怎么保证时间同步,有什么好的解决方案吗