←back to thread

169 points hunvreus | 3 comments | | HN request time: 0.626s | source
Show context
mystraline ◴[] No.43654294[source]
Different proposal:

Let's say we have 2 Linux machines. Identical hardware, identical libs.

I'd like to run a simple program on one machine, and then during mid-calculation, would like to transfer the running program to the other machine.

Is this doable?

replies(5): >>43654408 #>>43654455 #>>43654466 #>>43654749 #>>43655094 #
1. new_user_final ◴[] No.43654408[source]
Unrelated, but somewhat similar in higher level, you can transfer state with durable execution, e.g temporal.io.

Instead of RAM, program's state saved in DB and execution environment resume in the previous state when restarted

replies(1): >>43654969 #
2. WJW ◴[] No.43654969[source]
How does such a method retain things like open network connections that have significant kernel state involved as well?
replies(1): >>43655518 #
3. dilyevsky ◴[] No.43655518[source]
it does not. all the state that you need to make "durable" needs to be explicitly committed in temporal via their sdk