Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Apache Thrift
Apache Thrift

74
46
+ 1
0
gRPC
gRPC

272
188
+ 1
1
Add tool

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.

No Stats

What is Apache Thrift?

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.

What is gRPC?

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...
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Apache Thrift?
Why do developers choose gRPC?
    Be the first to leave a pro
      Be the first to leave a con
        Be the first to leave a con
        Jobs that mention Apache Thrift and gRPC as a desired skillset
        What companies use Apache Thrift?
        What companies use gRPC?

        Sign up to get full access to all the companiesMake informed product decisions

        What tools integrate with Apache Thrift?
        What tools integrate with gRPC?

        Sign up to get full access to all the tool integrationsMake informed product decisions

        What are some alternatives to Apache Thrift and gRPC?
        Protobuf
        Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data – think XML, but smaller, faster, and simpler.
        REST
        An architectural style for developing web services. A distributed system framework that uses Web protocols and technologies.
        Avro
        It is a row-oriented remote procedure call and data serialization framework developed within Apache's Hadoop project. It uses JSON for defining data types and protocols, and serializes data in a compact binary format.
        MessagePack
        It is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON. But it's faster and smaller. Small integers are encoded into a single byte, and typical short strings require only one extra byte in addition to the strings themselves.
        See all alternatives
        Decisions about Apache Thrift and gRPC
        StackShare Editors
        StackShare Editors
        Prometheus
        Prometheus
        Chef
        Chef
        Consul
        Consul
        Memcached
        Memcached
        Hack
        Hack
        Swift
        Swift
        Hadoop
        Hadoop
        Terraform
        Terraform
        Airflow
        Airflow
        Apache Spark
        Apache Spark
        Kubernetes
        Kubernetes
        gRPC
        gRPC
        HHVM (HipHop Virtual Machine)
        HHVM (HipHop Virtual Machine)
        Presto
        Presto
        Kotlin
        Kotlin
        Apache Thrift
        Apache Thrift

        Since the beginning, Cal Henderson has been the CTO of Slack. Earlier this year, he commented on a Quora question summarizing their current stack.

        Apps
        • Web: a mix of JavaScript/ES6 and React.
        • Desktop: And Electron to ship it as a desktop application.
        • Android: a mix of Java and Kotlin.
        • iOS: written in a mix of Objective C and Swift.
        Backend
        • The core application and the API written in PHP/Hack that runs on HHVM.
        • The data is stored in MySQL using Vitess.
        • Caching is done using Memcached and MCRouter.
        • The search service takes help from SolrCloud, with various Java services.
        • The messaging system uses WebSockets with many services in Java and Go.
        • Load balancing is done using HAproxy with Consul for configuration.
        • Most services talk to each other over gRPC,
        • Some Thrift and JSON-over-HTTP
        • Voice and video calling service was built in Elixir.
        Data warehouse
        • Built using open source tools including Presto, Spark, Airflow, Hadoop and Kafka.
        Etc
        See more
        Interest over time
        Reviews of Apache Thrift and gRPC
        No reviews found
        How developers use Apache Thrift and gRPC
        No items found
        How much does Apache Thrift cost?
        How much does gRPC cost?
        Pricing unavailable
        Pricing unavailable
        News about Apache Thrift
        More news
        News about gRPC
        More news