[infinispan-issues] [JBoss JIRA] (ISPN-5622) Make use of parallel iteration in the MassIndexer

Gustavo Fernandes (JIRA) issues at jboss.org
Mon Aug 3 08:55:02 EDT 2015


    [ https://issues.jboss.org/browse/ISPN-5622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095014#comment-13095014 ] 

Gustavo Fernandes commented on ISPN-5622:
-----------------------------------------

Simply enabling forEach + parallel caused performance to drop substantially, when tested in a 8 CPU machine, resulting in high contention at Lucene writing side. So it probably makes sense to allow the parallelism to be configurable rather than apply a "one size fits all"  rule.

> Make use of parallel iteration in the MassIndexer
> -------------------------------------------------
>
>                 Key: ISPN-5622
>                 URL: https://issues.jboss.org/browse/ISPN-5622
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Embedded Querying
>            Reporter: Gustavo Fernandes
>            Assignee: Gustavo Fernandes
>
> As the EntryRetriever is being deprecated, there's a possibility of speeding up the indexing process by using parallel streams 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the infinispan-issues mailing list