ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Voronkin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-10876) "Affinity changes (coordinator) applied" can be executed in parallel
Date Thu, 10 Jan 2019 06:41:00 GMT

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

Pavel Voronkin updated IGNITE-10876:
------------------------------------
    Description: 
There is for loop over all cache groups which execution N*P operations in exchange worker
where N is number of cache groups, P is number of partitions.

We spend 80% of time in a loop

for (CacheGroupContext grp : cctx.cache().cacheGroups()){

GridDhtPartitionTopology top = grp != null ? grp.topology() : cctx.exchange().clientTopology(grp.groupId(),
events().discoveryCache());

top.beforeExchange(this, true, true);

} 

I believe we can execute it in parallel

  was:
There is for loop over all cache groups which execution N*P operations in exchange worker
where N is number of cache groups, P is number of partitions.

We spend 80% of time in a loop

for (CacheGroupContext grp : cctx.cache().cacheGroups()) {
GridDhtPartitionTopology top = grp != null
 ? grp.topology()
 : cctx.exchange().clientTopology(grp.groupId(), events().discoveryCache());

 top.beforeExchange(this, true, true);
}

 

I believe we can execute it in parallel


> "Affinity changes (coordinator) applied" can be executed in parallel
> --------------------------------------------------------------------
>
>                 Key: IGNITE-10876
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10876
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Pavel Voronkin
>            Priority: Major
>
> There is for loop over all cache groups which execution N*P operations in exchange worker
where N is number of cache groups, P is number of partitions.
> We spend 80% of time in a loop
> for (CacheGroupContext grp : cctx.cache().cacheGroups()){
> GridDhtPartitionTopology top = grp != null ? grp.topology() : cctx.exchange().clientTopology(grp.groupId(),
events().discoveryCache());
> top.beforeExchange(this, true, true);
> } 
> I believe we can execute it in parallel



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message