Thrift vs Protocol buffers [duplicate] Thrift vs Protocol buffers [duplicate] windows windows

Thrift vs Protocol buffers [duplicate]


As I've said as "Biggest differences of Thrift vs Protocol Buffers?" topic :

Referring to Thrift vs Protobuf vs JSON comparison :

Additionally, there are plenty of interesting additional tools available for those solutions, which might decide. Here are examples for Protobuf: Protobuf-wireshark , protobufeditor.


You might want to analyse your need first:

Do you need a protocol-agnostic format? For example, do you want to implement a custom protocol or need 100% portability? In such a case use PB.

If you are fine with the default protocol of Thrift, and you need a protocol to begin with, by all means, go with Thrift.

Hope this helps.


Our project's main reason to stick with Thrift over protocol buffers was that protocol buffers don't auto-generate a complete RPC server, and existing solutions for PB seemed to all be fairly unstable. Just my $0.02.