crise1990 commented on issue #843:
URL: https://github.com/apache/incubator-brpc/issues/843#issuecomment-886602375


   > 
我理解brpc的定位是服务器之间高效的RPC通信,包括它的设计实现等都能体现这些。@crise1990你想要的其实是客户端和服务器之间的通信(公网),注意这里的客户端是真正意义的移动端。
   > 
   > 目前nginx支持的h2,向下游upstream发送的时候,是不是已经修改为http1.1了啊?
   
   是的,因为之前服务端的设计需要考虑到移动端通信(公网)的问题。
   这个需求当时是想在不改变服务端框架的情况下,找到一种可以实现类似 Websocket 这类更适合流式服务设计的方法或者协议,所以之前在 HTTP/2 和 
gRPC Streaming 这两种方案中进行选型(当然 gRPC 本质上也是 HTTP/2)。
   
--------------------------------------------------------------------------------
   是的,NGINX 支持的 h2 或者 h2c,在向下游 upstream 发送时会被改为 HTTP/1.x。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to