首页> 外国专利> Method and system for replication support in a remote method invocation system

Method and system for replication support in a remote method invocation system

机译:远程方法调用系统中用于复制支持的方法和系统

摘要

A method and system are disclosed for enforcing consistency among replicas of a server through the reliable and ordered delivery of client requests via an ordering multicast protocol in association with a deterministic and pre-emptive scheduler in a computer network having at least one client connected to a replicated server. The scheduler enforces an execution order that conforms with the request ordering specified by the multicast protocol. The deterministic scheduler subdivides execution streams into instruction slices such that the number of instructions within each slice is pre-determined. An instruction counter is used to generate an interrupt at the expiration of an instruction slice. A thread is scheduled at the beginning of an instruction slice, such that all scheduling decisions are identical among all server replicas. Therefore, all scheduling decisions are identical everywhere, eliminating the nondeterminism due to time-based scheduling of traditional thread schedulers. The deterministic scheduler also accepts new client requests and creates a thread for every m instruction slices using call admission control windows by waiting for a new multicast request. The new multicast may contain no new requests, in which case the scheduler continues scheduling the existing threads. Otherwise, the thread scheduler admits the new requests and creates new threads to execute them in the order specified by the multicast protocol.
机译:公开了一种方法和系统,该方法和系统用于在与至少一个客户端连接到计算机网络的计算机网络中,通过与确定性和抢占式调度程序相关联的排序多播协议,通过客户端请求的可靠和有序传递来增强客户端副本的一致性。复制服务器。调度程序强制执行与多播协议指定的请求顺序一致的执行顺序。确定性调度器将执行流细分为指令片,以便每个片内的指令数是预定的。指令计数器用于在指令片到期时生成中断。在指令片的开始处调度线程,以便所有服务器副本之间的所有调度决策都是相同的。因此,所有调度决策在任何地方都是相同的,从而消除了传统线程调度程序基于时间的调度所带来的不确定性。确定性调度程序还接受新的客户端请求,并通过等待新的多播请求,使用呼叫允许控制窗口为每m个指令片创建一个线程。新的多播可能不包含新的请求,在这种情况下,调度程序将继续调度现有线程。否则,线程调度程序将接受新请求并创建新线程以按照多播协议指定的顺序执行这些请求。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号