[
https://issues.jboss.org/browse/ISPN-4439?page=com.atlassian.jira.plugin....
]
Wolf-Dieter Fink updated ISPN-4439:
-----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
https://github.com/infinispan/infinispan/pull/2672
There are some concerns
- client might be overloaded by having too many parallel threads
- server might be overloaded as all put operations are parallel
- network traffic as each key/value is send with a single remote invocation
the performance might be better if the client analyze which
server will be the owner and send the entries in chunk's of 10|100?
Also it might be worth to have a list of entries which are not processed.
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
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)