[
https://issues.jboss.org/browse/ISPN-3663?page=com.atlassian.jira.plugin....
]
Gustavo Fernandes resolved ISPN-3663.
-------------------------------------
Resolution: Out of Date
There's no need to store stuff unmarshalled in the server anymore for interoperability
between REST, embedded and Hot Rod.
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)