Syringe.Net.Nz
Irregular Injection of Opinion
RSS 2.0|Atom 1.0|CDF

 Wednesday, April 08, 2009
Buffering Requests to On-Premise Systems via Windows Azure Worker Roles

So at almost all the Windows Azure events I’ve run around the world recently we’ve always gotten into a discussion about hooking Windows Azure applications up to on-premise systems. Indeed in a recent demo I wrote for a CRM + Windows Azure session I showed how to wire up Windows Azure applications to your on-premise CRM server. Often you’ll be using the cloud for what I call forward processing.

image

You should use caution here. Your Windows Azure application has the ability to scale almost infinitely. Your on-premise application does not. If you wire your Windows Azure web role directly to your on-premise system, say by making a direct Web Service call, and then your site gets slash dotted you’ve basically built your self a massive cloud hosted Distributed Denial of Service engine!

What you need to ensure that you do is buffer all of your requests from the cloud to your on-premise system via a queue of some sort. You may choose to use a Windows Azure Storage Queue for this or you may choose to use the new Queue and Router capabilities in the .NET Service bus. This means that if your Azure Web Role suddenly gets a huge amount of traffic the requests to your back end system will be queued and processed only as fast as the on premise application is able to handle them- the last thing you want is for a simple client self service application in the cloud to bring down a core business application on premise.

Obviously doing this is going to require that the call to the backend system is capable of being made asynchronously. If it’s a one way operation then it’s easy, if it’s a two way operation then getting data back to your user is generally going to be a case of having your worker role right back to to an Azure Table or indeed having a notification queue for each user that your worker role can enqueue the result onto.

image

In summary: If you wire your Windows Azure application directly to your on-premise application you are dicing with danger.

Windows Azure|Wednesday, April 08, 2009 12:02:09 AM UTC|Comments [2]|    
Thursday, May 21, 2009 2:44:18 PM UTC
Hi guys. After the last of 16 mounting screws has been removed from an access cover, it will be discovered that the wrong access cover has been removed. Help me! I find sites on the topic: drug treatment center jobs. I found only this - drug rehabilitation treatment. Oasis treatment center provides programs for drug, alcohol abuse, rehabilitation, program content. Recovery alternatives to alcohol drug addiction, substance abuse, alcoholism or alcohol but just can seem to quit with the current treatment practices. Thank :cool: Hilliard from Cyprus.
Wednesday, June 24, 2009 7:04:08 PM UTC
Greeting. Censorship, like charity, should begin at home; but, unlike charity, it should end there. Help me! Looking for sites on: Cheapest cialis price. I found only this - find cheap cialis. medical diagnosis cialis tadalafil mg. Generic cialis, tadalafil generic cialis, tadalafil mg soft tablet. Waiting for a reply ;-), Edythe from Palestinian.
All comments require the approval of the site owner before being displayed.
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, b, em, i, strike, strong, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview