Font Size: a A A

The Design And Implementation Of Job Scheduling System Based On Quartz

Posted on:2017-01-16Degree:MasterType:Thesis
Country:ChinaCandidate:W W YinFull Text:PDF
GTID:2518304835988339Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
With the gradually increasing size of company,the daily number of process jobs in DianPing has reached tens of thousands and the existing scheduling system,Taurus,often appears job scheduling queues.It's unable to efficiently complete business needs of each sector now.Thus marriage department decided to develop a job scheduling system within the department.Reference to Taurus' system design framework,the new system will improve the performance on the basis of it.The system will maintain an independent business.There are four existing implementation of scheduling system,including job scheduling framework Quartz,JcronTab,ScheduledExecutorService interface and Timer class.Compared to Timer and ScheduledExecutorService which only based on the start time or repeat interval,Quartz and JcronTab are both better support for complex scheduling needs.Quartz founded earlier,the code is mature and well documented.Spring Framework integrates and simplifies Quartz,which can be easily applied to the Web project.So marriage department chose Quartz as the scheduling framework of the system.The target of this system is to develop a job scheduling system based on the Quartz.In the scheduling system,jobs and services are deployed on different servers to achieve the separation layer of scheduling layer and job layer.System supports CRUD operations on tasks through the Web page,supports dynamic modification of the jobs' scheduling state with immediate effect,and also supports the job server clusters.System bases on SpringMVC+iBATIS framework,the front pages of the system are achieved by Freemarker,job scheduling is implemented by Quartz framework,telecommunications are implemented by Http+servlet,job information is cured in MySQL.System is divided into two parts:scheduling center and job service.Users can add,modify,view and delete job information at the scheduling center,view the scheduling log to monitor scheduling state,suspend scheduling or resume scheduling,and can also manually trigger jobs and make the performing job aborted.Users can set a fail alarm threshold,when a task fails more times than the threshold,the system will send an alarm message.Job service is mainly responsible for receiving the requests from scheduling center to perform jobs or suspend them.Currently,the system has been on-line in the DianPing's marriage department.Until December 2015,there are 59 tasks within the department.The jobs are scheduled in order and almost no queuing phenomena.For the follow-up we will perfect the function and improve the availability and stability of the system.
Keywords/Search Tags:Job Scheduling, Spring MVC, Quartz, ibatis
PDF Full Text Request
Related items