Last post May 03, 2012 10:57 AM by cYpH3r x3r0
Apr 30, 2012 12:54 PM|contactrajkumar|LINK
Generally we are creating web application (.Net 2.0) and hosting it in server, Our server has more than one processor.
will our application meke use of all the processor or it will use only one processor?
How to write multi processor programming using .net 4.0?
Please guide me...
Thanks in Advance.
Apr 30, 2012 01:03 PM|jigarbjpatel|LINK
Use Task Parallel Library
Apr 30, 2012 01:12 PM|contactrajkumar|LINK
Thank you for your reply.
our server has 4 processors, Will .Net 2.0 application use all the processors or only one?
Apr 30, 2012 01:18 PM|frez|LINK
Apr 30, 2012 01:25 PM|contactrajkumar|LINK
My application is mainly fetching data from database and displaying it into required format, for this case i have not used threading.
then my application will use only one processor?
Apr 30, 2012 01:25 PM|nijhawan.saurabh|LINK
You don't have to write any additional code here, the Server will take care of utilizing all cores and processors by it's own.
May 02, 2012 10:42 AM|contactrajkumar|LINK
If server will take care of all those things then what is the use of Multi-Core Processors or parallel programming.
I got confused...
May 02, 2012 11:33 AM|frez|LINK
May 03, 2012 10:40 AM|contactrajkumar|LINK
Is there any article on this?
Send me some appropriate links about this if you have..
May 03, 2012 10:57 AM|cYpH3r x3r0|LINK
When we deploy our web app on the server, IIS makes several threads to work in parallel because its multi threading enabled. We can also make threads in our code behind and make them execute as well
in that case each thread will be executed on the separate processor