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.
 
 
 
 
 
 
Mark D. Roth 148f59c15a [reorg] move LB policy code to src/core/load_balancing (#35786) 10 months ago
.bazelci [test-infra] Update all Ubuntu docker images to v20.04 or newer (#35440) 11 months ago
.github [Github Labeler] Avoid add Python label for observability_lib_deps.py changes (#35668) 10 months ago
bazel Remove registered_methods_map experiment (#35673) 10 months ago
cmake [deps] Upgrade protobuf version to v25.0 (#34513) 1 year ago
doc Writing a doc with steps to contribute to the grpc code base. 10 months ago
etc Update root pem certs (#27539) 3 years ago
examples [examples] Update SSA client example (#35799) 10 months ago
fuzztest [transport] Split metadata_batch into its own target (#35496) 11 months ago
include Adding clang format file to each folder (#35727) 10 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 [reorg] move LB policy code to src/core/load_balancing (#35786) 10 months ago
summerofcode
templates [ruby] add distrib tests for ruby 3.1-3.3 (#35788) 10 months ago
test [reorg] move LB policy code to src/core/load_balancing (#35786) 10 months ago
third_party [Build] Workaround for protobuf-at-head test (#35798) 10 months ago
tools [reorg] move LB policy code to src/core/load_balancing (#35786) 10 months ago
.bazelignore Rehome python bazel distribtest (#29275) 3 years ago
.bazelrc
.bazelversion [Build] Dropped Bazel 5.x and Upgraded Bazel 6.4.0 (#34813) 1 year ago
.clang-format [PSM Interop] Restore "Report per-RPC metadata if requested. (#33939)" (#34037) 1 year ago
.clang-tidy [CI] Using clang-17 for clang tidy & format (#35595) 10 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 [deps] Upgrade protobuf version to v25.0 (#34513) 1 year ago
.gitignore [Build] Prepared for Bazel 7 (#35374) 11 months ago
.gitmodules [Deps] Fully vendored upb again (#34508) 1 year ago
.istanbul.yml
.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
.yapfignore
.yardopts
AUTHORS
BUILD [reorg] move LB policy code to src/core/load_balancing (#35786) 10 months ago
BUILDING.md Fixed bazel tests for 7 (#35390) 11 months ago
CMakeLists.txt [reorg] move LB policy code to src/core/load_balancing (#35786) 10 months ago
CODE-OF-CONDUCT.md
CONCEPTS.md Tiny update to protocol overview doc. (#26396) 3 years ago
CONTRIBUTING.md
CONTRIBUTING_STEPS.md Writing a doc with steps to contribute to the grpc code base. 10 months ago
GOVERNANCE.md
Gemfile
LICENSE include full text of MPLv2 license in /LICENSE (#30115) 2 years ago
MAINTAINERS.md [grpc] Helping to keep the maintainer list sorted (#35593) 10 months ago
MANIFEST.md
Makefile [reorg] move LB policy code to src/core/load_balancing (#35786) 10 months ago
NOTICE.txt
PYTHON-MANIFEST.in [protobuf] Upgrade third_party/protobuf to 22.x (#32606) 2 years ago
Package.swift [reorg] move LB policy code to src/core/load_balancing (#35786) 10 months ago
README.md [doc] Core is now C++ (#35676) 10 months ago
Rakefile [ruby] Build/test ruby 3.3 and build native gems with Ruby 3.3 support (#35399) 11 months ago
SECURITY.md Add security policy doc 4 years ago
TROUBLESHOOTING.md
WORKSPACE Fix breakage when built against protobuf head (#34945) 10 months ago
_metadata.py [Release] Bump version to 1.62.0-dev (on master branch) (#35580) 11 months ago
black.toml [Python O11Y] Update deps file when building new abseil-cpp (#35681) 10 months ago
build_autogenerated.yaml [reorg] move LB policy code to src/core/load_balancing (#35786) 10 months ago
build_config.rb Bump c-core version 202401121911 (#35543) 11 months ago
build_handwritten.yaml [ObjC] Update swift package (#35686) 10 months ago
composer.json update required minimal php version to 7.0 4 years ago
config.m4 [reorg] move LB policy code to src/core/load_balancing (#35786) 10 months ago
config.w32 [reorg] move LB policy code to src/core/load_balancing (#35786) 10 months ago
gRPC-C++.podspec [reorg] move LB policy code to src/core/load_balancing (#35786) 10 months ago
gRPC-Core.podspec [reorg] move LB policy code to src/core/load_balancing (#35786) 10 months ago
gRPC-ProtoRPC.podspec [Release] Bump version to 1.62.0-dev (on master branch) (#35580) 11 months ago
gRPC-RxLibrary.podspec [Release] Bump version to 1.62.0-dev (on master branch) (#35580) 11 months ago
gRPC.podspec [CocoaPods] Re-work how privacy manifests are exposed (#35542) 10 months ago
grpc.bzl Internal change 12 months ago
grpc.def [tls] Add set min/max TLS version APIs to TLS credentials APIs. (#34861) 12 months ago
grpc.gemspec [reorg] move LB policy code to src/core/load_balancing (#35786) 10 months ago
grpc.gyp [reorg] move LB policy code to src/core/load_balancing (#35786) 10 months ago
package.xml [reorg] move LB policy code to src/core/load_balancing (#35786) 10 months ago
requirements.bazel.txt [buildgen] Ensure virtualenv is installed (#35624) 10 months ago
requirements.txt [dependency] Restrict cython to less than 3.X (#33738) 1 year ago
setup.cfg [Build] Shortened python_build to pyb (#34913) 1 year ago
setup.py [BoringSSL] Update third_party/boringssl-with-bazel (#35768) 10 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