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/08/08 01:25:08 UTC

[GitHub] tysonnorris opened a new pull request #2584: SPI for Loadbalancer

tysonnorris opened a new pull request #2584: SPI for Loadbalancer
URL: https://github.com/apache/incubator-openwhisk/pull/2584
 
 
   To allow deployments to customize the Loadbalancer impls. Currently same Loadbalancer is used for all traffic, but future enhancements could use multiple load balancers for different traffic patterns.
   
   Default is whisk.core.loadBalancer.LoadBalancerServiceProvider, which wraps the existing LoadBalancer impl  (Kafka + InvokerPool) behind the SPI for instantiation.
   
   To decouple up the SPI interface for LoadBalancer from implementation details, no ArtifactStore stores are passed as parameters into LoadBalancerService anymore. CouchDbStoreProvider caches stores by name, so they can be fetched via SPI in multiple places and resolve to the same store instance.  Now LoadBalancerService can do `WhiskEntityStore.datastore(config)` to acquire the entityStore.
 
----------------------------------------------------------------
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