High performance serialization: Java vs Google Protocol Buffers vs …?

前端 未结 7 1262
借酒劲吻你
借酒劲吻你 2020-12-04 08:05

For some caching I\'m thinking of doing for an upcoming project, I\'ve been thinking about Java serialization. Namely, should it be used?

Now I\'ve previously writt

7条回答
  •  醉梦人生
    2020-12-04 08:28

    One more data point: this project:

    http://code.google.com/p/thrift-protobuf-compare/

    gives some idea of expected performance for small objects, including Java serialization on PB.

    Results vary a lot depending on your platform, but there are some general trends.

提交回复
热议问题