You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2019/12/24 13:05:15 UTC

[GitHub] [incubator-brpc] lichuang opened a new issue #1001: what is the theory behind OFFSET_TABLE?

lichuang opened a new issue #1001: what is the theory behind OFFSET_TABLE?
URL: https://github.com/apache/incubator-brpc/issues/1001
 
 
   when i read brpc source,i see the OFFSET_TABLE array, it used to calculate _steal_offset,and my question is:what is the theory behind OFFSET_TABLE(offset_inl.list)?Is the const int in this array has any math meaning?

----------------------------------------------------------------
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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] lichuang closed issue #1001: what is the theory behind OFFSET_TABLE?

Posted by GitBox <gi...@apache.org>.
lichuang closed issue #1001: what is the theory behind OFFSET_TABLE?
URL: https://github.com/apache/incubator-brpc/issues/1001
 
 
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] cdjingit commented on issue #1001: what is the theory behind OFFSET_TABLE?

Posted by GitBox <gi...@apache.org>.
cdjingit commented on issue #1001: what is the theory behind OFFSET_TABLE?
URL: https://github.com/apache/incubator-brpc/issues/1001#issuecomment-568759089
 
 
   Same as algo of rr load balancer . All the numbers in the array are prime number.

----------------------------------------------------------------
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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org