Jump to content

Photo

Kryo vs. java.io.Serializable

serialization kryo java.io.serialization

  • Please log in to reply
No replies to this topic

#1 Champion of Cyrodiil

Champion of Cyrodiil

    Gigabyte

  • Members
  • 776 posts
  • LocationVirginia

Posted 15 May 2013 - 08:54 AM

Anyone have any luck getting Kryo serialization to work?

 

'm having trouble wrapping my brain around the methods that are implemented with using the KryoSerializable interface. (write/read)

 

 

http://code.google.com/p/kryo/

 

 

I have been able to use 'implements Serializable' on most of my pojos (with java.io.Serializable import) without any issue.  But the storm@github framework (which i use) encourages kryo.

 

Currently i'm just passing primitives between jvms that get the job done (hashmaps & strings).  These are serialized by storm using kryo as a native function.  But would like to be able to pass off more complex objects.

 

 

Thoughts?