循环调度 [英] Round Robin Scheduling

查看:84
本文介绍了循环调度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要求:我们在世界上的不同地点有多个数据库。我们需要从这些数据库中获取数据(触发SP以从表中获取值)并转储到我们的本地数据库表。核心问题是,我们最初将开始轮询5个DB,之后可能会轮询更多的DB。轮询算法应该足以安排轮询每个数据库的任务,并且还应该在有越来越多的轮询数据库时适当地安排。请建议我们如何实现这一点的好方法,任何例子就足够了。编码在C#

Requirement: We have multiple databases located at different sites in the world. We need to fetch data from these databases (an SP is triggered to fetch values from tables) and dump to our local database table. The core point is that we will initially start polling 5 DBs and later may poll more DBs. The polling algorithm should be good enough to to schedule the task of polling each DB and should also schedule appropriately when there are more and more DB for polling. Kindly suggest us a good way of how this can be implemented and any example would suffice. The coding is in C#

推荐答案

正如我所说,编写一个例子(我们怎么知道用哪种语言?:-))会毫无用处。最好从这里开始:

http://en.wikipedia.org/wiki/Round-robin_scheduling [ ^ ]。



-SA
As I say, writing an example (how do we know in which language? :-)) would be pretty useless. Better start from here:
http://en.wikipedia.org/wiki/Round-robin_scheduling[^].

—SA


这篇关于循环调度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆