https://blog.csdn.net/qq924862077/article/details/82595948
https://blog.csdn.net/qq924862077/article/details/82708610
https://blog.csdn.net/qq924862077/article/details/82713439
https://blog.csdn.net/qq924862077/article/details/82713758
https://blog.csdn.net/qq924862077/article/details/82717577
https://www.oschina.net/question/1020652_2279447?p=1
之前在工作中有接觸許雪里開源的分布式任務調度平台XXL-JOB,最近經過一段時間的源碼系統學習,今天簡單寫一篇博客介紹一下。
一、完整介紹地址:官方介紹 http://www.xuxueli.com/xxl-job
二、最新版本架構圖:

三、介紹
目前我們在項目中可能接觸到定時任務框架quartz,應用也是比較廣泛的,其也是支持分布式任務調度的,通過數據庫競爭鎖來實現,當然會有很多的局限性(可能這也是xxl-job出現的原因),quartz支持多種數據庫(https://github.com/quartz-scheduler/quartz/tree/master/quartz-core/src/main/resources/org/quartz/impl/jdbcjobstore),xxl-job其實也是在quartz的基礎上實現的,但是修改了任務調度的模式,並且任務調度采用注冊和RPC調用方式來實現。
管理后台:

四、技術棧
mysql、SSM,內置jetty作為RPC服務調用、quartz
五、xxl-job支持Postgresql數據庫
目前由於xxl-job只支持mysql數據庫,目前在github上拉了一個分支支持Postgresql 地址 GitHub地址 https://github.com/IAMTJW/xxl-job
