GithubHelp home page GithubHelp logo

donaldjohn / task Goto Github PK

View Code? Open in Web Editor NEW

This project forked from songwie/task

0.0 1.0 0.0 3.42 MB

统一动态任务管理系统

Home Page: https://github.com/songwie/task

Java 6.70% CSS 5.09% HTML 12.65% JavaScript 74.76% PHP 0.09% ActionScript 0.67% Batchfile 0.02% Shell 0.02%

task's Introduction

统一任务管理系统

代码地址:https://github.com/songwie/task

下载地址:http://songwie.com/attached/task/task-web.war

任务管理系统是一个java 实现的,spring 集成quartz的动态任务管理系统, 通过该应用可以动态管理任务的调用,无需重启服务。

      任务既可以通过http 的方式调用统一RES 的方式调用其它项目任务,也可以在task 中管理执行自己任务,部署task 新任务,通过 虚拟机class reload,无需重启。

技术架构:

            spring boot + spring-data-jpa + jquery

截图:

启动方式:

spring boot启动: java -jar C:\Users\sw\Desktop\task-web.war

或者运行根目录下的start.sh 具体参数为:

nohup java -Xms500m -Xmx500m -Xmn100m -XX:PermSize=64m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+UseCMSCompactAtFullCollection -XX:CMSFullGCsBeforeCompaction=0 -XX:CMSInitiatingOccupancyFraction=70 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1986 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -jar task-web.war --spring.profiles.active=test --datasource.druid.url=jdbc:mysql://127.0.0.1:3306/task --datasource.druid.username=root --datasource.druid.password=root &

以上根据实际情况修改数据库地址、用户名、密码

后续改造路线:

1. 完善日志监控,任务监控

2. 集成mq(activemq等)把任务消息触发异步化,应用只需要集成mq消息的客户端即可接收定时任务,兼容非web应用,作为统一消息平台

3. 任务切分,基于主流的3层任务切分思路把单一的任务分为a.任务切分、b.任务data load c.任务执行excute三个阶段  最终把任务打散切分到整个集群减少单一节点压力。

task's People

Contributors

songwie avatar

Watchers

Donald John avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.