Timed task processing method and device
A technology of timed tasks and processing methods, applied in the field of financial technology, can solve problems such as high system resources, occupation, and server performance degradation, and achieve the effect of increasing storage capacity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example ;
[0111] If the position of the first timed task in the cache is greater than the position of any instance, then assign the first timed task to the instance closest to the start position of the preset integer range interval.
[0112] Optionally, the processing unit 1002 is further configured to:
[0113] After allocating the timed tasks in the cache to the instances, if any instance of the instances fails, the instance that fails will be cleared from the preset integer range interval, and assigned to The timing task of the instance where the failure occurs is reassigned.
[0114] Optionally, the processing unit 1002 is specifically configured to:
[0115] After performing hash processing on the identifier of any timing task and the identifier of any instance, a hash value of the identifier of any timing task and a hash value of the identifier of any instance are obtained;
[0116] According to the preset integer range interval, perform a modulo operation on the hash value of t...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


