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).
精彩评论