Synchronous, Async and Parallel Programming Performance in Windows Azure

This post discusses the performance benefits of effectively using .NET TPL  when doing I/O bound operations. Intent When there is a need for non-synchronous programming pattern (asynchronous and/or parallel) in Azure applications, the pattern of choice must be based on the target VM size we have chosen for that app and the type of operation [...]

Mark this!
  • Digg
  • del.icio.us
  • Add to favorites
  • RSS

Is HTTP Keep-Alive good or bad (in Azure)?

Sometimes a small constraint make you scary.  Though I played around with HTTP persistence connection long back, recently when I saw this header while debugging an Azure application, I want to know what is the impact of this.  There are two different opinions on using HTTP Keeps-Alive header.  I want to know the impact on [...]

Mark this!
  • Digg
  • del.icio.us
  • Add to favorites
  • RSS

Hadoop On Azure: FileNotFoundException in Hadoop Streaming

The example description for Hadoop Streaming on Azure has some path typo error, hence you may struggle with following error: Exception in thread “main” java.io.FileNotFoundException: File hdfs://xxx.xxx.xxx.xxx:9000/example/apps/wc.exe does not exist.  at org.apache.hadoop.util.GenericOptionsParser.validateFiles(GenericOptionsParser.java:390)  at org.apache.hadoop.util.GenericOptionsParser.processGeneralOptions(GenericOptionsParser.java:287)  at org.apache.hadoop.util.GenericOptionsParser.parseGeneralOptions(GenericOptionsParser.java:413)  at org.apache.hadoop.util.GenericOptionsParser.(GenericOptionsParser.java:164)  at org.apache.hadoop.util.GenericOptionsParser.(GenericOptionsParser.java:147) The problem is with the “HDFS://…” arguments.  The sample gives the path like below hdfs://xxx.xxx.xxx.xxx:9000/example/apps/wc.exe [...]

Mark this!
  • Digg
  • del.icio.us
  • Add to favorites
  • RSS

Partial View Auto Refresh in ASP.NET MVC3

Problem A partial view in ASP.NET MVC3 needs to be refreshed on every particular interval. Let us take a typical ASP.NET MVC3 application. In the HomeController, there is a action called “Quote” which displays funny software quote for every new request like below: The partial view “_Quote.cshtml” has nothing other than the code below This [...]

Mark this!
  • Digg
  • del.icio.us
  • Add to favorites
  • RSS