MachineA, MachineB are two x86_64/Linux machines with identical hardware and identical software.
some_server, a Rust program, is running on MachineA
some_server has network ports open, but not any files open.
We would like to move some_server, with minimal downtime, from MachineA to MachineB.
Is there a standard way to do this? (The relation to Rust here is: some_server is written in Rust, so it is okay if the solution involves slightly modifying some_server itself).
I think I just saw it linked somewhere, possibly on Twitter. Either that or I was already following Tristan Hume because of his syntax highlighting/text editing work (including on Xi) and it showed up in my GitHub feed.
I believe the owner wrote up a blog post and posted it here.
I think most people would run their code inside a virtual machine then take a snapshot and copy that around.
I've never used it before, but the Checkpoint/Restore In Userspace project seems to be almost exactly what you are looking for. The RedHat blog has an interesting article on the topic: