Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Batch job scheduling adaptive method based on Redis

A self-adaptive, batch operation technology, applied in the computer field, can solve the problems of starvation of short jobs and low generation efficiency.

Pending Publication Date: 2022-02-18
中国农业银行股份有限公司四川省分行
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The purpose of the present invention is to provide an adaptive method for batch job scheduling based on Redis, which aims to solve the problem of low efficiency of proxy distribution in the prior art when the bank accepts the batch business needs of group customers, and there are problems caused by processing long jobs for a long time. A problem that caused short-job starvation situations to occur

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Batch job scheduling adaptive method based on Redis
  • Batch job scheduling adaptive method based on Redis
  • Batch job scheduling adaptive method based on Redis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0042] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0043] It should be noted that all directional indications (such as up, down, left, right, front, back...) in the embodiments of the present invention are only used to explain the relationship between the components in a certain posture (as shown in the figure). Relative positional relationship, movement c...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a Redis-based batch job scheduling adaptive method, which comprises the following steps: S1, job loading: creating Redis job channels, receiving to-be-processed batch jobs, and pressing the jobs into the corresponding job channels according to the scale of the jobs; S2, job scheduling: corresponding to a Redis job channel, establishing a response task receiving pool for checking a to-be-processed task of the corresponding channel; S3, job processing: receiving the to-be-processed task of the corresponding channel through the response task receiving pool, and performing job processing; and S4, after the current job is processed, releasing the resources, and returning to S3. According to the method, multiple channels are established by means of the redis cache technology, the concurrence efficiency is improved, and a scheduling mechanism of batch switching connection is realized by means of the mature redis technology; the to-be-processed batches are classified and grouped according to the scale of each batch, and each group is processed in parallel, so that long-time waiting of the to-be-processed batches under extreme conditions is prevented.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a Redis-based batch job scheduling adaptive method. Background technique [0002] With the rapid development of computer technology, computer and Internet technologies are widely used in various industries, and cluster systems are gradually applied in various fields. [0003] When the bank accepts the business needs of group customers for batch distribution, it may only need to send two details in one batch, or it may need to send 1 million details in one batch, all possibilities exist. When the company accepts multiple batches of dropshipping from multiple customers at the same time, the system may respond to 1 million dropshipping requests for a long time without processing two detailed dropshipping requests, or the system has been processing small dropshipping requests The processing of multiple detailed orders will be delayed due to batch batches, which may delay the proce...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/48G06F9/50
CPCG06F9/4881G06F9/5038G06F2209/5021G06F2209/484
Inventor 苏芮何维宋朝霞李永生林海苏以鹏汤彪武周英陈美英刘倩玉王昊唐小林伍练
Owner 中国农业银行股份有限公司四川省分行
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products