perryibm commented on issue #2360: Choose target invoker based on specific invoker load. URL: https://github.com/apache/incubator-openwhisk/pull/2360#issuecomment-307815527 In going over this Markus, a couple of issues came up and are worth repeating here for review purposes in case we missed our intent. 1. The computation of co-primes is dynamic because the number of invokers is changed. Yet it is too slow to compute in the inner loop for each activation. Memoization overcomes the overhead. 2. The explicit introduction of `1` in the stepSizes is needed because for N = 2 (for example), we must include it for completeness. Inclusion must be separate due to the way the sieve works. 3. The `until x` excludes x which is important if x (number of invokers) happens to be prime. ---------------------------------------------------------------- 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: [email protected]
With regards, Apache Git Services
