Git Product home page Git Product logo

chronus's Introduction

Logo

Chronus是360金融技术团队基于阿里开源项目-TBSchedule进行重写的分布式调度平台,内部经历了5个里程碑版本。平台零开发,无缝支持Dubbo、HTTP协议,期望成为微服务生态轻量级分布式调度平台。为了回馈开源社区,保证开源质量、稳定性,持续投入,开源内部生产版本,内外部版本保持一致。得益于继承TBSchedule良好设计**,Chronus经过大量Job生产验证,稳定性达99.999%。

Architecture

Architecture

Features

  • 平台零开发,业务系统引入SDK,实现接口即可。
  • Master-Worker模式,分布式集群调度,水平扩展,任务自动故障转移,解决大量job调度问题。
  • 调度组物理隔离,基于TAG实现Job的物理隔离执行,重要业务不受影响。
  • 细粒度权限控制,符合内控安全需求。
  • 外部依赖插件化,支持多种注册方式、多种存储方式。
  • 界面友好,丰富的管理功能。

Getting started

Maven dependency

<dependency>
    <groupId>com.qihoo.finance.chronus</groupId>
    <artifactId>chronus</artifactId>
    <version>1.0.0</version>
</dependency>

Defining spring bean handler

@Service("selectExecuteBean")
public class SelectExecuteBean implements ChronusSdkSingleJob<Integer> {
    private static final Logger logger = LogManager.getLogger(SelectExecuteBean.class);

    @Override
    public List<Integer> selectTasks(String taskParameter, List<TaskItemDefineDomain> list, int eachFetchDataNum) throws Exception {
        List<Integer> result = new ArrayList<>();
        //查询数据集合
        return result;
    }

    @Override
    public boolean execute(Integer domain, String taskParameter) throws Exception {
        // 处理集合中的每一项
        return true;
    }
}

Document

Screenshot

login_screenshot task_list_screenshot task_edit_screenshot log_list_screenshot

Downloads

Contact

Who Uses Chronus

请在 谁在使用Chronus #18 提供您的信息共同改变Chronus

360金融

License

Apache 2.0 license. Copyright (C) 360 Finance, Inc.

chronus's People

Contributors

cookiejoo avatar dependabot[bot] avatar madlouse avatar unxiongpu avatar wildwolfbang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chronus's Issues

com.qihoo.finance.chronus.sdk.AbstractSdkService的38行有bug

我发现AbstractSdkService的38行有bug
源代码:
properties.load(this.getClass().getResourceAsStream("/META-INF/maven/com.qihoo.finance.chronus/chronus-sdk-common/pom.properties"));
应改为:
properties.load(this.getClass().getResourceAsStream("/META-INF/maven/com.qihoo.finance.chronus/chronus-sdk-api/pom.properties"));

com.qihoo.finance.chronus.sdk.AbstractSdkService方法声明建议加上泛型、异常

AbstractSdkService的58行第二个参数建议加上泛型及异常,原代码:
public boolean execute(JobConfig jobConfig, List taskItemList, int eachFetchDataNum) {……}
建议修改为:
public boolean execute(JobConfig jobConfig, List<TaskItemDefineDomain> taskItemList,
int eachFetchDataNum) throws Exception{……}

AbstractSdkService的80行同理。

支持metrics

主要支持任务执行超时异常查看与重试

谁在使用Chronus

谁在使用Chronus

非常感谢您的关注与支持,Chronus是360金融首个生产开源项目,内外版本一致,大家可以放心使用,我们会专业团队持续不断的投入改进,期待听到您的声音。期望Chronus能成为CNCF中的一员。

此Issue的目的

  • 聆听社区的声音,让 Chronus 变得更好
  • 吸引更多的人参与贡献
  • 了解更多的需求 ,共同规划项目未来

期望您提供

  • 公司名称:您的公司、组织名称
  • 官网地址:您的官网地址或官微
  • 邮箱地址:您的团队或公司的邮箱
  • 团队名称:您的技术团队名称
  • 所在地: 您的团队或公司的所在地

谢谢您的反馈!!!
一起共建更好的Chronus

two problem when I run

1 front end have to npm update .after that i can run successfully
2.when i no job client ,console html always in loading status

chronus-sdk-http使用错误

ChronusSdkController继承错误
ChronusSdkController extends BaseSdkService?
还是AbstractSdkService,应该不是内部版本吧

用户墙维护

  1. 提供企业用户使用登记地址包括(公司名称,官网地址,地点,联系方式)。
  2. 将早期使用的代表用户LOGO上墙。

chronus-console页面报错

chronus-console首次启动,打开页面时,因mongo中没有cluster配置,前端页面报错。
index.vue 127 行 this.cluster = res[0].cluster

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.