Re: Some thoughts on serialization
Robert Friberg <[email protected]>
| Newsgroups | gmane.comp.java.prevayler |
|---|---|
| Message-ID | <04CBB7B6F20119479B70F3ED6355740109F33849@AMSPRD0402MB110.eurprd04.prod.outlook.com> |
Karl, I don't know if this could apply to your situation but one approach is to mark some parts of the system as nonserializable and rebuild them after deserialization. Robert Friberg 0733-839080 http://livedb.devrex.se http://livedomain.codeplex.com http://devrex.se http://www.linkedin.com/in/robertfriberg -----Original Message----- From: Karl Wettin [mailto:[email protected]] Sent: den 27 februari 2012 16:14 To: Open discussion about the Prevayler project. Subject: Re: [Prevayler-discussion] Some thoughts on serialization 27 feb 2012 kl. 16:10 skrev Klaus Wuestefeld: >> It takes about 30 minutes to marshal and 17 hours to unmarshal my root using XStream... : ( At least the last time I tried. Might have done something wrong though. > > How does that compare to plain Java serialization in your case? A handful of minutes to unmarshal plain Java snapshot. 3-5? > How large is your snapshot again? Some 800MB on disk, or 12GB heap. > IIRC XStream has something they call "binary mode". Did you tweak XStream? In no way. Just changed the Serializer and tried it out of the box. karl ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion _______________________________________________ "Databases in Memoriam" -- http://www.prevayler.org ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion _______________________________________________ "Databases in Memoriam" -- http://www.prevayler.org