Batch Service
Batch service is a service that enables transactions that would take a long time to process and cannot be handled by normal request processing. This service consists of batch processing and a scheduler. Users can define scripts for data aggregation processing and schedule them to run at predetermined times. Scripts can call databases, files, and REST APIs as well as actions.
Tips
The functions provided by this service are as follows:
- Creating and editing job definitions
- Job scheduling
- Job execution
- Job monitoring
In describing batch services, we will explain terms that appear in the text.
Terminology | Explanation |
---|---|
Job | Unit of batch processing invoked by this service |
Job Definition | Definition of how the job is to be executed. Scripts, execution triggers, and execution timeouts can be configured. |
Job Queue | The job is sent to the job queue and remains in the job queue until it is ready to run. Jobs are scheduled on a first-in, first-out (FIFO) basis. |
Job Sending | Sending a job to the job queue. The timing of when a job is sent is as follows: 1. When the "Execute Job" button is pressed by the user. 2. When the trigger condition set in the job definition is met. |
Job Execution | The execution of a job in the job queue. |
Job Exit Code | If the job is successful:0 (fixed) If the job fails:other than 0 (Can be specified arbitrarily in scripts with the built-in function exit()) |
Job Status | Status of jobs in the job queue. Please check the job status in Monitoring for the details of the status. |
Job Termination | To stop a job in the job queue. The status of the stopped job will transition to "Failed" . Stopping may take several minutes. |
Job Creation Time | Time when the job status transitioned to "Waiting" . |
Job Start Time | Time when the job status changes to "Running" . |
Job Stop Time | Time when the job status transitioned to "Succeded" or "Failed" . |
Job Execution Time | The time taken to execute the job or the elapsed time. Please check Job job execution time in Monitoring for details on job execution time. |