US 11,671,309 B2
Asynchronous socket replication between nodes of a network
Sameer Seth, Bangalore (IN); and Ananda Kumar M R, Bangalore (IN)
Assigned to Juniper Networks, Inc., Sunnyvale, CA (US)
Filed by Juniper Networks, Inc., Sunnyvale, CA (US)
Filed on May 2, 2022, as Appl. No. 17/661,698.
Application 17/661,698 is a continuation of application No. 17/248,216, filed on Jan. 14, 2021, granted, now 11,323,309.
Prior Publication US 2022/0263706 A1, Aug. 18, 2022
Int. Cl. G06F 11/00 (2006.01); H04L 41/0654 (2022.01); H04L 45/58 (2022.01); H04L 45/60 (2022.01); H04L 45/28 (2022.01)
CPC H04L 41/0654 (2013.01) [H04L 45/28 (2013.01); H04L 45/58 (2013.01); H04L 45/60 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A method comprising:
receiving, by a replication module of a primary node in a network, a representation of data to be written to a first socket, the data including a series of data blocks, wherein the first socket provides network communication connectivity between the primary node and a peer network device;
sending, by the replication module, a socket message, via a second socket, to a standby node in the network, wherein the socket message comprises transport layer state information of the first socket and the representation of the data, wherein the second socket provides network communication connectivity between the primary node and the standby node in accordance with a transport layer protocol, wherein the standby node is configured to provide network communication connectivity between the standby node and the peer network device in response to a switchover from the primary node and wherein the transport layer state information includes information identifying the series of data blocks as blocks that have not yet been acknowledged by the peer network device as of a time of the switchover;
receiving, by the replication module, from the standby node, a socket acknowledgement in accordance with the transport layer protocol; and
in response to receiving the socket acknowledgement from the standby node, sending, by the replication module, the data to the peer network device via the first socket.