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)

下载地址和更新说明


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

查看所有标签

猜你喜欢:

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

图灵的秘密

图灵的秘密

Charles Petzold / 杨卫东 / 人民邮电出版社 / 2012-11 / 69.00元

图灵机是英国数学家阿兰•图灵提出的一种抽象计算模型,本书深入剖析了图灵这篇描述图灵机和可计算性的原始论文《论可计算数及其在判定性问题上的应用》。书中在详解论文的同时,也附带了大量的历史背景资料、图灵的个人经历,以及图灵机对于人们理解计算机、人类意识和宇宙所产生的影响。 本书适合所有计算机科学专业的学生、程序员或其他技术人员,同时也适合欲了解图灵生平及其构建图灵机的思维的读者阅读。一起来看看 《图灵的秘密》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具