Re: [go-nuts] graceful restart of app with more than one tcp Listener

2017-11-07 Thread Peter Mogensen
On 2017-11-07 15:28, Vasiliy Tolstov wrote: > I know about it, but > https://github.com/rcrowley/goagain/issues/12 cant handle multiple listeners > https://godoc.org/github.com/facebookgo/grace/gracenet does not > support close the listener > https://github.com/fvbock/endless works with http , bu

Re: [go-nuts] graceful restart of app with more than one tcp Listener

2017-11-07 Thread Vasiliy Tolstov
2017-11-07 17:20 GMT+03:00 Steven Hartland : > There are a number of libraries which attempt to address this, ones I've > seen: > > https://github.com/fvbock/endless > https://github.com/rcrowley/goagain > https://github.com/facebookgo/grace > > I know about it, but https://github.com/rcrowley/goa

Re: [go-nuts] graceful restart of app with more than one tcp Listener

2017-11-07 Thread Steven Hartland
There are a number of libraries which attempt to address this, ones I've seen: * https://github.com/fvbock/endless * https://github.com/rcrowley/goagain * https://github.com/facebookgo/grace On 07/11/2017 13:33, Vasiliy Tolstov wrote: Hi! I have application that listens 2-4 tcp ports and i

[go-nuts] graceful restart of app with more than one tcp Listener

2017-11-07 Thread Vasiliy Tolstov
Hi! I have application that listens 2-4 tcp ports and i need to upgrade it while running. How can upgrade server and not dropping exiting connected apps (tcp nbd-client like apps)? I don't want to use haproxy or nginx before my app. As i understand i need master process that only listens sockets an