]
Paul Ferraro resolved WFLY-9609.
--------------------------------
Resolution: Duplicate Issue
Duplicate of WFLY-9521
Avoid unnecessary marshalling of AddressableNode wherever possible
------------------------------------------------------------------
Key: WFLY-9609
URL:
https://issues.redhat.com/browse/WFLY-9609
Project: WildFly
Issue Type: Enhancement
Components: Clustering
Affects Versions: 11.0.0.Final
Reporter: Paul Ferraro
Assignee: Paul Ferraro
Priority: Major
Serialization of an AddressableNode requires an additional 7 or 19 bytes (depending on
whether the corresponding bind address is IPv4 or IPv6) as well as the logical name as a
UTF-8 string; all on top of the 16 bytes required to serialize the JGroups/Infinispan
address.
In most cases, this is completely unnecessary, as the Node can always be recreated from
the address via a NodeFactory<Address>.
Known offenders are:
* org.wildfly.clustering.server.registry.CacheRegistry which stores the Node as a cache
key.
* org.wildfly.clustering.server.provider.CacheServiceProviderRegistry which stores a
Set<Node> as a cache value.