This topic describes the terms that are related to SchedulerX to help you better understand and use SchedulerX.
- AppGroup
- AppGroups refer to application groups. AppGroups are mapped to applications and associated with workers. AppGroups are used to isolate jobs that belong to different applications.
- DAG
- DAG stands for Directed Acyclic Graph. A DAG consists of directed edges with no directed circles.
- Job
- Jobs are the smallest schedulable units in SchedulerX.
- Job instance
- Each time the system triggers a job, the system generates a job instance.
- Namespace
- SchedulerX uses namespaces to isolate resources. Namespaces are logically isolated from each other. You can use namespaces to isolate resources in different environments and use the same account to centrally manage the namespaces and resources.
- Task
- Tasks are created when the system calls the map method in parallel computing, memory grid, or grid computing mode.
- Work Flow
- Workflows are used to orchestrate jobs. Each workflow is a DAG.
- Scheduled time
- Scheduled time refers to the time at which a job instance is scheduled to run. The JobProcessor can retrieve the scheduled time from
context.getScheduleTime()
.
- Time-series data
- SchedulerX allows you to process time series data. When you create a job, you can configure a time offset for the job to process data that is updated at a point in time different from the time when the job is triggered. For example, a job is triggered at 00:30 every day. If you want to use the job to process data that was updated at 23:30 on the previous day, you must set the time offset of the job to 1 hour. The job is still triggered at 00:30. After the job is triggered, the job uses the
context.getDataTime()
method to retrieve the data that was updated at 23:30 on the previous day.