-
Notifications
You must be signed in to change notification settings - Fork 162
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
你好,看到刚刚支持windows,很好啊,打算使用看看。顺便提几个小建议。 #15
Comments
1.加入redis是为了多调度中心来防止单点挂掉的问题,主要是用来做分布式锁,保存任务状态,及接收实时日志的,如果想用sqlite3,v1.1.0前的版本是支持sqlite3和mysql的,调度节点可以使用v1.1.0以前的版本,worker节点需要最新的版本,以前的版本没提供windows的版本,可能需要重新变一下 |
还不如用etcd呢,原生 内嵌 高性能 分布式 |
@l-we 当初想过,但是放弃了,因为要存储list,这个主要保存实时日志的,etcd这个没有办法实现的吧 |
我目前用的是 Dkron,可以参考一下 核心用的是 https://github.com/hashicorp/go-plugin 和 https://github.com/tidwall/buntdb |
1、为了因应小场景使用,建议redis作为可选使用,存储数据库建议支持sqlite3,这样整个系统会比较轻灵,更加方便易用。
2、建议worker增加在其执行任务过程中向中心提交任务执行进度的报告。
3、建议worker与中心之间以http交互,这样方便可以对接其它语言开发的worker。
最后,感谢作者的无私奉献。
The text was updated successfully, but these errors were encountered: