3 ms·
I wonder if this demo is only possible because the game uses UDP.
by jzelinskie 11y ago
I wonder if this demo is only possible because the game uses UDP.
- teraflop 11y agoTCP should work too, on sufficiently recent kernels. The CRIU developers added kernel support for saving and restoring the internal state of an open connection, including things like sequence numbers and window sizes. It looks like you have to be careful to drop all incoming packets during the migration so that the network stack doesn't get confused, but that should just appear as a temporary network interruption. http://criu.org/TCP_connection http://criu.org/TCP_connection
- FuriouslyAdrift 11y agothey mention using iptables so they might be utilizing conntrack and vrrp groups. Bunch of different ways to redirect in just a couple of packets.
- FuriouslyAdrift 11y agoIt should not matter. They mention in the qa after that they are modifying the load balancer to point to each new instance during migration. TCP might drop the connection and reconnect but the results are the same.