OpenSource-Hub

grpc

框架

grpc/grpc

Google 开发的高性能 RPC 框架,支持多语言。

项目简介

gRPC 是 Google 开源的现代高性能 RPC 框架,基于 HTTP/2 协议和 Protocol Buffers 序列化。支持多语言跨平台通信,提供流式传输、认证和负载均衡等特性。

README 预览

# gRPC – An RPC library and framework\n\ngRPC is a modern, open source, high-performance remote procedure call (RPC)\nframework that can run anywhere. gRPC enables client and server applications to\ncommunicate transparently, and simplifies the building of connected systems.\n\n\n  \n    Homepage:\n    grpc.io\n  \n  \n    Mailing List:\n    grpc-io@googlegroups.com\n  \n\n\n[](https://gitter.im/grpc/grpc?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n\n## To start using gRPC\n\nTo maximize usability, gRPC supports the standard method for adding dependencies\nto a user's chosen language (if there is one). In most languages, the gRPC\nruntime comes as a package available in a user's language package manager.\n\nFor instructions on how to use the language-specific gRPC runtime for a project,\nplease refer to these documents\n\n-   [C++](src/cpp): follow the instructions under the `src/cpp` directory\n-   [C#/.NET](https://github.com/grpc/grpc-dotnet): NuGet packages\n    `Grpc.Net.Client`, `Grpc.AspNetCore.Server`\n-   [Dart](https://github.com/grpc/grpc-dart): pub package `grpc`\n-   [Go](https://github.com/grpc/grpc-go): `go get google.golang.org/grpc`\n-   [Java](https://github.com/grpc/grpc-java): Use JARs from Maven Central\n    Repository\n-   [Kotlin](https://github.com/grpc/grpc-kotlin): Use JARs from Maven Central\n    Repository\n-   [Node](https://github.com/grpc/grpc-node): `npm install @grpc/grpc-js`\n-   [Objective-C](src/objective-c): Add `gRPC-ProtoRPC` dependency to podspec\n-   [PHP](src/php): `pecl install grpc`\n-   [Python](src/python/grpcio): `pip install grpcio`\n-   [Ruby](src/ruby): `gem install grpc`\n-   [WebJS](https://github.com/grpc/grpc-web): follow the grpc-web instructions\n\nPer-language quickstart guides and tutorials can be found in the\n[documentation section on the grpc.io website](https://grpc.io/docs/). Code\nexamples are available in the [examples](examples) directory.\n\nPrecompiled bleeding-edge p