The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#) https://grpc.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Craig Tiller 641dbfd4c2 [build] Add an assertion for no leaks, use it for event engine shutdown (#36520) 7 months ago
.bazelci [test-infra] Update all Ubuntu docker images to v20.04 or newer (#35440) 11 months ago
.github [reorg] move xds code to src/core/xds (#36521) 7 months ago
bazel [EventEngine] Enable test-only WindowsEventEngine clients (#35546) 7 months ago
cmake [CMake] Add gRPC_USE_SYSTEMD option (#34384) 8 months ago
doc [Release] Bump version to 1.65.0-dev (on master branch) (#36544) 7 months ago
etc Update root pem certs (#27539) 3 years ago
examples [Python Otel] Use registered method at server side (#36371) 7 months ago
fuzztest [metadata] Remove arena from `grpc_metadata_batch` constructor (#36118) 8 months ago
include [Release] Bump version to 1.65.0-dev (on master branch) (#36544) 7 months ago
spm-core-include Support swift package manager for grpc-core and grpc-cpp. 4 years ago
spm-cpp-include Support swift package manager for grpc-core and grpc-cpp. 4 years ago
src [Release] Bump version to 1.65.0-dev (on master branch) (#36544) 7 months ago
summerofcode Update .cc and .md files 6 years ago
templates [ObjC] Support visionos (#36476) 7 months ago
test [build] Add an assertion for no leaks, use it for event engine shutdown (#36520) 7 months ago
third_party [BoringSSL] Update third_party/boringssl-with-bazel (#36435) 8 months ago
tools [Release] Bump version to 1.65.0-dev (on master branch) (#36544) 7 months ago
.bazelignore [Misc] Added third_party/utf8_range to .bazelignore (#36054) 9 months ago
.bazelrc Add suggested alias for bazelrc import location 6 years ago
.bazelversion [CI] Moved to Bazel 7 (#36105) 9 months ago
.clang-format [clang-format] Remove requirement that port_platform.h is at the top (#36281) 8 months ago
.clang-tidy [CI] Using clang-17 for clang tidy & format (#35595) 11 months ago
.dockerignore [Interop test] Install curl (#33982) 1 year ago
.editorconfig Adding an editorconfig configuration file. 10 years ago
.git-blame-ignore-revs [git] Ignore python style LSC #33138 in git blame (#33396) 2 years ago
.gitallowed .gitallowed modification on the path of test files. 5 years ago
.gitattributes [Clean-up] Removed grpc.gyp (#36077) 9 months ago
.gitignore [Build] Prepared for Bazel 7 (#35374) 12 months ago
.gitmodules [OTel] Add OTel C++ as a submodule (#36032) 10 months ago
.istanbul.yml Moved gRPC node package root to repo root, made it depend on grpc.gyp 9 years ago
.pylintrc [PSM interop] Introduce isort/pylint to the GKE framework (#29476) 3 years ago
.pylintrc-examples Update third_party/protobuf to 3.21.4 (#30377) 2 years ago
.pylintrc-tests [PSM interop] Introduce isort/pylint to the GKE framework (#29476) 3 years ago
.rspec Bundled C core with Ruby library 9 years ago
.yapfignore More pythons to be formatted 5 years ago
.yardopts Adding a .yardopts file at the root so rubydocs isn't getting lost. 9 years ago
AUTHORS [Aio] Unary unary client call barebones implementation 5 years ago
BUILD [Release] Bump version to 1.65.0-dev (on master branch) (#36544) 7 months ago
BUILDING.md Fixed bazel tests for 7 (#35390) 12 months ago
BoringSSL-Package.swift [BoringSSL] Update third_party/boringssl-with-bazel (#36435) 8 months ago
CMakeLists.txt [test] Wait for EE to quiesce in RLSEnd2endTest teardown (#36553) 7 months ago
CODE-OF-CONDUCT.md Fix code of conduct 8 years ago
CONCEPTS.md Tiny update to protocol overview doc. (#26396) 3 years ago
CONTRIBUTING.md Update note on closed feature requests with help wanted label 5 years ago
CONTRIBUTING_STEPS.md Writing a doc with steps to contribute to the grpc code base. 10 months ago
GOVERNANCE.md Add GOVERNANCE.md 5 years ago
Gemfile Bundled C core with Ruby library 9 years ago
LICENSE include full text of MPLv2 license in /LICENSE (#30115) 2 years ago
MAINTAINERS.md Update MAINTAINERS.md with keep-sorted (#35772) 10 months ago
MANIFEST.md Abstract libuv implementation 7 years ago
Makefile [Release] Bump version to 1.65.0-dev (on master branch) (#36544) 7 months ago
NOTICE.txt change LICENSE, add AUTHORS 8 years ago
PYTHON-MANIFEST.in [protobuf] Upgrade third_party/protobuf to 22.x (#32606) 2 years ago
Package.swift [reorg] move xds code to src/core/xds (#36521) 7 months ago
README.md [doc] Core is now C++ (#35676) 11 months ago
Rakefile No public description 9 months ago
SECURITY.md Add security policy doc 4 years ago
TROUBLESHOOTING.md Typo 4 years ago
WORKSPACE [Build] Migrate Android NDK, android rules and platforms (#36116) 9 months ago
_metadata.py [Release] Bump version to 1.65.0-dev (on master branch) (#36544) 7 months ago
black.toml [Python O11Y] Update deps file when building new abseil-cpp (#35681) 11 months ago
build_autogenerated.yaml [test] Wait for EE to quiesce in RLSEnd2endTest teardown (#36553) 7 months ago
build_config.rb [Release] Bump core version 202405022240 (#36515) 7 months ago
build_handwritten.yaml [Release] Bump version to 1.65.0-dev (on master branch) (#36544) 7 months ago
composer.json update required minimal php version to 7.0 4 years ago
config.m4 [Release] Bump version to 1.65.0-dev (on master branch) (#36544) 7 months ago
config.w32 [reorg] move xds code to src/core/xds (#36521) 7 months ago
gRPC-C++.podspec [Release] Bump version to 1.65.0-dev (on master branch) (#36544) 7 months ago
gRPC-Core.podspec [Release] Bump version to 1.65.0-dev (on master branch) (#36544) 7 months ago
gRPC-ProtoRPC.podspec [Release] Bump version to 1.65.0-dev (on master branch) (#36544) 7 months ago
gRPC-RxLibrary.podspec [Release] Bump version to 1.65.0-dev (on master branch) (#36544) 7 months ago
gRPC.podspec [Release] Bump version to 1.65.0-dev (on master branch) (#36544) 7 months ago
grpc.bzl Internal change 1 year ago
grpc.def [build] Restrict visibility for creating core credentials types. (#36216) 8 months ago
grpc.gemspec [reorg] move xds code to src/core/xds (#36521) 7 months ago
package.xml [Release] Bump version to 1.65.0-dev (on master branch) (#36544) 7 months ago
requirements.bazel.txt [python] Cython 3 compatibility: declare functions noexcept. (#35995) 8 months ago
requirements.txt [Python grpcio_tools] Update version requirement of protobuf in grpcio_tools (#36230) 8 months ago
setup.cfg [Build] Shortened python_build to pyb (#34913) 1 year ago
setup.py [reorg] move handshaker code to src/core/handshaker (#36375) 8 months ago

README.md

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: grpc-io@googlegroups.com

Join the chat at https://gitter.im/grpc/grpc

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. 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
Java grpc-java
Kotlin grpc-kotlin
Go grpc-go
NodeJS grpc-node
WebJS grpc-web
Dart grpc-dart
.NET (pure C# impl.) grpc-dotnet
Swift grpc-swift