You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2018/10/28 15:38:26 UTC

[GitHub] VitZhou opened a new issue #323: 请问alpha集群是怎么处理grpc双向流的

VitZhou opened a new issue #323: 请问alpha集群是怎么处理grpc双向流的
URL: https://github.com/apache/incubator-servicecomb-saga/issues/323
 
 
   我看了源码,看到tcc的confirm事件是通过grpc的stream来实现服务器推送的. 而这个事件是在客户端发送了onTccEndedEvent事件之后触发的.那么如果alpha做了集群,客户端的请求就会负载到不同的服务端实例上;但是客户端的实例与服务端的双向流stream是1对1绑定的(从源码也可以看出你们在内存中保存了stream握手时的客户端信心).  那么请问,如果服务器的onTccEndedEvent事件并没有发送到与之握手的服务端实例上,服务端怎么通过stream来通知到客户端实例?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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