Re:How Did the Quake Demo from DockerCon Work?
by jzelinskie on Monday July 06, 2015 @08:36PM
(#9842973)
I wonder if this demo is only possible because the game uses UDP.
[ Parent
| on HN ]
Re:How Did the Quake Demo from DockerCon Work?
by teraflop on Monday July 06, 2015 @08:44PM
(#9842995)
TCP 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.
Re:How Did the Quake Demo from DockerCon Work?
by FuriouslyAdrift on Monday July 06, 2015 @08:47PM
(#9843016)
they mention using iptables so they might be utilizing conntrack and vrrp groups. Bunch of different ways to redirect in just a couple of packets.
Re:How Did the Quake Demo from DockerCon Work?
by FuriouslyAdrift on Monday July 06, 2015 @08:45PM
(#9843002)
It 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.