Re: Some thoughts on serialization
Karl Wettin <[email protected]>
| Newsgroups | gmane.comp.java.prevayler |
|---|---|
| Message-ID | <[email protected]> |
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. karl 27 feb 2012 kl. 15:35 skrev Klaus Wuestefeld: > Talk to the XStream guys. Guilherme Silveira, an acquaintance of mine, > is a developer there. > > Looking at XStream might give you good pointers. Maybe you can make > XStream multi-threaded. > > Klaus > > > On Sun, Feb 26, 2012 at 7:36 PM, Karl Wettin <[email protected]> wrote: >> >> 24 feb 2012 kl. 19:54 skrev Klaus Wuestefeld: >> >> >> I use longs inside my objects instead of Dates. I only instantiate >> Dates when some query needs them. >> >> >> You are of course right about the dates. I didn't think that far. I brought >> them up as immutable examples without thinking it through. They are however >> just a drop of water in the ocean compared to my strings and some of my own >> immutable classes. >> >> Is your idea to implement a multi-threaded serializer/deserializer >> using reflection? >> >> >> Right. Do you see a problem with that? I'll implement something simple but >> working this week, probably along the way of one file per object or so to >> show that it works in theory, just to get around the problems with inner >> workings of ObjectInput/OutputStream until I've figured that out. >> >> You can also look at taking snapshots/images at a different level such >> as VirtualBox images. >> >> >> That's out of scope when when it comes to changes in code , unless one have >> one heck of a classloader, right? My problem with serialization is really >> only a problem when it comes to development and debugging, not so much when >> it comes to live environments. >> >> >> karl >> >> ------------------------------------------------------------------------------ >> Virtualization & Cloud Management Using Capacity Planning >> Cloud computing makes use of virtualization - but cloud computing >> also focuses on allowing computing to be delivered as a service. >> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >> _______________________________________________ >> 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 ------------------------------------------------------------------------------ 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