I'm accessing a remote cache using the hotrod java client (Infinispan 6.0.) Putting a map of values in the cache using the putAll method yields no better performance than when putting each value separately.
So, what am I missing? Wouldn't a bulk operation, i.e., one call to send the map of data be faster? Make it work like the getBulk method and, if this make sense, implement a getBulk for a given set of keys.
Theoretically, it should, but putAll is currently implemented only naively. See [ISPN-2041] Provide putAll(map) and getAll(map) bulk operation on Cache and RemoteCache - JBoss Issue Tracker