发明名称 |
System and method for dynamic transparent consistent application-replication of multi-process multi-threaded applications |
摘要 |
A system, method, and computer readable medium for consistent and transparent replication of multi process multi threaded applications. The computer readable medium includes computer-executable instructions for execution by a processing system. Primary applications runs on primary hosts and one or more replicated instances of each primary application run on one or more backup hosts. Replica consistency between primary application and its replicas is provided by imposing the execution ordering of the primary on all its replicas. The execution ordering on a primary is captured by intercepting calls to the operating system and libraries, sending replication messages to its replicas, and using interception on the replicas to enforce said captured primary execution order. Replication consistency is provided without requiring modifications to the application, operating system or libraries. |
申请公布号 |
US9213654(B1) |
申请公布日期 |
2015.12.15 |
申请号 |
US201314064333 |
申请日期 |
2013.10.28 |
申请人 |
Open Invention Network, LLC |
发明人 |
Havemose Allan |
分类号 |
G06F13/00;G06F9/54;G06F11/14 |
主分类号 |
G06F13/00 |
代理机构 |
Haynes and Boone, LLP |
代理人 |
Haynes and Boone, LLP |
主权项 |
1. A system, comprising:
computer system memory comprising one or more memory locations configured to store the primary application; one or more Central Processing Units (CPUs) operatively connected to said computer system memory and configured to execute said primary application on a host with a host operating system; an interception layer on the primary application configured to intercept calls to the host operating system and configured to intercept calls to shared libraries, and configured to generate replication messages based on said intercepted calls; a messaging engine, for said primary application, that is configured to send said replication messages to the one or more backup applications; and one or more backup hosts each with a host operating system and each comprising: computer system memory comprising one or more memory locations configured to store one or more backup applications, and one or more Central Processing Units (CPUs) operatively connected to said computer system memory and configured to execute said one or more backup applications; wherein each replication message contains at least a process identifier, a thread identifier and a sequence number, and wherein said calls do not create or destroy processes and do not create or destroy threads, and replica consistency is provided by imposing a same call ordering on the backup applications as on the primary applications; and wherein said primary application's call ordering is imposed for said each backup application by sorting incoming replication messages by sequence number, and only delivering the replication messages with matching process and thread identifiers and with a sequence number exactly one larger than the sequence number of the most recently delivered message. |
地址 |
Durham NC US |