NGINX将在1.13.10版本中包含grpc相关功能。
<p dir="auto">这个版本支持NGINX代理gRPC TCP连接。可以用来:<br />
<br />
<ul>
<li>发布gRPC服务,包括未加密/加密的gRPC服务。
<li>通过单个endpoint发布多个gRPC服务,使用NGINX路由到后端服务。 甚至可以和其他HTTP/2服务使用相同的endpoint,例如网站和 REST API。
<li>反向代理gRPC服务,对gRPC服务集群进行负载均衡。
<h1><strong>什么是gRPC?
<p dir="auto">gRPC是一种rpc协议,用于客户端和服务端之间的通信。 gRPC设计的很紧凑并且多语言支持良好,同时支持request/response模式和流式交互。 由于其广泛的语言支持和简单面向用户的设计,该协议越来越受欢迎,其中包含服务混搭(service mesh)实现 。<br />
<br />
无论是明文还是TLS加密,gRPC都通过HTTP/2传输。 gRPC request使用HTTP <code>POST请求。 gRPC response也使用类似的方式,并在response结束时使用HTTP trailer 发送状态码。<br />
<p dir="auto">因为gRPC使用了HTTP/2的连接复用和流式传输功能,所以gRPC不能使用HTTP 1.x。
<p dir="auto"><br />
<p dir="auto"><span>原文: <a href="https://mp.weixin.qq.com/s?__biz=MzAwMDU1MTE1OQ==&mid=2653549469&idx=1&sn=3d0ff10b4e309e591177f75c54b14216&chksm=813a6205b64deb13c6563e974dc7b390eec69f37747199ea8576a322bc41c9ec9e4e44b4a2e6&mpshare=1&scene=1&srcid=0320bAcamMCZ05N89UZ6cq1c&rd2werd=1#wechat_redirect" target="_blank" rel="nofollow noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://mp.weixin.qq.com/s?__biz=MzAwMDU1MTE1OQ==&mid=2653549469&idx=1&sn=3d0ff10b4e309e591177f75c54b14216&chksm=813a6205b64deb13c6563e974dc7b390eec69f37747199ea8576a322bc41c9ec9e4e44b4a2e6&mpshare=1&scene=1&srcid=0320bAcamMCZ05N89UZ6cq1c&rd2werd=1#wechat_redirect
支持一下
这个杠杆的
Congratulations @brucel! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Do not miss the last post from @steemitboard:
Vote for @Steemitboard as a witness to get one more award and increased upvotes!
Congratulations @brucel! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Do not miss the last post from @steemitboard:
Vote for @Steemitboard as a witness to get one more award and increased upvotes!