This guide explains how to conduct a performance test for MSE task scheduling.
Prerequisites
You have created an MSE XXL-JOB instance.
You have created an ECS instance.
Background information
XXL-JOB versions
Client version: 2.2.x.
Server version: 2.1.x or later. The latest version is recommended.
Key performance test metrics include:
CPU utilization of the XXL-JOB server when running the maximum number of jobs at the highest scheduling frequency.
System stability under sustained maximum load.
Test environment
Task scheduling server.
Test duration: 24-hour continuous stress test.
Business executor
Create a job execution application cluster in the same region and VPC as the server.
Use an instance with a high-performance specification (4-core, 8 GiB or higher) to prevent task execution from becoming a performance bottleneck.
Test load
Create the maximum number of jobs allowed by your instance specification. For example, a small x2 specification.
Job scheduling volume
Create 300 jobs. For each job, set the Cron expression to
*/1 * * * * ?to run once per second.Continuously monitor the scheduling rate to verify it meets the expected 18,000 jobs per minute.