azure-worker-roles

Get Azure public IP address from deployed app

ぐ巨炮叔叔 提交于 2019-12-23 03:33:30
问题 I'm implementing the PASV mode in a FTP server, and I send to the client the IP address and port of the data end point. This is stupid because the IP is actually where the client is already connecting, so there ire two options: How could I get the public IP address from a given instance? Not the VIP , but the public one. How could I get the original target IP address that the user used from a Socket object? Considering routers and load balancers in the middle :P An answer to any of this

Azure Compute Service worker becomes “busy” following scale-up

放肆的年华 提交于 2019-12-22 14:45:06
问题 I'm running one service in Azure with 4 worker instances. When I scale up to 5 worker instances the first instance that had started goes into the "busy" state. Why is that? What happens during scale up? Does azure re-run all the startup tasks? I'm very confused and can't seem to find any documentation on this. After scaling up to 5 instances the first instance changes its status to: Busy (Waiting for role to start... Application startup tasks are running. [2014-08-12T18:36:52Z]) And the java

Azure Compute Service worker becomes “busy” following scale-up

好久不见. 提交于 2019-12-22 14:45:06
问题 I'm running one service in Azure with 4 worker instances. When I scale up to 5 worker instances the first instance that had started goes into the "busy" state. Why is that? What happens during scale up? Does azure re-run all the startup tasks? I'm very confused and can't seem to find any documentation on this. After scaling up to 5 instances the first instance changes its status to: Busy (Waiting for role to start... Application startup tasks are running. [2014-08-12T18:36:52Z]) And the java

Facading Azure storage blob with sFTP service

别说谁变了你拦得住时间么 提交于 2019-12-22 05:04:49
问题 We have a requirement to create large (1G-16G) row data reports compress and encrypt them. Our customers will consume those reports over sFTP. We are replacing an existing implementation so our customer should get this change transparently. Azure Blob service does not expose sFTP service so we will need some way to facade it with sFTP service. Something similar to FTP to Azure Blob Storage Bridge based on worker role. The worker role will expose sFTP endpoint to the outside world. We will

Deploying Multiple Web Roles and Worker Roles on a Single Azure Cloud Service

旧时模样 提交于 2019-12-21 17:42:51
问题 This may not be new, but I hope some one can put me on right track as its bit confusing during azure deployment. I'm in the process of planning for deployment on Azure. This is what I have A Public facing ASP.Net MVC app (web-role) + WCF Service (web-role) to be accessible only to this asp.net app + WCF Service (worker-role) again accessible to 1. over message-queue An Custom STS i.e. ASP.NET MVC app (web-role) acting as Id-Provider (for 1. which is a Relying Party) + WCF Service (web-role)

Can a Worker Role process call Antimalware for Azure Cloud Services programmatically?

杀马特。学长 韩版系。学妹 提交于 2019-12-21 17:18:13
问题 I'm trying to find a solution that I can use to perform virus scanning on files that have been uploaded to Azure blob storage. I wanted to know if it is possible to copy the file to local storage on a Worker Role instance, call Antimalware for Azure Cloud Services to perform the scan on that specific file, and then depending on whether the file is clean, process the file accordingly. If the Worker Role cannot call the scan programmatically, is there a definitive way to check if a file has

Using SignalR in Azure Worker Roles

≯℡__Kan透↙ 提交于 2019-12-20 12:16:15
问题 I have an Azure hosted web application which works alongside a number of instances of a worker role. Currently the web app passes work to these workers by placing messages in an Azure queue for the workers to pick up. The workers pass status and progress messages back by placing messages into a 'feedback' queue. At the moment, in order to inform my browser clients as to progress, I make ajax based periodic polling calls in the browser to an MVC controller method which in turn reads the Azure

How do I detect unexpected worker role failures and reprocess data in those cases?

对着背影说爱祢 提交于 2019-12-20 03:36:07
问题 I want to create a web service hosted in Windows Azure. The clients will upload files for processing, the cloud will process those files, produce resulting files, the client will download them. I guess I'll use web roles for handling HTTP requests and worker roles for actual processing and something like Azure Queue or Azure Table Storage for tracking requests. Let's pretend it'll be Azure Table Storage - one "request" record per user uploaded file. A major design problem is processing a

How to create multiple threads in Windows azure worker role

时间秒杀一切 提交于 2019-12-18 11:33:50
问题 I want to do multiple operations in a single worker role. How to create threads in worker role? 回答1: You could add multiple workers in the WorkerRole::OnStart() as described here http://www.31a2ba2a-b718-11dc-8314-0800200c9a66.com/2010/12/running-multiple-threads-on-windows.html public class WorkerRole : ThreadedRoleEntryPoint { public override void Run() { // This is a sample worker implementation. Replace with your logic. Trace.WriteLine("Worker Role entry point called", "Information");

How to parallelize an azure worker role?

本小妞迷上赌 提交于 2019-12-14 04:25:56
问题 I have got a Worker Role running in azure. This worker processes a queue in which there are a large number of integers. For each integer I have to do processings quite long (from 1 second to 10 minutes according to the integer). As this is quite time consuming, I would like to do these processings in parallel. Unfortunately, my parallelization seems to not be efficient when I test with a queue of 400 integers. Here is my implementation : public class WorkerRole : RoleEntryPoint { private