具有负载平衡功能的智能任务调度器
我们正在尝试从每隔几秒运行一次并处理传入数据的计时器转向某种线程池方法。
我找到了这个链接链接
,我知道有带有taskscheduler的TPL。
当然,它需要智能,因为我们处理很多数据,我的意思是大量传入数据。
您能否指导我找到实现该功能的学习书籍文章或开源代码的良好参考文献。
任何帮助将不胜感激。 Guy
更新:数据来自我们的客户端,通过wcf服务进入数据库,主进程(带有计时器的进程)处理数据
we are trying to move from 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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于一本关于各种 Windows 多线程的精彩书籍,Joe Duffy 有一本出色的书 Windows 上的并发编程。有关 TPL 的更多信息,另一本好书 C# 中的专业 .NET 4.0 并行编程。
这些书应该让您能够很好地生成强大的可扩展多线程解决方案,他们都是知识渊博的人!祝你好运。
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.