0

I am curious about performance gain of Thrift over Json, when the fields are 90% String. I am currently using Jackson json library in java to serialize objects which hold mostly string value.

The object is log message containing timestamp, parameter name/value pairs, thread name, method name, class name etc... Most of the values are string.

Serialization time matters to me much, do you think it's worth to switch to Thrift to gain performance on serialization?

1 Answer 1

1

There are a lot of other options, check out this benchmark comparision (very string heavy test)

https://github.com/RuedigerMoeller/fast-serialization/wiki/TestPage

Sign up to request clarification or add additional context in comments.

3 Comments

Is this related to code.google.com/p/thrift-protobuf-compare/wiki/Benchmarking or why does it look so similar on the first glance?
Its not related to protobuf, its a fork of the project protobuf links to. See github.com/RuedigerMoeller/jvm-serializers on what I have changed/added.
Oops, seems they merged my changes (did pull request). However somehow the graphs are missing for me on their page ..

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.