[infinispan-issues] [JBoss JIRA] (ISPN-3985) In BCHM traverse internal segments for parallel map/reduce execution
William Burns (JIRA)
issues at jboss.org
Fri May 8 16:13:45 EDT 2015
[ https://issues.jboss.org/browse/ISPN-3985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066635#comment-13066635 ]
William Burns commented on ISPN-3985:
-------------------------------------
This appears to no longer be required with https://issues.jboss.org/browse/ISPN-3023 the new BoundedConcurrentHashMap implementation supports the proper forEach method that uses the fork join task stealing algorithms. Although we may want to remove the now unneeded ParallelIterableMap interface.
> In BCHM traverse internal segments for parallel map/reduce execution
> --------------------------------------------------------------------
>
> Key: ISPN-3985
> URL: https://issues.jboss.org/browse/ISPN-3985
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Affects Versions: 7.0.0.Final
> Reporter: Vladimir Blagojevic
> Fix For: 8.0.0.Final
>
>
> Currently when BoundedConcurrentHashMap is used in DataContainer we split input keys and traverse key/value pairs in parallel using executor. That is all good, however, we should optimize this solution as each segment in BCHM is a separate map we can iterate over each segment in a separate thread rather than blindly splitting input keys.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the infinispan-issues
mailing list