发布于 2017-09-01 04:19:14 | 256 次阅读 | 评论: 0 | 来源: 网友投递
GRPC RPC 框架
GRPC 是一个高性能、开源和通用的 RPC 框架,面向移动和 HTTP/2 设计。目前提供 C、Java 和 Go 语言版本,分别是:grpc, grpc-java, grpc-go. 其中 C 版本支持 C, C++, Node.js, Python, Ruby, Objective-C, PHP 和 C# 支持.
GRPC Java 1.6.1 已发布,GRPC 是一个高性能、开源、通用的 RPC 框架,面向移动和 HTTP/2 设计,是由谷歌发布的首款基于 Protocol Buffers 的 RPC 框架,GRPC Java 是 GRPC 的 Java 实现。
GRPC 基于 HTTP/2 标准设计,带来诸如双向流、流控、头部压缩、单 TCP 连接上的多复用请求等特性。这些特性使得其在移动设备上表现更好,更省电且节省空间占用。
主要更新内容:
Android users should no longer need -keep
s in their ProGuard configuration (#2633)
gRPC is no longer using the current Thread’s “context ClassLoader” when searching for transport Providers (#2375). Instead it is using the current class’s ClassLoader. This should not break existing users and work out-of-the-box in a larger number of environments
Fix support for Google AppEngine Java 8 (#3296)
Log netty connection errors at FINE instead of SEVERE (#1768)
Update netty to 4.1.14 and tcnative to 2.0.5 (#3307)
Channel state API is now implemented via ManagedChannel.getState/notifyWhenStateChanged
. This requires LoadBalancer support; custom LoadBalancers should be updated to call updateBalancingState()
instead of updatePicker()
Referencing CallCredentials is now stable API (#3289). Implementing or consuming CallCredentials is still ExperimentalApi
New method ClientCallStreamObserver.cancel()
allows clients to cancel RPCs without requiring using an interceptor or Context (#3115)
下载地址: