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

Denis Chudov commented on IGNITE-19783:
---------------------------------------

[~Sergey Uttsel] LGTM.

> StripedScheduledExecutorService for DistributionZoneManager#executor
> --------------------------------------------------------------------
>
>                 Key: IGNITE-19783
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19783
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Sergey Uttsel
>            Assignee: Sergey Uttsel
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> h3. *Motivation*
> In https://issues.apache.org/jira/browse/IGNITE-19736 we set corePoolSize=1 
> for DistributionZoneManager#executor to ensure that all data nodes 
> calculation tasks per a zone are executed in order of creation. But we need 
> more threads to process this tasks. So we need to create 
> StripedScheduledExecutorService and all tasks for the same zone must be 
> executed in one stripe. The pool to execute the task is defined by a zone id.
> h3. *Definition of Done*
>  # StripedScheduledExecutorService is created and used instead of single 
> thread executor in DistributionZoneManager.
>  # All tasks for the same zone must be executed in one stripe.
> h3. *Implementation Notes*
> I've created a draft StripedScheduledExecutorService in a branch 
> [https://github.com/gridgain/apache-ignite-3/tree/ignite-19783]



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

Reply via email to