-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
Milestone
Description
An obstacle to migrating processes between nodes is how to deal with ProcessIds.
If we assume that any process can be migrated to another node at any time, ProcessIds are no longer reliable. Instead, we need another way to refer to migratable processes.
This problem may be separable into two sub-problems:
- Within an Application which will be migrated as a whole, processes may refer to each other. Here, it may be possible to substitute ProcessIds with correct values as part of migration.
- References by ProcessId to the Application from elsewhere will need to be updated.
It might make sense to establish a wrapper type, MigratableProcessId, that provides this additional layer of indirection. Sending a message to a MigratableProcessId will resolve to the actual current ProcessId of the given process.