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.
 
 
 
 
 
 
Yijie Ma c8765eb9c4 [OTel plugin] Do not crash when the gauge in `AddCallback` is different from the gauge in `Report` (#37764) 2 months ago
.bazelci [test-infra] Update all Ubuntu docker images to v20.04 or newer (#35440) 11 months ago
.github [Python] Add Sourabh and Sreenithi to Python triage (#37192) 4 months ago
bazel [boringssl] Update boringssl version (#37631) 3 months ago
cmake [OTel] Add find_package call for OTel dependency in installed gRPC configuration (#36674) 6 months ago
doc [release] bump dev version on master branch (#37671) 3 months ago
etc
examples [reorg] move a bunch of stuff to src/core/util (#36792) 2 months ago
fuzztest [reorg] move a bunch of stuff to src/core/util (#36792) 2 months ago
include [tls] Add ValidateCredentials API to the TLS certificate provider. (#37565) 2 months ago
spm-core-include
spm-cpp-include
src [OTel plugin] Do not crash when the gauge in `AddCallback` is different from the gauge in `Report` (#37764) 2 months ago
summerofcode
templates [Interop]Rebuild Go base image to use go1.23.1 (#37723) 2 months ago
test [OTel plugin] Do not crash when the gauge in `AddCallback` is different from the gauge in `Report` (#37764) 2 months ago
third_party [boringssl] Update boringssl version (#37631) 3 months ago
tools [Interop]Rebuild Go base image to use go1.23.1 (#37723) 2 months ago
.bazelignore [Misc] Added third_party/utf8_range to .bazelignore (#36054) 9 months ago
.bazelrc
.bazelversion [CI] Updated Bazel to 7.3.1 (#37546) 3 months ago
.clang-format [clang-format] Remove requirement that port_platform.h is at the top (#36281) 8 months ago
.clang-tidy [CI] A bit update on clang-tidy (#37603) 3 months ago
.dockerignore [Interop test] Install curl (#33982) 1 year ago
.editorconfig
.git-blame-ignore-revs [git] Ignore python style LSC #33138 in git blame (#33396) 1 year ago
.gitallowed
.gitattributes [logging] Centralize configuration for trace flags (#36576) 6 months ago
.gitignore [cleanup] Remove old microbenchmarking diff framework (#36952) 5 months ago
.gitmodules [OTel] Add OTel C++ as a submodule (#36032) 9 months ago
.istanbul.yml
.pylintrc
.pylintrc-examples
.pylintrc-tests
.rspec
.yapfignore
.yardopts
AUTHORS
BUILD [tls] Add ValidateCredentials API to the TLS certificate provider. (#37565) 2 months ago
BUILDING.md Fixed bazel tests for 7 (#35390) 11 months ago
BoringSSL-Package.swift [boringssl] Update boringssl version (#37631) 3 months ago
CMakeLists.txt [reorg] move a bunch of stuff to src/core/util (#36792) 2 months ago
CODE-OF-CONDUCT.md
CONCEPTS.md
CONTRIBUTING.md
CONTRIBUTING_STEPS.md Writing a doc with steps to contribute to the grpc code base. 10 months ago
GOVERNANCE.md
Gemfile
LICENSE
MAINTAINERS.md Adding id for grpc access (#36391) 6 months ago
MANIFEST.md
Makefile [reorg] move a bunch of stuff to src/core/util (#36792) 2 months ago
NOTICE.txt
PYTHON-MANIFEST.in
Package.swift [reorg] move a bunch of stuff to src/core/util (#36792) 2 months ago
README.md [doc] Core is now C++ (#35676) 10 months ago
Rakefile [ruby] drop ruby 2.7 support (#37430) 4 months ago
SECURITY.md
TROUBLESHOOTING.md [Gpr_To_Absl_Logging] Editing the Troubleshooting doc (#37320) 4 months ago
WORKSPACE Replace bind() targets with alias() ones (#35272) 6 months ago
_metadata.py [release] bump dev version on master branch (#37671) 3 months ago
black.toml [Python O11Y] Update deps file when building new abseil-cpp (#35681) 10 months ago
build_autogenerated.yaml [reorg] move a bunch of stuff to src/core/util (#36792) 2 months ago
build_config.rb [release] Bump core version to 44.0.0 (#37661) 3 months ago
build_handwritten.yaml [release] bump dev version on master branch (#37671) 3 months ago
composer.json
config.m4 [reorg] move a bunch of stuff to src/core/util (#36792) 2 months ago
config.w32 [reorg] move a bunch of stuff to src/core/util (#36792) 2 months ago
gRPC-C++.podspec [reorg] move a bunch of stuff to src/core/util (#36792) 2 months ago
gRPC-Core.podspec [reorg] move a bunch of stuff to src/core/util (#36792) 2 months ago
gRPC-ProtoRPC.podspec [release] bump dev version on master branch (#37671) 3 months ago
gRPC-RxLibrary.podspec [release] bump dev version on master branch (#37671) 3 months ago
gRPC.podspec [release] bump dev version on master branch (#37671) 3 months ago
grpc.bzl Internal change 12 months ago
grpc.def [Gpr_To_Absl_Logging] Remove gpr_log. Adding absl LOG wrappers. (#37431) 3 months ago
grpc.gemspec [reorg] move a bunch of stuff to src/core/util (#36792) 2 months ago
package.xml [reorg] move a bunch of stuff to src/core/util (#36792) 2 months ago
requirements.bazel.txt [CallTracer] report transport byte counts directly to `CallTracer` 5 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 telemetry code to src/core/telemetry (#36644) 6 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