azure-worker-roles

service definition vs service configuration in Azure cloud services

旧街凉风 提交于 2021-02-08 04:51:25
问题 Does anyone know what the difference is between these two? I've looked and can't seem to find a page that has a clear description of how they are different. The way Microsoft explains the two of them is very vague. Definition documentation The file contains the definitions for the roles that are available to a cloud service, specifies the service endpoints, and establishes configuration settings for the service. Configuration documentation specifies the number of role instances to deploy for

Setting the OperationTimeOut property for a Service bus worker role

倖福魔咒の 提交于 2021-02-07 17:26:33
问题 I am creating a worker role using the service bus worker role template. It is taking more than a minute for me to process each message. Because of this, i am seeing that the same message is received by the worker role multiple times, roughly one message every minute. I figured that this is because this value defaults to 60 seconds. http://msdn.microsoft.com/en-us/library/microsoft.servicebus.messaging.messagingfactorysettings.operationtimeout.aspx But I am not sure how to increase this value,

Single input endpoint can be accessed in different worker role

风流意气都作罢 提交于 2021-02-05 09:11:47
问题 I have a input endpoint(name - 23456), Can i access the 23456 endpoint into different worker role? For eg :- In "23456" endpoint, i have this data's 23,34,45,56,78 . Worker roles - "A" and "B" When i access the endpoint through "A" worker role, i will get 23 as values. When i access the endpoint through "B" worker role, What value i will get 34 or 23? I could like to understand the working flow of input endpoint. Please help me to understand. 回答1: Input endpoints are load-balanced across all

RestartManager causes worker role to restart

依然范特西╮ 提交于 2020-01-30 07:53:05
问题 lately we encountered the problem that our Azure Worker Role service restarts almost every day. This is a huge problem for us, since our service needs around 20 minutes to initialize and these restarts can cause downtimes. I logged in to the instances via RDP and looked in the event logs to figure out what was causing these seemingly random restarts. I came accross a few entries that always preceded a restart: The service installed by the MsiInstaller is "Windows Azure Remote Forwarder". I

Where in the file system is a Worker Role's Local Storage?

本小妞迷上赌 提交于 2020-01-16 15:21:10
问题 I've created a log file in a Worker Role, which is being stored in Local Storage. Where in the file system of the instance can I find that log now? IOW, where is the root of Local Storage for a worker role? 回答1: To find the path of the local storage, you can use LocalResource.RootPath. This will give you the full directory path of the local storage resource. For example: try { LocalResource myConfigsStorage = RoleEnvironment.GetLocalResource("local-resource-setting-name"); string s = System

WCF service over HTTP in an Azure worker role?

Deadly 提交于 2020-01-13 17:09:53
问题 I understand that you are able to open port 80 on an Azure worker role and run a WCF service publicly. I am, however, having trouble coming up with a scenario where it makes more sense to do it this way as opposed to running in a web role. Any ideas? 回答1: A WCF service hosted in a worker role will essentially be self-hosted: From your OnStart(), you'd create a new ServiceHost() and go from there. A WCF service hosted in a web role would be taking advantage of IIS to host the service, as an