|author||Shukang Zhou <firstname.lastname@example.org>||Mon Aug 12 15:31:47 2019 -0700|
|committer||Shukang Zhou <email@example.com>||Tue Aug 13 00:10:10 2019 +0000|
[GRPC] Support abstract socket and an connected fd This CL is an re-implementation of commit 35dd92ca0c464fea9cf41ba7e49e9ab34f361366 while gRPC is being upgraded to 1.22.0. This CL adds special handling for Android Studio Profilers and Transport Pipeline in general. (1) Supports Unix abstract domain socket if the input address starts with prefix "unix:@". For example, "unix:@hidden" indicates an abstract socket of name 'hidden'. Note the name of the abstract socket doesn't include the '@' immediately after "unix:". Abstract socket supports both server and client modes. (2) Supports a GRPC client to use an existing socket if the file descriptor as an integer is provided in the format of "unix:&FD". For example, "unix:&123" indicates a socket of file descriptor '123' exists and is going to be used. Existing socket's file descriptor is supported only in clients. Bug: 138846475 Test: will add unit tests in a follow up CL Change-Id: I433df6eae990253b713b10f42d5acfe920e102f1
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.
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
go get google.golang.org/grpc
npm install grpc
gRPC-ProtoRPCdependency to podspec
pecl install grpc
pip install grpcio
gem install grpc
Precompiled bleeding-edge package builds of gRPC
HEAD are uploaded daily to packages.grpc.io.
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.
Sometimes things go wrong. Please check out the Troubleshooting guide if you are experiencing issues with gRPC.
See the Performance dashboard for performance numbers of the latest released version.
See gRPC Concepts
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:
|Shared C [core library]||src/core|