Parallel Extensions or Asynchronous Invocation with IO-based operations

March 31, 2010

I've been playing around with the parallel extensions shipped as part of the .NET 4.0 and Visual Studio 2010 RC. Turning immutable atomic self-contained CPU-bound operations to run in parallel is pretty easy. However, as soon as you drill down to more complex executions, where issues such as memory sharing, allocations, delegates, false sharing, and synchronization mechanisms come in mind, you may have trouble finding the optimal parallel execution model for your code. I was interested in testing a specific scenario to see if the Parallel Extensions could be beneficial. Consider the following example: ...
no comments

WCF Service Throttling

March 21, 2010

Throttling is an important behavior of your WCF service that you should be addressing before publishing your service to clients. The throttling behavior holds the configuration for 3 limitations that control the amount of resources that your service hosting can allocate to deal with client requests, thus enables you to manage the resource usage and balance the performance load. It is crucial that you set the behavior appropriately because the default limitations of this service behavior is considered to be quite low. The reason for such default values was for blocking DOS (Denial of Service)...
tags: ,
3 comments

WCF Contrib v2.1 Mar07

March 7, 2010

A new release had been published - WCF Contrib v2.1 Mar07. This release is the final version of v2.1 Beta that was published on February 10th, you can check the entire updates made from v2.0 further in this post. You can distinguish between this release and the v2.1 Beta Feb10 by checking the assembly file version, in this release it was incremented to v2.1.0.1. Changes from v2.1 Feb10 Beta: There is a one small change which is a breaking change for those who used the asynchronous invocation pattern using the "InvokeChannelAsync" or "InvokeAsync"....
no comments