Process lifecycle
The lifecycle of a process in the Fair Math Computer includes the following key stages:
Initialization: A process is created when a user or actor invokes an application. During initialization, the process is assigned a unique identifier and its initial state is constructed based on the application’s configuration file and input arguments.
Execution: The process executes the instructions defined in the application. Exe- cution is distributed across the network, leveraging the computational resources of heterogeneous actors. The system ensures the correctness and integrity of execution through cryptographic guarantees.
Suspension and Resume: In cases where a process requires external input or encounters resource constraints, it can be suspended. The process state is serialized and stored securely on the blockchain, allowing it to be resumed later without loss of progress.
Termination: Once the execution completes, the process is terminated. The final state, including any results, is recorded on the blockchain, and all associated resources are released.
Last updated