cqdjbb opened a new issue #1644:
URL: https://github.com/apache/incubator-brpc/issues/1644


   有这么一个场景:
     有A,B两台服务器节点和一台服务器节点C。 
C主要是rpc的消息分发。客户端上来的所有rpc调用通过C调用A或者B节点上的rpc服务(RR轮询模式)。但A,B节点需要数据一致性,如多个客户购买商品时,C负责扣款,
 并把扣款成功的消息发送给A,B节点。A,B节点只负责处理发货。
   
   问题:
     1.brpc框架提供file://./nodes.txt中配置节点的广播么。即启动时C把数据发送给A,B节点
     2.新增D节点时,C节应该在什么情况下通知D节点。初步想法是在C对D健康监测时,socket连接上D后发送数据。
   
   期望结果:
      brpc是否有此类机制,或者其他设计思路
   
   
![无标题](https://user-images.githubusercontent.com/96334180/146637355-09f54c11-0aab-49a5-bc14-896b0a1f477b.png)
   
   


-- 
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-unsubscr...@brpc.apache.org

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



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

Reply via email to