[infinispan-issues] [JBoss JIRA] (ISPN-3663) Extend compatibility mode to store the binary value instead of unmarshalling to java object

Adrian Nistor (JIRA) issues at jboss.org
Tue Jul 17 03:56:01 EDT 2018


    [ https://issues.jboss.org/browse/ISPN-3663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13605978#comment-13605978 ] 

Adrian Nistor commented on ISPN-3663:
-------------------------------------

I'm so glad!!!!!

> Extend compatibility mode to store the binary value instead of unmarshalling to java object
> -------------------------------------------------------------------------------------------
>
>                 Key: ISPN-3663
>                 URL: https://issues.jboss.org/browse/ISPN-3663
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Core
>    Affects Versions: 6.0.0.Beta2
>            Reporter: Adrian Nistor
>            Assignee: Adrian Nistor
>
> Currently if compat mode is active we unmarshall the remote binary value into a java object and put this into the cache so embedded clients will be able to access a meaningful object. But this is not optimal as it will have to be serialized back to a byte array when remote clients get it and will also be to re-serialized when the put is replicated to another node.
> It's better to store the byte array that comes from the remote client directly and use the storeAsBinary / MarshalledValue mechanism to provide a java object to embedded clients.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list