Rusell Potee - CodeMigration
Rusell Potee - CodeMigration
Weak Mobility
Transfer code segment and initialized data
Portable code
Predefined starting positions
Java Applets
Strong Mobility
Transfer includes execution segment
Process can be stopped, moved to another machine,
and resumed
Code Migration Models
Sender-initiated
Code transfer is initiated by machine currently
executing the code
Example
Uploading programs to a computational server
Receiver-initiated
Transfer is initiated by machine that will execute code
Example
Java applets
Handling Resources
Process-to-resource binding
Binding by identifier (strong)
Process refers to resources by their identifiers
Example
URL
Binding by value (weaker)
Process refers to another resource with the same value
Binding by type (weakest)
Process refers to local devices
Handling Resources
Resource-to-machine binding
Unattached resources
Can be moved easily
Data Files
Fastened resources
Can be moved at high cost
Database
Fixed resources
Cannot be moved
Local devices
Heterogeneous Systems