jiangdongzi commented on issue #2142:
URL: https://github.com/apache/brpc/issues/2142#issuecomment-1489585288

   > > > > > 请问你那边开发到什么进度了? 我这边已经实现了moved,但是在实现ASK时遇到了问题。能否交流下
   > > > > 
   > > > > 
   > > > > 可以参考下sougou的workflow, workflow 支持 异步redis cluster
   > > > 
   > > > 
   > > > 简单看了下源码啊, 好像不支持smart client, 只是简单处理了MOVED ASK错误
   > > 
   > > 
   > > 我这边仍然在持续开发中,不过最近工作的事情比较忙,还需要一段时间来实现它。 这里 MOVED/ASK 需要在 Controller 
中加入一个抽象层级比较高、逻辑比较干净的重试策略。因为 Controller 本身涉及到的流程相当多,所以改起来是会比较难的。
   > 
   > redis专门定义一个retry_policy如何, 专门处理MOVED ASKING @wwbmmm
   
   @wwbmmm @wayslog 
   
![image](https://user-images.githubusercontent.com/17529657/228710094-74021982-1d0d-4a95-8474-54732d9dc8d9.png)
   
![image](https://user-images.githubusercontent.com/17529657/228710243-2b88e602-473d-4dd1-b563-4ebc784679e1.png)
   这种方式实现MOVED和ASKING看起来自然而然, 基本无侵
   


-- 
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