GithubHelp home page GithubHelp logo

delay-schedule's People

Contributors

wanghui2333 avatar wkkata avatar yangxb2010000 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

Forkers

wanghui2333

delay-schedule's Issues

Client端一期开发

  1. 监听Zookeeper获取SchedulerServer List
  2. 根据taskId sharding调用对应的ScheduleServer
  3. 尽可能的把传输层做抽象,暂时考虑基于grpc或http与ScheduleServer通信。

二期预研工作:Schedule Server

  1. 添加Metric逻辑
  2. 收集Schedule Server运行时各种指标,如:延时任务是否到期执行,执行延时任务时堵塞情况
  3. 考虑实现Dashboard管理系统,可以直观查看Scheduler Server的各种运行时状态,并可以操作
  4. 对Schedule Server做benchmark性能测试

Schedule Server 一期task正常流程处理逻辑

  1. 实现schedule server add task、持久化DB、执行task的核心逻辑
  2. 基于上面的核心逻辑对外暴露http接口,与client可以联调
  3. 实现schedule server支持动态设置覆盖slot(rebalance、重启时会调用该逻辑)

ScheduleServer 一期 对zookeeper相关逻辑处理

  1. 服务启动时注册到zookeeper
  2. 基于zookeeper实现选主
  3. 主Schedule Server需要负责监听SchedulerServer列表,如果有变化执行rebalance操作
  4. 监听自己的zookeeper上当前Schedule Server负责的slot,如果有变化就重新设置slot

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.