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

beanstalkd水平扩展的问题 #12

Open
JiaRG opened this issue Aug 15, 2024 · 1 comment
Open

beanstalkd水平扩展的问题 #12

JiaRG opened this issue Aug 15, 2024 · 1 comment

Comments

@JiaRG
Copy link

JiaRG commented Aug 15, 2024

beanstalkd 目前还不支持水平扩展进行高可用,只能进行二次开发了,用 c 实现 raft 协议然后集成进去 改动的地方还挺多的并且性能也是个问题
是否可以考虑在客户端 sdk 侧增加连接池的方式进行支持,然后根据 jobId hash 分配到固定的服务 ip 来实现呢

@dinstone
Copy link
Owner

目前是没有这个打算的哈。因为很多公司的延迟任务方案,会在beanstalkd集群前有一个代理做HA,屏蔽集群的运营和复杂性,同时保存客户端的稳定性。还要一个替代方案就是基于Redis集群的延迟任务方案,类似于Grape项目,中小公司可以考虑。

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

No branches or pull requests

2 participants