[infinispan-issues] [JBoss JIRA] (ISPN-2041) Provide putAll(map) and getAll(map) bulk operation on Cache and RemoteCache

Tristan Tarrant (JIRA) issues at jboss.org
Thu Jan 8 08:38:30 EST 2015


     [ https://issues.jboss.org/browse/ISPN-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant updated ISPN-2041:
----------------------------------
    Fix Version/s: 7.2.0.Final
                       (was: 7.1.0.Final)


> Provide putAll(map) and getAll(map) bulk operation on Cache and RemoteCache
> ---------------------------------------------------------------------------
>
>                 Key: ISPN-2041
>                 URL: https://issues.jboss.org/browse/ISPN-2041
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Core
>    Affects Versions: 5.1.4.FINAL
>            Reporter: susanin
>            Assignee: Galder Zamarreño
>            Priority: Minor
>             Fix For: 7.2.0.Final
>
>
> Currently Infinispan implements putAll(map) by means of looping over all entries and submitting them by means of put() one-by-one.
> This is very slow if you have a lot of synchronous updates to apply.
> It would be much more efficient, if a special bulk operation would be supported, so that all entries are sent to their respective replica nodes in one go. It would reduce the number of network roundtrips and related overhead and it would also make use of parallel execution, because some of the puts can be executed in parallel as they land on different nodes.
> Note: Hazelcast has this optimization. It often improves performance of bulk puts by at least a factor of 2 or 3, even if it is used between a client and Hazelcast server, i.e. a bulk operation is sent to a single grid node from a client and no parallelism can be used.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)



More information about the infinispan-issues mailing list