Need advice about which tool to choose?Ask the StackShare community!
Apache Thrift vs gRPC: What are the differences?
Developers describe Apache Thrift as "Software framework for scalable cross-language services development". The Apache Thrift software framework, for scalable cross-language services development, combines a software stack with a code generation engine to build services that work efficiently and seamlessly between C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, JavaScript, Node.js, Smalltalk, OCaml and Delphi and other languages. On the other hand, gRPC is detailed as "A high performance, open-source universal RPC framework". gRPC is a modern open source high performance RPC framework that can run in any environment. It can efficiently connect services in and across data centers with pluggable support for load balancing, tracing, health checking...
Apache Thrift can be classified as a tool in the "Serialization Frameworks" category, while gRPC is grouped under "Remote Procedure Call (RPC)".
Apache Thrift and gRPC are both open source tools. gRPC with 22K GitHub stars and 5.12K forks on GitHub appears to be more popular than Apache Thrift with 6.48K GitHub stars and 2.97K GitHub forks.
Slack, 9GAG, and Policygenius are some of the popular companies that use gRPC, whereas Apache Thrift is used by Uber Technologies, Slack, and QuizUp. gRPC has a broader approval, being mentioned in 53 company stacks & 48 developers stacks; compared to Apache Thrift, which is listed in 11 company stacks and 8 developer stacks.
Pros of Apache Thrift
Pros of gRPC
- Higth performance25
- The future of API15
- Easy setup13
- Contract-based5
- Polyglot4
- Garbage2