Giter VIP home page Giter VIP logo

Comments (3)

askuy avatar askuy commented on May 23, 2024

是的。我们认为一个项目不会有太多定时任务,看了下一个cron、一个job,对业务不会有太大影响。之所以这么设计是为了方便控制定时任务的时间、还有分布式锁,粒度可以控制到job。

from ego.

optimistic9527 avatar optimistic9527 commented on May 23, 2024

@askuy 在我当前业务场景中,定时任务非常多,基本上都是按照业务类型进行的job分类,一类的job进行一个分布式锁进行控制。我个人认为,cron job进行组的控制更加符合业务需求。如果你也同意,后续我可以提供PR.

from ego.

askuy avatar askuy commented on May 23, 2024

@askuy 在我当前业务场景中,定时任务非常多,基本上都是按照业务类型进行的job分类,一类的job进行一个分布式锁进行控制。我个人认为,cron job进行组的控制更加符合业务需求。如果你也同意,后续我可以提供PR.

可以的。不过按cron job,可能会导致配置复杂,需要权衡易用性和配置难度

from ego.

Related Issues (20)

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.