A task sharding method based on the elastic-job framework that can elastically expand the capacity of a single machine
A task and framework technology, applied in the computer field, can solve the problem that elastic expansion cannot achieve single-machine multi-thread granularity, etc., and achieve the effect of improving efficiency and resource utilization, saving server costs, and high concurrency granularity.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0030] In order to have a further understanding of the purpose, structure, features, and functions of the present invention, the following detailed descriptions are provided in conjunction with the embodiments.
[0031] See figure 1 , figure 2 , image 3 , Figure 4 as well as Figure 5 , an implementation case of a task sharding method based on the elastic-job elastic expansion of a single machine in the present invention, the flow chart of which is as follows figure 1 shown. In this implementation case, the account-related information is processed according to the account number in the database. Due to the large number of accounts, the service needs to support concurrent fragmentation processing. The present invention comprises the following steps:
[0032] Step 1: Create a task instance and write the task code based on the elastic-job framework; the callback entry function parameter of the elastic-job framework contains the shard items assigned by this task scheduli...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


