Batch job processing method and device, equipment, medium and program product
The invention provides a batch job processing method, belongs to the technical field of big data, and can be applied to the financial field or other fields. The method comprises the following steps: distributing N tasks for processing batch jobs; controlling the N tasks to get the read sequence numb...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a batch job processing method, belongs to the technical field of big data, and can be applied to the financial field or other fields. The method comprises the following steps: distributing N tasks for processing batch jobs; controlling the N tasks to get the read sequence number lock in a queuing manner; and after any first task finishes processing the allocated current batch of jobs, the first task is controlled to queue up again to get the read sequence number lock. Wherein when the first task receives the read sequence number lock, the first task executes the following operations: firstly obtaining a second cut-off sequence number from a specified cache, and then determining the sequence number of the last job in the current batch of jobs by taking the unique identification sequence number of the next job of the job identified by the second cut-off sequence number as a first start sequence number, and updating the second cut-off sequence number in the cache by using the first cut-off |
---|