4 ms·
Could someone explain the difference between gRPC and Apache Thrift? Even tough the Apache Thrift project is not as active as gRPC it works quite well for us.
by helipaddi 8y ago
Could someone explain the difference between gRPC and Apache Thrift? Even tough the Apache Thrift project is not as active as gRPC it works quite well for us.
- anderspitman 8y agoI think they're rather similar in goals. I found this overview informative: https://youtu.be/RoXT_Rkg8LA https://youtu.be/RoXT_Rkg8LA
- throaaway1984 8y agogRPC is protocol agnostic. You can use any wire type with it, like JSON. There's even a codec for thrift messages on gRPC called grift.
- q3k 8y agoThrift is what xooglers at Facebook implemented when they wanted Stubby. grpc is Google's own open source edition of Stubby. They are very similar paradigm-wise.
- jholman 8y agoWait, what? IIRC Stubby is a lockserver, used for two things: coordinated locks, and small coordinated data. You mean protobuff, don't you? Am I misremembering and/or wrong?
- deklerk 8y agoYou're thinking of chubby. :) https://ai.google/research/pubs/pub27897 https://ai.google/research/pubs/pub27897
- Matthias247 8y agoThe main difference: grpc can do bidirectional streaming, and not only request-response RPC.