Reputation: 631
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
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