发明名称 |
Method and system for robust message retransmission |
摘要 |
Techniques are disclosed for message retransmission. In one embodiment, an agent in a distributed system that receives and/or relays messages from a master node identifies messages that have not been successfully delivered, and adds a stub for each such message to a message queue. The agent then requests retransmission of missing messages in the message queue and sets flags associated with the message stubs to indicate that retransmission requests have been sent. If one (or more) of the messages cannot be retransmitted, the master node sends acknowledgment message(s) notifying the agent of the master node's inability to retransmit the messages. The agent then resets the flags corresponding to those messages to indicate that retransmission request(s) need to be sent again. |
申请公布号 |
US9614646(B2) |
申请公布日期 |
2017.04.04 |
申请号 |
US201514664497 |
申请日期 |
2015.03.20 |
申请人 |
VMware, Inc. |
发明人 |
Xiang Enning;Guerra Delgado Jorge |
分类号 |
H04L1/18 |
主分类号 |
H04L1/18 |
代理机构 |
Patterson & Sheridan LLP |
代理人 |
Patterson & Sheridan LLP |
主权项 |
1. A computer-implemented method for a receiving application to request message retransmission, comprising:
determining that a first message in a sequence of messages has not been received; adding, to a message queue, a stub corresponding to the first message that has not been received; requesting retransmission of the first message from a transmitting application; setting a flag associated with the stub corresponding to the first message to indicate that the request for retransmission of the first message has been sent to the transmitting application; and responsive to receiving, from the transmitting application, a second message indicating the first message cannot be retransmitted, resetting the flag to indicate that another retransmission request needs to be sent to the transmitting application to request the first message. |
地址 |
Palo Alto CA US |