by stock_toaster · 14y ago · 0 comments
That something similar is occurring to the messages in the talk, is the only explanation I could think of anyway... Looking at the thrift description, it does appear that there are int32s and doubles in the messages.
[1]: http://wiki.msgpack.org/display/MSGPACK/Format+specification...
The msgpack serializer was probably used in a suboptimal way. The integer 3 can be encoded by msgpack in one byte as well. I never use doubles which is probably why I didn't think of this case.
Integers are actually always <= bytes in msgpack than the JSON ascii representation.
Anyway - benchmarking is hard.