dickens7 edited a comment on issue #4209:
URL: https://github.com/apache/apisix/issues/4209#issuecomment-839870677


   the first bit should stay at 0 and actually only use 63bit
   
   Sonyflake definition
   ```
   39 bits for time in units of 10 msec
   8 bits for a sequence number
   16 bits for a machine id
   ```
   
   You might need to fetch 2 bits to do a dial back, to deal with the time 
callback problem
   
   ```
   39 bits for time in units of 10 msec
   8 bits for a sequence number
   2 bits for back to dial
   14 bits for a machine id
   ```
   The start_time is designed to be configurable


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to