]
Manik Surtani commented on ISPN-1097:
-------------------------------------
Going with #2
Allow for specifying whether storeAsBinary affects just keys, values
or both
----------------------------------------------------------------------------
Key: ISPN-1097
URL:
https://issues.jboss.org/browse/ISPN-1097
Project: Infinispan
Issue Type: Enhancement
Components: Configuration, Marshalling
Affects Versions: 4.2.1.FINAL, 5.0.0.CR1
Reporter: Paul Ferraro
Assignee: Manik Surtani
Priority: Critical
Fix For: 5.0.0.CR2, 5.0.0.FINAL
When using invalidation mode w/storeAsBinary enabled, both the cache key and value are
serialized during a cache put. However, unlike the cache key, the cache value will never
be sent over the wire - so it seems that this serialization cost is necessary. Since
INVALIDATION_SYNC is the default mode for hibernate 2nd level caching of entities and
collections, and since serializing an entity is potentially costly, this performance hit
very noticeable, especially when compared to the performance of JBoss Cache, where
serialization only happens when needed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: