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

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

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

下载地址和更新说明


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

查看所有标签

猜你喜欢:

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

Java性能优化权威指南

Java性能优化权威指南

Charlie Hunt、Binu John / 柳飞、陆明刚 / 人民邮电出版社 / 2014-3 / 109.00 元

Java性能优化圣经!Java之父重磅推荐! 本书由曾任职于Oracle/Sun的性能优化专家编写,系统而详细地讲解了性能优化的各个方面,帮助你学习Java虚拟机的基本原理、掌握一些监控Java程序性能的工具,从而快速找到程序中的性能瓶颈,并有效改善程序的运行性能。 Java性能优化的任何问题,都可以从本书中找到答案!一起来看看 《Java性能优化权威指南》 这本书的介绍吧!

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

在线XML、JSON转换工具

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

Markdown 在线编辑器

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具