task parallel library(TPL)–A THING OF BEAUTY

Many times you wanted to speed up the time your software took to complete set of tasks, but decided against it due to the complexity it would add to your software. That is not the case anymore. Task Parallel Library (TPL) in Microsoft’s .NET framework will make your life lot easier to optimize the performance your software.

Asynchronous programming is happening everywhere (client and server side).    In your client applications, this helps to built very responsive applications. On the server side, you can build very scalable applications. So much is written about these two topics on internet.

Intention of this blog is show the power of TPL using the simplest possible way. Here is the example:


And this is the output


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: