US 11,886,304 B2
Making transmission control protocol (TCP) sessions robust in a socket replication environment
Amit Arora, Bangalore (IN); Erin C. MacNeil, Carp (CA); Harmeet Singh, Bangalore (IN); and Sairam Neelam, Hyderabad (IN)
Assigned to Juniper Networks, Inc., Sunnyvale, CA (US)
Filed by Juniper Networks, Inc., Sunnyvale, CA (US)
Filed on Jun. 22, 2022, as Appl. No. 17/837,355.
Prior Publication US 2023/0418713 A1, Dec. 28, 2023
Int. Cl. G06F 11/14 (2006.01); G06F 11/07 (2006.01)
CPC G06F 11/1464 (2013.01) [G06F 11/0757 (2013.01); G06F 11/1451 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method, comprising:
executing, by a network device, a master application communicating with another network device via a session;
receiving, by a backup application replication layer of the network device, a replicated data object;
providing, by the backup application replication layer of the network device, the replicated data object to a backup application;
calculating, by the backup application replication layer of the network device, a time delta between when the replicated data object is received and when the replicated data object arrives at the backup application;
determining, by the backup application replication layer of the network device, whether the time delta exceeds a first threshold or a second threshold;
generating, by the backup application replication layer of the network device, a session flag based on the time delta exceeding the first threshold or the second threshold;
providing, by the backup application replication layer of the network device, the session flag to a master application replication layer and to the backup application; and
providing, by the master application replication layer of the network device, details of the session to the master application and the backup application.