Re:Two years of production Go at CloudFlare
by pstuart on Monday November 11, 2013 @07:22PM
(#6715050)
The "seamless binary upgrade" part is intriguing (unless it's just a reference to the fact that binaries are self-contained (which is indeed wonderful)).
[ Parent
| on HN ]
Re:Two years of production Go at CloudFlare
by free652 on Monday November 11, 2013 @07:28PM
(#6715080)
I have a feeling they just change symlinks between self-contained binaries. Easy to upgrade or revert binaries.
Re:Two years of production Go at CloudFlare
by dknecht on Monday November 11, 2013 @09:24PM
(#6715482)
We use a supervising process [1] that has bound the sockets and the pass in the file descriptors to Go process. When the new process is ready to take connections it sense a signal to the original process to shut down.
[1] https://github.com/cloudflare/circus/commits/cloudflare2