[jboss-jira] [JBoss JIRA] (WFLY-9609) Avoid unnecessary marshalling of AddressableNode wherever possible

Paul Ferraro (Jira) issues at jboss.org
Wed Jan 22 08:05:13 EST 2020


     [ https://issues.redhat.com/browse/WFLY-9609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list