grpc 1.18.0 发布,谷歌开源的高性能 RPC 框架

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

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

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

1.18.0 更新内容主要是优化、改进和 bug 修复,列出重点如下:

Core

  • Use 32 bit nanopb fields. (#17249)

  • Put most c-ares logs under a tracer. (#17495)

  • Avoid SRV and TXT lookups for localhost. (#17470)

  • Fix bug in subchannel backoff reset code. (#17391)

  • Change pick_first to immediately select the first subchannel in READY state. (#17383)

  • Cancel c-ares queries after a timeout to avoid getting stuck. (#17354)

  • Add gRPC release schedule document. (#17306)

  • Preparation for the new background poller 'epollbg'. (#17244)

C++

  • Allow interceptor creators to return nullptr. (#17544)

C#

  • Use x64 tools on 64-bit Windows in Grpc.Tools (#17437 for master branch). (#17524)

Python

  • Servers are no longer guaranteed to automatically shutdown when garbage collected. Applications must explicitly invoke grpc.Server.stop() to shutdown the server and release its resources. This aligns server behavior with the grpc.Channel.close() semantics introduced in v1.12.0.

  • Add python API to retrieve library version. (#17580)

  • Add Watch method to health check service. (#17597)

  • Refactor server deallocation. (#17444)

  • Add grpcio-status extension package. (#17490)

  • Add gRPC Python Example: Metadata. (#17485)

  • New abort with grpc.Status API. (#17481)

  • Update urllib3 to avoid security vulnerability. (#17476)

  • Add License to Python tarball. (#17411)

  • Revert "Strip manylinux1 binary wheels". (#17412)

  • Surface exceptions from Cython to Python as much as possible. (#16971)

  • Add logging.basicConfig() for example servers. (#17322)

  • Channelz Python wrapper implementation. (#17266)

  • Fix Python blocking interceptors facing RpcError. (#17317)

  • Raise the exception while credential initialization. (#17281)

Ruby

  • Add ruby 2.6 binary packages, drop 2.0 and 2.1. (#17607)

  • server graceful shutdown for pull request. (#17348)

  • Return UNIMPLEMENTED error when user does not implement client_streamer method. (#17290)

下载地址和更新说明


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

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

新零售新市场

新零售新市场

吴宇 / 人民邮电 / 2017-8

本书全面而实操地解析汽车后市场,帮助诸多正在或将要转型的企业科学转型,在竞争激烈的市场中赢得一席之地,真正实现“互联网+”的飞跃与升级。本书适合汽车后市场相关领域从业者、汽车后市场创业者,以及对汽车后市场有兴趣的读者阅读。一起来看看 《新零售新市场》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具