
- Single-Use: Designed for one-time computations that do not share state with other tasks and do not need to be repeated. An example might be an isolated data analysis task that is executed once and then discarded.
- Recurring: Configured to handle repeated computations with new input data but without retaining any persistent state. These are ideal for continuous operations where fresh data is processed within each computation cycle.
Execution Workflow
Executing a computation in Arcium’s MXEs requires several prerequisites.- Cluster Readiness Check: Cluster peers assess their capacity for the upcoming task by verifying their available preprocessing values. If these are insufficient, nodes autonomously generate new values to maintain readiness. The node software schedules preprocessing rounds ahead of time, optimizing for resource use by leveraging spare computing and storage capacity.
- Computation Retrieval: The computation is selected from the single decentralized mempool, with relevant inputs sourced and loaded into the circuit for processing. Arx nodes collaborate to handle gates concurrently, maximizing efficiency during execution.
- Result Submission: Once complete, the final result is collectively verified, signed, and submitted to the blockchain. Since all computations must be completed within a single epoch, any unfinished task at the epoch’s end is terminated. Computation Customers may use external mechanisms to chain results into new computations outside the protocol.