Method and system for restarting network service without packet loss and with zero downtime
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for restarting a network service, comprising: (a) listening, by an original process of the network service, for a request to restart the network service on a first port; (b) in responding to the request to restart the network service, 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) in responding to initiating the transition process, running a connection tracking module, meanwhile adding an iptables rule to redirect a connection directed
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (8)
Non-Patent Literature (5)
- Derek Lewis True Zero Downtime HAProxy Reloads: An Alternative Approach Apr. 15, 2015 XP055493310 URL:https://inside.unbounce.com/product-dev/haproxy-reloads/.
- Derek Lewis-True Zero Downtime HAproxy Reloads : An Alternative Approach (Year: 2015).
- Derek Lewis—True Zero Downtime HAproxy Reloads : An Alternative Approach (Year: 2015).
- Joseph Lynch True Zero Downtime HAProxy Reloads Apr. 13, 2015 pp. 1-7 XP055489423.
- Justin Ellingwood-"A Deep Dive into Iptables and net-filter Architecture" (Year: 2015).