]
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.