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 2019/07/16 09:23:46 UTC

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

crise1990 commented on issue #843: 请问 brpc 现阶段是否支持 gRPC 双向streaming?
URL: https://github.com/apache/incubator-brpc/issues/843#issuecomment-511738713
 
 
   > 主要用在什么场景?如果上下游都是brpc,可以用https://github.com/apache/incubator-brpc/blob/master/docs/en/streaming_rpc.md
   
   我们的服务目前基于 brpc(v0.9.5)开发。使用场景为语音识别/合成。
   目前服务版本升级,需要同时支持请求/应答双向流。由于要走 NGINX/openresty 反向代理,所以brpc client方式可能不适合。
   由于brpc的一些特性十分好用,所以我们想在之前brpc server的基础上进行迭代开发,筛选后可行的方案为HTTP/2(brpc不支持Websocket)。
   目前比较符合我们需求的是gRPC streaming RPC(NGINX支持gRPC反向代理)或者HTTP/2 API(考虑过libcurl,但测试发现用libcurl发h2给brpc server会被解析为h1.1)。
   关系为:gRPC client->NGINX/openresty->brpc(gRPC) server

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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