开发者

Can I ask azure for the status of other instances in my role?

If i enumerate role.instances that just shows the static role configuration. I.e if I take down an instance the enumerate results are still the s开发者_如何学Came


You can use internal endpoints to communicate with each instance. You define these in the service definition files of your roles and then communicate using the RoleEnvironment.Roles[] and instances. The HelloFabric Sample shows how you can do this. You can also read about the pattern on the Windows Azure Blog.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜