smart taskscheduler with loadbalancing
we are trying to move f开发者_运维技巧rom timer that run every couple of seconds and process the incoming data to some kind of threadpool methodology.
i have found this link link
and i know there is TPL with taskscheduler.
its need to be smart of course because we handle a lot and i mean a lot of incoming data.
can you please direct me to a good ref of learning book article or open source code, that implement that.
any help will be grateful. Guy
update: the data is coming from our client via wcf service enters the db and the main process (the one with the timer) process the data
For a brilliant book on all flavours of Windows Multithreading, Joe Duffy has an excellent book Concurrent Programming on Windows. For further information on TPL another great book Pro .NET 4.0 Parallel Programming in C#.
Together these books should set you up very well to produce robust scalable multithreaded solutions, they are very knowledgable guys! Good luck.
精彩评论