GRPC 1.15.0 发布,Google 高性能 RPC 框架

栏目: 软件资讯 · 发布时间: 7年前

内容简介:GRPC 1.15.0 已发布,GRPC 是一个高性能、开源、通用的 RPC 框架,面向移动和 HTTP/2 设计,是由谷歌发布的首款基于 Protocol Buffers 的 RPC 框架。 GRPC 基于 HTTP/2 标准设计,带来诸如双向流、流控、头部压缩...

GRPC 1.15.0 已发布,GRPC 是一个高性能、开源、通用的 RPC 框架,面向移动和 HTTP/2 设计,是由谷歌发布的首款基于 Protocol Buffers 的 RPC 框架。 GRPC 基于 HTTP/2 标准设计,带来诸如双向流、流控、头部压缩、单 TCP 连接上的多复用请求等特性。这些特性使得其在移动设备上表现更好,更省电且节省空间占用。

该版本包含优化、改进和 bug 修复,亮点包括:

Core

  • Document SSL portability and performance considerations. 详情

  • Simplify call arena size growth. (#16396)

  • Make gRPC buildable with AIX and Solaris (no official support). (#15926)

  • PF: Check connectivity state before watching. (#16306)

  • Added system roots feature to load roots from OS trust store. (#16083)

  • Fix c-ares compilation under windows (but doesn't yet enable windows DNS queries), and then enables address sorting on Windows. (#16163)

  • Fix re-resolution in pick first. (#16076)

  • Allow error strings in final_info to propagate to filters on call destruction. (#16104)

  • Add resolver executor . (#16010)

  • Data race fix for lockfree_event. (#16053)

  • Channelz: Expose new Core API. (#16022)

C++

  • cmake: disable assembly optimizations only when necessary. (#16415)

  • C++ sync server: Return status RESOURCE_EXHAUSTED if no thread quota available. (#16356)

  • Use correct target name for gflags-config.cmake. (#16343)

  • Make should generate pkg-config file for gpr as well. (#15295)

  • Restrict the number of threads in C++ sync server. (#16217)

  • Allow reset of connection backoff. (#16225)

C#

  • Add experimental support for Xamarin.Android and Xamarin.iOS, added Helloworld example for Xamarin. 详情

  • Add experimental support for Unity Android and iOS. 详情

  • Add server reflection tutorial. 详情

  • Avoid deadlock while cancelling a call. (#16440)

  • Subchannel sharing for secure channels now works as expected. (#16438)

  • Allow dot in metadata keys. (#16444)

  • Avoid shutdown crash on iOS. (#16308)

  • Add script for creating a C# package for Unity. (#16208)

  • Add Xamarin example. (#16194)

  • Cleanup and update C# examples. (#16144)

  • Grpc.Core: add support for x86 android emulator. (#16121)

  • Xamarin iOS: Add libgrpc_csharp_ext.a for iOS into Grpc.Core nuget. (#16109)

  • Xamarin support improvements . (#16099)

  • Mark native callbacks with MonoPInvokeCallback. (#16094)

  • Xamarin.Android: add support. (#15969)

Objective-C

  • Make BoringSSL symbols private to gRPC in Obj-C so there is no conflict when linking with OpenSSL. (#16358)

  • Use environment variable to enable CFStream. (#16261)

  • Surface error_string to ObjC users. (#16271)

  • Fix GRPCCall refcounting issue. (#16213)

Python

  • Added support for client-side fork on Linux and Mac by setting the environment variable GRPC_ENABLE_FORK_SUPPORT=1. Applications may fork with active RPCs, as long as no user threads are currently invoking gRPC library methods. In-progress RPCs continue in the parent process, and the child process may use gRPC by creating new channels. (#16264)

  • Improve Pypy compatibility. (#16364)

  • Segmentation fault caused by channel.close() when used with connectivity-state subscriptions. (#16296)

  • Add server reflection guide for Python. 详情

  • Refresh pb2 files in examples/python/multiplex. (#16253)

  • Adding python version environmental markers in the new style. (#16235)

  • Add a matching _unwrap_grpc_arg. (#16197)

  • Add Cython functionality to directly wrap grpc_arg. (#16192)

下载地址:


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上所述就是小编给大家介绍的《GRPC 1.15.0 发布,Google 高性能 RPC 框架》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

创投42章经

创投42章经

曲凯 / 中信出版集团 / 2018-10-20 / 58.00

《创投42章经》是拥有百万粉丝的微信公众号“42章经”的精选文章合集,全书共分为心法、内功、招式和江湖传奇四部分。 在心法部分,读者可以学到一些创业与投资的底层思维方式;在内功部分,读者可以了解到,投资人看待一家公司经营状况的标准;在招式部分,读者可以看到作者作为一名资深投资人和睿智的观察者,对过去几年主要的公司、模式以及风口的判断;最后的江湖传奇部分,作者通过一些故事,帮助读者更好地理解当......一起来看看 《创投42章经》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码