如何在队列长度增加时扩展微服务(服务结构)实例

how to scale microservice (service fabric) instance when queue length increass

https://azure.microsoft.com/en-us/documentation/articles/cloud-services-how-to-scale/

但是当队列长度增加时,我该如何扩展我的微服务。在 Azure Service Fabric 中有任何内置方式吗?

目前service fabric不支持autoscale,近期会支持:

service-fabric-cluster-scale-up-down

Auto-scale Service Fabric clusters

At this time, Service Fabric clusters do not support auto-scaling. In the near future, clusters will be built on top of virtual machine scale sets, at which time auto-scaling will become possible and will behave similarly to the auto-scale behavior available in cloud services.

[更新] Microsoft 刚刚发布了新的 Service Fabric SDK (1.5.175),支持 Azure Scale Sets。参考:https://blogs.msdn.microsoft.com/azureservicefabric/2016/02/23/service-fabric-sdk-v1-5-175-and-the-adoption-of-virtual-machine-scale-sets/