Invention Grant
- Patent Title: Method and system for restarting network service without packet loss and with zero downtime
-
Application No.: US15552216Application Date: 2016-05-30
-
Publication No.: US10348558B2Publication Date: 2019-07-09
- Inventor: Xun Chen
- Applicant: WANGSU SCIENCE & TECHNOLOGY CO., LTD.
- Applicant Address: CN Shanghai
- Assignee: WANGSU SCIENCE & TECHNOLOGY CO., LTD
- Current Assignee: WANGSU SCIENCE & TECHNOLOGY CO., LTD
- Current Assignee Address: CN Shanghai
- Agency: Anova Law Group, PLLC
- Priority: CN201610028287 20160115
- International Application: PCT/CN2016/083903 WO 20160530
- International Announcement: WO2017/121063 WO 20170720
- Main IPC: H04L12/24
- IPC: H04L12/24 ; G06F9/445 ; H04L12/741 ; H04L29/08

Abstract:
The present disclosure discloses a method and system for restarting the network service with zero downtime, comprising: a) listening, by an original process of the network service, on a first port; (b) configuring and initiating a transition process, wherein the configuring includes causing the transition process to listen on a second port different from the first port of the original process; (c) running a connection tracking module and, meanwhile adding an iptables rule to redirect a connection directed to the first port to the second port; (d) waiting until existing connections on the original process are processed completely, then exiting the original process; (e) initiating a new process on the first port according to a new configuring file; (f) reconfiguring the iptables rule to cancel port redirection; and (g) waiting until existing connections on the transition process are processed completely, then exiting the transition process.
Public/Granted literature
- US20180069755A1 METHOD AND SYSTEM FOR RESTARTING NETWORK SERVICE WITHOUT PACKET LOSS AND WITH ZERO DOWNTIME Public/Granted day:2018-03-08
Information query