You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/10/26 02:48:13 UTC

[GitHub] rabbah edited a comment on issue #4077: Fix bug of cal manged and blackboxes number

rabbah edited a comment on issue #4077: Fix bug of cal manged and blackboxes number
URL: https://github.com/apache/incubator-openwhisk/pull/4077#issuecomment-433268766
 
 
   This isn't actually a defect - it's true that 11 vs 10 is not perfect, but the reason for ceil/floor vs round is that for small number (say 2 invokers):
   
   ```
   Let newSize = 2 and blackboxFrac = 0.1.
   Current code:  managed = 2   blackboxes = 1
   This PR:  managed = 1   blackboxes = 1
   ```
   
   The point for small N up to the reciprocal of the fraction, both sets overlap.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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