[ 
https://issues.apache.org/jira/browse/IGNITE-22435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17856229#comment-17856229
 ] 

Pavel Tupitsyn commented on IGNITE-22435:
-----------------------------------------

[~isapego] [~korlov] please review.

> Add JobTarget interface to Compute API
> --------------------------------------
>
>                 Key: IGNITE-22435
>                 URL: https://issues.apache.org/jira/browse/IGNITE-22435
>             Project: Ignite
>          Issue Type: Improvement
>          Components: compute
>    Affects Versions: 3.0.0-beta1
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0.0-beta2
>
>
> Currently, there are too many methods in Compute API. This comes from the 
> need to pick target nodes in different ways:
> * Any one node (don't care which one, just run my job)
> * Specific node by name
> * Specific node by key (colocated)
> * All nodes (broadcast)
> ** Broadcast methods return a different result type
> A cleaner approach would be to introduce *JobTarget* interface with 
> corresponding factory methods:
> * *node*
> * *anyNode*
> * *colocation*



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

Reply via email to