[infinispan-issues] [JBoss JIRA] (ISPN-2041) Provide putAll(map) bulk operation on Cache and RemoteCache
susanin (JIRA)
jira-events at lists.jboss.org
Fri May 11 03:40:18 EDT 2012
susanin created ISPN-2041:
-----------------------------
Summary: Provide putAll(map) bulk operation on Cache and RemoteCache
Key: ISPN-2041
URL: https://issues.jboss.org/browse/ISPN-2041
Project: Infinispan
Issue Type: Enhancement
Components: Distributed Cache
Affects Versions: 5.1.4.FINAL
Reporter: susanin
Assignee: Manik Surtani
Priority: Minor
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list