[infinispan-issues] [JBoss JIRA] (ISPN-4439) enhance asynchronous Hot Rod putAllAsync method

Wolf-Dieter Fink (JIRA) issues at jboss.org
Wed Jun 25 09:13:26 EDT 2014


Wolf-Dieter Fink created ISPN-4439:
--------------------------------------

             Summary: enhance asynchronous Hot Rod  putAllAsync method
                 Key: ISPN-4439
                 URL: https://issues.jboss.org/browse/ISPN-4439
             Project: Infinispan
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
    Affects Versions: 7.0.0.Alpha4
            Reporter: Wolf-Dieter Fink
            Assignee: Mircea Markus


The current implementation of the method putAllAsync(...) within the Hot Rod client simple use the putAll(...) method which simple iterate over the given Map and use put(...) for each entry synchrounous.

Therefore it takes a longer time to put all entries into the cache.

A simple loop which calls putAsync for each entry has a significant improvement.
i.e. with 100,000 entries the over all duration is 15 times faster



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the infinispan-issues mailing list