lorock / crontabd Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mbinge/crontabd
定时任务系统,扩展了秒和年的支持,单机并发50w/s
This project forked from mbinge/crontabd
定时任务系统,扩展了秒和年的支持,单机并发50w/s
==Crontabd== 命令支持: ./ncat 127.0.0.1:8765 add <id> <key> <sec> <min> <hour> <day> <month> <week> <year> del <id> <key> <sec> <min> <hour> <day> <month> <week> <year> begin <unixtime> end <unixtime> log on | off status keepalive id: 数字标识 key: 字符标识 begin: 从设定的时间生效 end: 到设定的时间失效 log: 打开或者关闭日志输出 status: 显示设定 keepalive:启动 monitord 后用于保持高可用 *注:begin 和end 配合使用可以实现主备间无缝切换工作(switch 脚本) ==Monitord== 配置机器列表后与其通信,失败后自动寻找一个可用机器为工作服务器 ==并发== 系统自带的 crontab 为进程模型,单机并发<500,并且不能满足秒和年两级需求 crontabd 为 go 编写,并发在50w/s 默认配置为 kafka 输入和输出. TCP 输入和输出: 考虑通用性,可自行配置 target 以支持TCP方式向特定主机文本输出 通过 ncat 可直接向系统add和del 定时项 这种模式下均以文本形式交互
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.