illEatYourPuppies
illEatYourPuppies

Reputation: 631

Thrift serialization performance gain over Json with mostly String data

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?

Upvotes: 0

Views: 1482

Answers (1)

R.Moeller
R.Moeller

Reputation: 3446

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

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

Upvotes: 1

Related Questions