Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在高可用模式下,是否能指定follower节点,利用follower节点资源 进行业务分析(或者创建子图),从而将分析的压力负荷分担到多个机器? #626

Closed
w00125533 opened this issue Aug 9, 2024 · 5 comments

Comments

@w00125533
Copy link

w00125533 commented Aug 9, 2024

可用模式下,是否能将分析查询的负荷分担到follower节点

@qishipengqsp
Copy link
Collaborator

基于现在的HA算法,follower不会写数据,只能执行读操作的查询。如果使用我们的ha client,读操作可以load balance。但请注意写操作只会在leader节点执行

Copy link

github-actions bot commented Aug 9, 2024

Hello @w00125533. Please provide more info for debugging. Issues labeled by more info needed will be closed if no activities in 7 days.

你好 @w00125533, 我们需要你提供更多信息以便于排查问题。7 天内未跟进此 issue 将会被自动关闭。

@lipanpan03
Copy link
Collaborator

可用模式下,是否能将分析查询的负荷分担到follower节点

除了负载均衡,ha client也可以指定向某个节点发送请求,可以把分析查询制作一个procedure上传到集群中,只在follower上执行该procedure,从而实现分析查询的功能,而不影响leader节点的负载

@w00125533
Copy link
Author

可用模式下,是否能将分析查询的负荷分担到follower节点

除了负载均衡,ha client也可以指定向某个节点发送请求,可以把分析查询制作一个procedure上传到集群中,只在follower上执行该procedure,从而实现分析查询的功能,而不影响leader节点的负载

感谢,解决了我的疑问!

Copy link

github-actions bot commented Aug 9, 2024

Hello @w00125533, please star this repo if you find it useful! Thanks ⭐!

你好 @w00125533。如果这个项目帮助到你,可以在仓库右上角 star 一下,感谢你的 ⭐!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants