]
Wolf-Dieter Fink updated ISPN-4439:
-----------------------------------
Priority: Minor (was: Major)
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: Galder ZamarreƱo
Priority: Minor
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