Re: Some thoughts on serialization

Karl Wettin <[email protected]>
Newsgroups gmane.comp.java.prevayler
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.