发明名称 |
Episodic coordination model for distributed applications |
摘要 |
An episodic execution of program instances and a coordinated message exchange protocol are combined to achieve eventual consistency in the communication between nodes of a distributed system. Program instances run in episodic loops that are triggered by defined input events and that generate checkpoints. The checkpoints indicate when messages are to be sent from the one instance to another instance or other device. The coordinated message exchange protocol allows the instance to send a message to a receiver, to acknowledge that the message has been received, and to confirm the acknowledgement to the receiver. |
申请公布号 |
US9553929(B2) |
申请公布日期 |
2017.01.24 |
申请号 |
US201514659203 |
申请日期 |
2015.03.16 |
申请人 |
Microsoft Technology Licensing, LLC |
发明人 |
Taylor John;Brown Justin;Wolf Kenneth;Pinto Edmund;Batres Stefan;Talbert Nathan |
分类号 |
G06F9/44;H04L29/08;G06F9/54;G06F9/06;H04L1/08;G06F9/52 |
主分类号 |
G06F9/44 |
代理机构 |
|
代理人 |
Tabor Ben;Drakos Kate;Minhas Micky |
主权项 |
1. A computer system, comprising:
a processor; and system memory storing instructions for managing messages exchanges between a sender and a destination that, when executed by the processor as part of the sending of an outgoing message, cause the computer system to:
move to a sending state from an idle state maintained when the outgoing message is identified as ready to send;send the outgoing message to the destination while in the sending state;wait in the sending state until an acknowledgement message is received from the destination, wherein the acknowledgement message indicates that the destination has received the outgoing message;move to a confirming state from the sending state, without returning to the idle state, when the acknowledgement message is received;send a confirmation message to the destination while in the confirming state, wherein the confirmation message indicates that the sender has received the acknowledgment message;wait in the confirming state until a confirmation-acknowledgement message is received from the destination, wherein the confirmation-acknowledgement message indicates that the destination has received the confirmation message; andmove to the idle state from the confirming state when the confirmation-acknowledgement message is received. |
地址 |
Redmond WA US |