4 ms·
This is the simplified version of how we do process migration. Of course the devil's in the details, but yes, the way the BEAM process model works makes it supe
by jhgg 4y ago
This is the simplified version of how we do process migration. Of course the devil's in the details, but yes, the way the BEAM process model works makes it super amenable.
We have some bits to negotiate the state handoff between different versions of the code, and it's not as straightforward as copying over state. Certain data structures need to be rebuilt (for example, data structures owned by our Rust NIFs), and additionally, monitors and references across the system need to be updated and re-established.