News for hackers. Stuff that matters.
Re:Building our first app in Go by patrickg on Thursday August 29, 2013 @10:18AM (#6295951)
I have a git repository on the server & push to that repository. On the server, I just pull, compile the binary and use upstart (service xyz restart) to restart the binary. Not nice, because I kill all connections. I'll switch to something more elaborate when I'll have more users on the web service.
Re:Building our first app in Go by jessevdk on Thursday August 29, 2013 @11:41AM (#6296421)
If you're interested in zero down time for a go service, then check out goagain [1], inspired by Unicorn. It uses simple fd passing to restart itself, passing the listening socket.

[1]: https://github.com/rcrowley/goagain

Re:Building our first app in Go by patrickg on Sunday September 01, 2013 @08:48AM (#6310151)
Thanks for the pointer! I remember seeing this, but I forgot about it. Glad to have it back.