3 ms·
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)).
by pstuart 13y ago
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)).
- free652 13y agoI have a feeling they just change symlinks between self-contained binaries. Easy to upgrade or revert binaries.
- dknecht 13y agoWe 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 https://github.com/cloudflare/circus/commits/cloudflare2