Comments (4)
1.加入redis是为了多调度中心来防止单点挂掉的问题,主要是用来做分布式锁,保存任务状态,及接收实时日志的,如果想用sqlite3,v1.1.0前的版本是支持sqlite3和mysql的,调度节点可以使用v1.1.0以前的版本,worker节点需要最新的版本,以前的版本没提供windows的版本,可能需要重新变一下
2.这个没办法发送执行任务进度吧,如果你想知道任务的运行状况,可以在你运行的程序输出日志,页面上是可以查看到实时日志的。
3.目前是采用grpc交互的,如果想使用其他语言,可以实现proto文件定义的接口就可以,http这块因为需要worker定时发送心跳信息,注册等问题目前没法支持http。
from crocodile.
还不如用etcd呢,原生 内嵌 高性能 分布式
from crocodile.
@l-we 当初想过,但是放弃了,因为要存储list,这个主要保存实时日志的,etcd这个没有办法实现的吧
from crocodile.
@l-we 当初想过,但是放弃了,因为要存储list,这个主要保存实时日志的,etcd这个没有办法实现的吧
我目前用的是 Dkron,可以参考一下 核心用的是 https://github.com/hashicorp/go-plugin 和 https://github.com/tidwall/buntdb
from crocodile.
Related Issues (20)
- ./crocodile-linux-amd64 server -c core.toml执行时报错redis连接不上 HOT 1
- 使用docker-compose 启动后,任务无法执行 HOT 1
- 容器化部署server后client注册的IP成了Server宿主机的IP
- 任务创建以后没有正常执行,无任何执行记录 HOT 5
- 使用体验建议 HOT 1
- 管理页面的路径能否增加一层app name的配置
- worker如果挂了如何处理 HOT 2
- 路由策略 HOT 2
- docker-compose安装成功,网页打不开
- casbin有缓存机制 HOT 1
- casbin有缓存机制,新创建的用户在其它server上没有权限。
- redis: 2021/07/22 11:07:56 pubsub.go:159: redis: discarding bad PubSub connection: redis: ping timeout
- 客户端收不到执行任务
- 生成proto文件的时候缺少crocodile.task该怎么办
- 你好请问如何添加主机呢?
- 取消日志只是取消了服务端接收,客户端的任务还在进行中
- 分享下我画出来的流程图 HOT 4
- 使用docker-compose启动,设置新任务似乎没有反应。
- 怎么注册代码任务,比如golang
- 多调度器部署存在多次执行风险
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crocodile.