[infinispan-issues] [JBoss JIRA] (ISPN-8004) Optimize serialization of encoders
Gustavo Fernandes (JIRA)
issues at jboss.org
Mon Jul 3 10:35:01 EDT 2017
[ https://issues.jboss.org/browse/ISPN-8004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13430553#comment-13430553 ]
Gustavo Fernandes commented on ISPN-8004:
-----------------------------------------
I was thinking of adding a {{.getId()}} to the encoder interface, and register the encoders in the EncoderRegistry by those Ids and not Classes
> Optimize serialization of encoders
> ----------------------------------
>
> Key: ISPN-8004
> URL: https://issues.jboss.org/browse/ISPN-8004
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Affects Versions: 9.1.0.CR1
> Reporter: Gustavo Fernandes
>
> Certain cache operations such streams, compute and functional commands require shipping the current associated encoder/wrapper to the cache instance to remote nodes.
> Currently, the Class<?> representing the encoder is sent over the wire, both for the key and for the value. It should be possible to associate an id to each encoder/wrapper and sent those instead
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the infinispan-issues
mailing list