Java Serialization options (code.google.com)

40 points by srini1234 ↗ HN
When you want to use external caching mechanism (outside the JVM), serializing/deserializaing of objects introduce a penalty. A good serialization library makes the external cache more viable.

1 comment

[ 2.8 ms ] story [ 15.4 ms ] thread
Be careful with these. I recently found that Java serialization is much faster for large integer arrays than packed repeated int32 fields in protobuf. For most clients, this speed wouldn't matter, but for me I actually had to stuff the java serialized bytes into a protobuf bytes field.