[
https://issues.jboss.org/browse/ISPN-4979?page=com.atlassian.jira.plugin....
]
William Burns edited comment on ISPN-4979 at 11/18/14 9:39 AM:
---------------------------------------------------------------
The implementation I am working on has an optimization when the JGroupsAddress is not
composed it only does the TL lookup and nothing else. Compared to the network overhead
this should be trivial amount for what can be gained in the case of multiples.
The current way would basically cut it down to N of copies where N is the number of nodes.
Instead of N * M * 3 (M being the number of caches & 3 just being because we send 2
topologies - 1 has 2 member lists) The change I have currently is rather unobtrusive,
however if this is not sufficient we can look into ones that change more APIs.
But I will look into the other suggestions as well though.
was (Author: william.burns):
The implementation I am working on has an optimization when the JGroupsAddress is not
composed it only does the TL lookup and nothing else. Compared to the network overhead
this should be trivial amount for what can be gained in the case of multiples.
But I will look into the other suggestions as well though.
CacheStatusResponse map uses too much memory
--------------------------------------------
Key: ISPN-4979
URL:
https://issues.jboss.org/browse/ISPN-4979
Project: Infinispan
Issue Type: Bug
Components: Core, State Transfer
Affects Versions: 7.0.0.Final
Reporter: Dan Berindei
Assignee: William Burns
Priority: Critical
Fix For: 7.1.0.Final
When the cluster is large and there are a log of caches, the {{CacheStatusResponse}} map
on the new coordinator can get quite large. One of the problems that seems to be that the
addresses in {{DefaultConsistentHash}} are duplicated on serialization, so the
deserialized version occupies more memory.
We need to investigate why the objects are not "shared" by the River
marshaller, and maybe work around the problem by de-duplicating the addresses in the
externalizer.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)