GRPC
gRPC (recursive acronym for gRPC Remote Procedure Calls ) is a cross-platform high-performance remote procedure call (RPC) framework. gRPC was initially created by Google, but is open source and is used in many organizations.
≈ 5 min read
GRPC. encyclopegia.org, snapshot enwiki-001377654610. /a/grpc
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
gRPC (recursive acronym for gRPC Remote Procedure Calls[2]) is a cross-platform high-performance remote procedure call (RPC) framework. gRPC was initially created by Google, but is open source and is used in many organizations. Use cases range from microservices to the "last mile" of computing (mobile, web, and the Internet of things).
gRPC uses HTTP/2 for transport, Protocol Buffers as the interface description language, and provides features such as authentication, bidirectional streaming and flow control, blocking or nonblocking bindings, and cancellation and timeouts. It generates cross-platform client and server bindings for many languages. The most common usage scenarios include connecting services in a microservices style architecture, or connecting mobile device clients to backend services.[3]
gRPC's use of HTTP trailers makes it impossible to implement a gRPC client in a browser, instead requiring a proxy.[4]
History
edit edit sourceFrom about 2001, Google created a general-purpose RPC infrastructure called Stubby to connect the large number of microservices running within and across its data centers.[5] In March 2015, Google decided to build the next version of Stubby and make it open source. The result was gRPC.
Authentication
edit edit sourcegRPC supports the usage of Transport Layer Security (TLS) and token-based authentication. Connection to Google services must use TLS. There are two types of credentials: channel credentials and call credentials.
For token-based authorization, gRPC provides Server Interceptor[6] and a Client Interceptor.[7]
Encoding
edit edit sourcegRPC uses Protocol Buffers to encode data. Protocol buffers provide a serialization format and an interface definition language.[8]
Testing
edit edit sourceSome of the software tools used for testing gRPC implementations include Postman, ezy,[9] Insomnia, and Step CI.[10]
Adoption
edit edit sourceMany organizations use gRPC, including Uber,[11] Square, Netflix, Nutanix, Amazon, IBM, CoreOS, Docker, CockroachDB, Arista Networks, Cisco, Juniper Networks,[12] Spotify,[13] Zalando,[14] Dropbox,[15] and Google as the original developer.
The open source project u-bmc uses gRPC to replace Intelligent Platform Management Interface (IPMI).[16] On 8 January 2019, Dropbox announced that the next version of "Courier", their RPC framework at the core of their service-oriented architecture (SOA), would be migrated to be based on gRPC, primarily because it aligned well with their existing custom RPC frameworks.[17]
Alternatives
edit edit sourceSee also
edit edit sourceReferences
edit edit source- ^ "gRPC releases". GitHub. Retrieved 2026-09-30. Wikipedia revision 1377654610, retrieved 2026-11-18
- ^ "FAQ". gRPC. Wikipedia revision 1377654610, retrieved 2026-11-18
- ^ "About gRPC". gRPC. Retrieved 2021-05-25. Wikipedia revision 1377654610, retrieved 2026-11-18
- ^ "The state of gRPC in the browser". gRPC. 8 January 2019. Wikipedia revision 1377654610, retrieved 2026-11-18
- ^ "gRPC: a true internet-scale RPC framework is now 1.0 and ready for production deployments". 24 August 2016. Retrieved 2023-04-03. Wikipedia revision 1377654610, retrieved 2026-11-18
- ^ "gRPC Server Interceptor". 27 February 2023. Archived from the original on March 7, 2023. Wikipedia revision 1377654610, retrieved 2026-11-18
- ^ "gRPC". grpc.io. Retrieved 2020-02-24. Wikipedia revision 1377654610, retrieved 2026-11-18
- ^ JamesNK. "Compare gRPC services with HTTP APIs". docs.microsoft.com. Retrieved 2020-02-24. Wikipedia revision 1377654610, retrieved 2026-11-18
- ^ "ezy on GitHub". GitHub. Wikipedia revision 1377654610, retrieved 2026-11-18
- ^ "Step CI Documentation". Wikipedia revision 1377654610, retrieved 2026-11-18
- ^ "gRPC at Uber". 19 May 2021. Wikipedia revision 1377654610, retrieved 2026-11-18
- ^ "gRPC". grpc.io. Retrieved 2020-02-24. Wikipedia revision 1377654610, retrieved 2026-11-18
- ^ "gRPC at Spotify" (PDF). jfokus.se. Retrieved 2020-05-12. Wikipedia revision 1377654610, retrieved 2026-11-18
- ^ "Zalando Tech Radar". opensource.zalando.com. Retrieved 2021-04-08. Wikipedia revision 1377654610, retrieved 2026-11-18
- ^ "How we migrated Dropbox from Nginx to Envoy". Dropbox.Tech. Retrieved 2020-10-30. Wikipedia revision 1377654610, retrieved 2026-11-18
- ^ "u-bmc". GitHub.com. 5 October 2022. Wikipedia revision 1377654610, retrieved 2026-11-18
- ^ Nigmatullin, Ruslan; Ivanov, Alexey (2019-01-08). "Courier: Dropbox migration to gRPC". Retrieved 2019-01-09. Wikipedia revision 1377654610, retrieved 2026-11-18
External links
edit edit source Google free and open-source softwareText derived from https://en.wikipedia.org/w/index.php?oldid=1377654610 under CC BY-SA 4.0; modifications have been made.