Local Compute Engine¶
Purpose¶
The Local Compute Engine performs computational search tasks locally on the physical machine the Anoma node is running. It abstracts away the details of the underlying hardware and provides an interface for executing complex computational search tasks effectively.
State¶
Messages Received¶
LocalComputeSearch¶
Perform a search operation based on a given predicate within a specified time limit (timeout).
Reception:
Records with fields:
Predicate
: PredicateV1
Predicate describing the search operation
Timeout
: TimeoutV1
Time limit after which the search operation will be terminated (if still running)
Triggers
Records with fields:
Predicate
: PredicateV1
Predicate describing the search operation
Maybe[witness]
: WitnessV1
The (optional) result value and evidence that this result satisfies the predicate.
Notifications Sent¶
Message Flow¶
sequenceDiagram
Any Local Engine ->>+ Local Compute Engine: LocalComputeSearch
Local Compute Engine -->>- Any Local Engine: LocalComputeSearchResult