You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/09/01 22:31:55 UTC

[GitHub] dgrove-oss opened a new pull request #2689: WIP on dynamic invoker id assignment

dgrove-oss opened a new pull request #2689: WIP on dynamic invoker id assignment
URL: https://github.com/apache/incubator-openwhisk/pull/2689
 
 
   A prototype of one possible approach for dynamic invoker registration.
   The invoker's instanceId is not provided on the command line on
   startup.  Instead, the invoker dynamically requests an id from
   the controller during its startup via the message bus (kafka).
   Once it receives an id, invoker startup continues unchanged.
   
   On the plus side, this protocol maintains the property that invokers
   are densely assigned ids starting from 0.  On the minus side, it takes
   an extra round of messages thus mildly delaying system startup.
   
   An alternative approach would be to use randomly generated UUIDs as
   the invoker's id and adapt the load balancer algorithm accordingly.
   Using UUIDs as invoker ids might make some aspects of operations
   slightly more annoying as well, as the invokers would not have
   stable (or short/easy to recognize) names.  This is a larger change,
   but I think it is possible to implement without too much trouble.
 
----------------------------------------------------------------
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