You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey N. Gura (Jira)" <ji...@apache.org> on 2023/05/15 11:44:00 UTC

[jira] [Updated] (IGNITE-16616) [Compute Grid] Implement execute method of IgniteCompute interface

     [ https://issues.apache.org/jira/browse/IGNITE-16616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey N. Gura updated IGNITE-16616:
------------------------------------
    Labels: iep-100 ignite-3  (was: ignite-3)

> [Compute Grid] Implement execute method of IgniteCompute interface
> ------------------------------------------------------------------
>
>                 Key: IGNITE-16616
>                 URL: https://issues.apache.org/jira/browse/IGNITE-16616
>             Project: Ignite
>          Issue Type: Task
>          Components: compute
>            Reporter: Sergey Chugunov
>            Assignee: Roman Puchkovskiy
>            Priority: Major
>              Labels: iep-100, ignite-3
>             Fix For: 3.0.0-alpha5
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> The following method should be implemented:
> {code}
> <R> CompletableFuture<R> execute(Set<ClusterNode> nodes, Class<? Extends ComputeJob<R>> cls, Object … args);
> {code}
> On the first phase implementation doesn't need to support failover or load balancing.
> Execution should be implemented using this simple algorithm:
> * Randomly choose a target node from the given set of nodes if applicable.
> * Transfer a job class name and arguments to the target node.
> * Instantiate job’s instance on the target node. Deserialize arguments.
> * Execute job.
> * Return the result or error to the node that initiated the job execution. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)