开发者

I need to perform parallel processing in ASP.Net

开发者 https://www.devze.com 2023-02-11 21:21 出处:网络
I have windows service which need to execute around 10000 schedules (need to send/execute data to all the members).

I have windows service which need to execute around 10000 schedules (need to send/execute data to all the members).

For one member it's taking 3 to 5 seconds for 10000 schedules it's taking around 10 minutes or so..

But I need to execu开发者_运维问答te all these schedules in one minutes.

Thanks In advance


Assuming you need to do parallel processing, you better read this here doc to get to know the paradigm and avoid common pitfalls (its for .net 4.0 but I am suggesting you ready it no matter what because it goes over basic concepts).

If you can push down processing time down to < 2 seconds per task then I'd suggest you don't mess with parallel processing (it's likely to complicate your life in ways you cannot imagine).

0

精彩评论

暂无评论...
验证码 换一张
取 消