You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by "wwbmmm (via GitHub)" <gi...@apache.org> on 2023/02/13 02:49:18 UTC

[GitHub] [brpc] wwbmmm commented on issue #2045: 是否可以加个redis集群client的example, 试了各种参数都没成功

wwbmmm commented on issue #2045:
URL: https://github.com/apache/brpc/issues/2045#issuecomment-1427253760

   > @wwbmmm 我想尝试给brpc加上cluster支持, 您有哪些方面的指导, 建议 或注意的点么
   
   redis cluster要求客户端处理MOVED和ASK指令,需要换ip port发送请求。可以考虑复用controller的重试流程,但不能占用原来的重试次数。
   客户端还需要缓存slot对应的ip、port,这块和LB有耦合,可能需要实现一个redis专属LB,通过Feedback接口反馈slot对应ip、port的信息


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