45,433
stars
+3
11,338
forks
1,340
watchers
31,487
prs
12,064
issues
390
releases
7
discussions
README
gRPC – An RPC library and framework
gRPC is a modern, open source, high-performance remote procedure call (RPC)
framework that can run anywhere. gRPC enables client and server applications to
communicate transparently, and simplifies the building of connected systems.
Homepage:
grpc.io
Mailing List:
[email protected]
To start using gRPC
To maximize usability, gRPC supports the standard method for adding dependencies
to a user's chosen language (if there is one). In most languages, the gRPC
runtime comes as a package available in a user's language package manager.
For instructions on how to use the language-specific gRPC runtime for a project,
please refer to these documents
- C++: follow the instructions under the src/cpp directory
- C/.NET: NuGet packages
Grpc.Net.Client, Grpc.AspNetCore.Server
- Dart: pub package grpc
- Go: go get google.golang.org/grpc
- Java: Use JARs from Maven Central
Repository
- Kotlin: Use JARs from Maven Central
Repository
- Node: npm install @grpc/grpc-js
- Objective-C: Add gRPC-ProtoRPC dependency to podspec
- PHP: pecl install grpc
- Python: pip install grpcio
- Ruby: gem install grpc
- WebJS: follow the grpc-web instructions
Per-language quickstart guides and tutorials can be found in the
documentation section on the grpc.io website. Code
examples are available in the examples directory.
Precompiled bleeding-edge package builds of gRPC master branch's HEAD are
uploaded daily to packages.grpc.io.
To start developing gRPC
Contributions are welcome!
Please read How to contribute which will guide you through
the entire workflow of how to build the source code, how to run the tests, and
how to contribute changes to the gRPC codebase. For detailed C++ build instructions,
see Building from source. The "How to contribute" document
also contains info on how the contribution process works and contains best
practices for creating contributions.
Troubleshooting
Sometimes things go wrong. Please check out the
Troubleshooting guide if you are experiencing issues with
gRPC.
Performance
See the Performance dashboard
for performance numbers of master branch daily builds.
Concepts
See gRPC Concepts
About This Repository
This repository contains source code for gRPC libraries implemented in multiple
languages written on top of a shared C++ core library src/core.
Libraries in different languages may be in various states of development. We are
seeking contributions for all of these libraries:
Language | Source
------------------------- | ----------------------------------
Shared C++ [core library] | src/core
C++ | src/cpp
Ruby | src/ruby
Python | src/python
PHP | src/php
C (core library based) | src/csharp
Objective-C | src/objective-c
Language | Source repo
-------------------- | ----------------------------Top issues
#31885[fork][tracking issue] grpc thread pool hanging on fork132 comments · 2022-12-14#19126Support gRPC over HTTP/397 comments · 2019-05-23#12295Need more intelligent re-resolution of names85 comments · 2017-08-25#4221PyPy support57 comments · 2015-12-01#14101gRPC tunneling56 comments · 2018-01-20#31772gRPC extension prevents PHP execution53 comments · 2022-11-30#29041Type hints in gRPC Python stubs42 comments · 2022-03-07#37710[Python] Significant test flakiness after upgrading to grpcio 1.66.0 41 comments · 2024-09-12
Discussions
#43605Builds for riscv64 architecture0 comments · 2026-10-06#43192Unexpected end of archive / Data Error” in grpc-1.83.0 Test Data1 comments · 2026-08-07#43163Why does status OK subclass from BadStatus in the ruby library?1 comments · 2026-08-05#43097GRPC shutdown kWorkerThreadMaxSleepBetweenChecks1 comments · 2026-07-29#42892Server side keepalive timeout in grpc C3 comments · 2026-07-03#42629[removed]0 comments · 2026-06-10#42397Cross compilation can run C++program exceptions in rv1126 environment1 comments · 2026-05-14
Latest release
Release v1.81.2 v1.81.2 2026-11-06This is release 1.81.2 (graphic) of gRPC Core. For gRPC documentation, see grpc.io. For previous releases, see Releases. This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- - [Backport][v1.81.x][security] Update gRPC repo roots. (43822) - [EventEngine] Fix a potential use-after-free error on Windows. (42078) - [ssl] Server side handshaker factory stores a map of key signers. (42002) - [Core] Fix completion queue shutdown race on weak memory models (ARM). (41510) - [EventEngine] Fix a Windows race that causes an assertio