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

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

内容简介: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)

下载地址和更新说明


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

查看所有标签

猜你喜欢:

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

智能优化算法及其应用

智能优化算法及其应用

王凌 / 清华大学出版社 / 2001-10 / 22.00元

智能优化算法及其应用,ISBN:9787302044994,作者:王凌著一起来看看 《智能优化算法及其应用》 这本书的介绍吧!

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

html转js在线工具
html转js在线工具

html转js在线工具