4 ms·
A couple of different ways that I have heard of: * SO_REUSEPORT - not reusing the socket, but allowing multiple sockets to bind to a single port. [1] * Fork
by svieira 11y ago
A couple of different ways that I have heard of:
* SO_REUSEPORT - not reusing the socket, but allowing multiple sockets to bind to a single port. [1]
* Fork / Exec - have a parent process signal the child process to terminate after it has spun up a new version and the new version is accepting connections [2]
[1]: https://lwn.net/Articles/542629/
[2]: https://news.ycombinator.com/item?id=9694339