You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/05/12 03:19:03 UTC

[GitHub] [apisix] tokers commented on issue #4209: New feature suggestion: request-id plugin supports "snowflake" algorithm

tokers commented on issue #4209:
URL: https://github.com/apache/apisix/issues/4209#issuecomment-839402105


   > > timestamp bits: 38 (8 years, we can change the start point to 2021-01-01)
   > 
   > Or we could implement it like [sonyflake](https://github.com/sony/sonyflake) to change the time interval from 1ms to 10ms, and then we would have ~80 years. But not sure if 512 per 10ms is enough for us
   
   It' OK, as it's not possible that a single worker can handle about `51200` QPS.


-- 
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:
users@infra.apache.org