- 专利标题: Method and system for restarting network service without packet loss and with zero downtime
-
申请号: US15552216申请日: 2016-05-30
-
公开(公告)号: US10348558B2公开(公告)日: 2019-07-09
- 发明人: Xun Chen
- 申请人: WANGSU SCIENCE & TECHNOLOGY CO., LTD.
- 申请人地址: CN Shanghai
- 专利权人: WANGSU SCIENCE & TECHNOLOGY CO., LTD
- 当前专利权人: WANGSU SCIENCE & TECHNOLOGY CO., LTD
- 当前专利权人地址: CN Shanghai
- 代理机构: Anova Law Group, PLLC
- 优先权: CN201610028287 20160115
- 国际申请: PCT/CN2016/083903 WO 20160530
- 国际公布: WO2017/121063 WO 20170720
- 主分类号: H04L12/24
- IPC分类号: H04L12/24 ; G06F9/445 ; H04L12/741 ; H04L29/08
摘要:
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.
公开/授权文献
信息查询