You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2021/07/26 11:24:19 UTC

[GitHub] [incubator-brpc] jamesge commented on issue #843: 请问 brpc 现阶段是否支持 gRPC 双向streaming?

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


   > > 我理解brpc的定位是服务器之间高效的RPC通信,包括它的设计实现等都能体现这些。@crise1990你想要的其实是客户端和服务器之间的通信(公网),注意这里的客户端是真正意义的移动端。
   > > 目前nginx支持的h2,向下游upstream发送的时候,是不是已经修改为http1.1了啊?
   > 
   > 嗯对,因为之前服务端的设计需要考虑到移动端通信(公网)的问题,而且服务端并没有支持 Websocket(我之前接手的服务端代码是基于 bRPC 框架实现,对外 API 是走 HTTP/1.1 协议)
   > 而服务间调用,之前是想在不大改服务端框架的情况下,找到一种更适合流式服务设计的方法,所以想问下 bRPC 是否已经集成了 gRPC Streaming 特性
   > 
   > 是的,NGINX 即便是目前支持的 h2 或者 h2c,都会在向下游 upstream 发送的时候改为 HTTP/1.x
   
   streaming复杂度蛮高的,brpc默认支持一种streaming模式:https://github.com/apache/incubator-brpc/blob/master/docs/en/streaming_rpc.md ,但目前没有提供对grpc streaming的封装。另外,服务间能走普通rpc还是尽量普通rpc,这儿大概是什么场景,一定要使用streaming模式么?


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org