开发者

What is fastest serializer in java?

I need onftenly to serialize big objects to bytes. So it is necessary 开发者_运维知识库to have fast serializer for it. Is there is any variants which perform better than java default one?


We use protobuff from google for our serialization needs and it is working great. You can get a comparision of all the serializers (in the world ;-)) here http://code.google.com/p/thrift-protobuf-compare/wiki/Benchmarking


Would you not be best to use the serialization classes in hadoop? If you inherit from Writable, this would let then serialise out in a format that can be moved around easily by hadoop/hbase

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜