All Products
Search
Document Center

Microservices Engine:XXL-JOB

Last Updated:May 22, 2025

This topic provides practice guidelines for Alibaba Cloud XXL-JOB to help you better utilize its features.

Practice guidelines

Migrate self-managed XXL-JOB to Alibaba Cloud XXL-JOB

XXL-JOB is a distributed job scheduling system that distributes jobs to multiple machines for execution. It offers high scalability and fault tolerance. You can migrate jobs from open source XXL-JOB to Alibaba Cloud XXL-JOB. By using the export tool provided by Alibaba Cloud, you can directly export job configurations from open source XXL-JOB, import the configurations to Alibaba Cloud XXL-JOB, and then redeploy XXL-JOB applications for access to Alibaba Cloud XXL-JOB. For more information, see Migrate jobs from self-managed XXL-JOB to Alibaba Cloud XXL-JOB.

Implement canary job scheduling by using label-based routing

Alibaba Cloud XXL-JOB supports label-based routing policies to implement canary job scheduling. If you use label-based routing, you can specify labels to determine the executors to which jobs are scheduled. For more information, see Perform canary job scheduling by using label-based routing.

View operation records

Alibaba Cloud XXL-JOB integrates with Alibaba Cloud ActionTrail. You can log on to the ActionTrail console, search for SchedulerX3 in the cloud service name to view all operation records in the console or API operation records. For more information, see View operation records.

Implement job throttling

Alibaba Cloud XXL-JOB can properly allocate system resources by using job-level and application-level throttling. This prevents the system from being overwhelmed by excessive jobs and reduces resource consumption. For more information, see Configure job throttling.

Import custom calendars

If you want to schedule jobs only on business days or financial trading days, or to pause jobs during promotion activities, you can use the custom calendar feature. This feature allows you to configure jobs to run on specified dates to better meet specific business requirements. For more information, see Import a custom calendar.

Configure monitoring and alerting

Alibaba Cloud XXL-JOB supports monitoring and alerting at the job level and instance level. When a job is running, you can configure monitoring and alerting settings. This can help you monitor the job execution status in real time and identify and handle issues at the earliest opportunity. For more information about monitoring and alerting settings, see Configure monitoring and alerting.

Enable graceful shutdown based on XXL-JOB

Alibaba Cloud XXL-JOB provides the graceful shutdown feature in addition to the features provided by open source XXL-JOB. This feature ensures business continuity during the application restart process. For the scenarios and configuration procedure of the graceful shutdown feature, see Enable graceful shutdown based on XXL-JOB.

Push trending news and analyze financial data based on XXL-JOB and DeepSeek

XXL-JOB is deeply integrated with DeepSeek to periodically push trending financial news and analyze financial data.