[
http://jira.jboss.com/jira/browse/JBCACHE-879?page=comments#action_12347756 ]
Galder Zamarreno commented on JBCACHE-879:
------------------------------------------
Regarding the marshallers, could we use an instance of the
VersionAwareMarshaller created in TreeCache? Just pass
this instance to the JDBCCacheLoader (and any other cloaders
that need to serialize objects, such as TcpRemoteCacheLoader)
and use the VAM's object{To|From}ByteBuffer() methods.
This way cloaders will be version-aware too, in the same way
replication code is, and we'll have some degree of interop. (Sweet!)
This JIRA issue will focus on the work needed in the JDBCCacheLoader.
I will create another JIRA issue to cover the rest of CL.
Improving serialization in JDBCCacheLoader
------------------------------------------
Key: JBCACHE-879
URL:
http://jira.jboss.com/jira/browse/JBCACHE-879
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Cache loaders
Affects Versions: 1.4.0.SP1, 1.3.0.SP3
Reporter: Galder Zamarreno
Assigned To: Galder Zamarreno
Fix For: 2.0.0.GA
Original Estimate: 3 days
Remaining Estimate: 3 days
JDBCCacheLoader uses standard serialisation to
store objects in database.
This CL should use the same marshalling techniques
as used in the rest of JBC code in order to improve both
performance and reduce the amount data that needs to
be transfered to database (better use of badnwith) and
therefore, stored in it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira