System and method for distributed asynchronous task queue execution in cloud environment

A task execution and task queue technology, applied in the Internet field, can solve the problems of high scanning cost, unsupportable demand, affecting the overall performance of the system, etc., to achieve the effect of improving system performance, ensuring timely execution, and improving task execution efficiency

Active Publication Date: 2014-05-07
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF6 Cites 74 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, there are mainly the following problems in using distributed task queues to execute tasks: the task executor adopts the active pull mode, and in the case of large-scale queues, it is

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
  • System and method for distributed asynchronous task queue execution in cloud environment
  • System and method for distributed asynchronous task queue execution in cloud environment
  • System and method for distributed asynchronous task queue execution in cloud environment

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0020] The embodiments of the present invention are described in detail below. Examples of the embodiments are shown in the accompanying drawings, in which the same or similar reference numerals indicate the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the drawings are exemplary, and are only used to explain the present invention, but should not be construed as limiting the present invention. On the contrary, the embodiments of the present invention include all changes, modifications and equivalents falling within the scope of the spirit and connotation of the appended claims.

[0021] In the description of the present invention, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance. In the description of the present invention, it should be noted that the terms "connected" and "connect...

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 provides a system and a method for distributed asynchronous task queue execution in a cloud environment. The system comprises an interface device, a task queue device and a plurality of task execution devices. The interface device is used for receiving a task execution request submitted by a user, verifying whether the quota of the user is overrun, and receiving tasks submitted by the user and writing the basic information of the tasks into a database under the condition that the quota of the user is not overrun. The task queue device is used for judging whether the tasks submitted by the user are tasks needing to be executed in a parallel mode or tasks needing to be executed in a serial mode, and correspondingly putting the tasks submitted by the user in a parallel task queue and a serial task queue. The task execution devices are used for executing parallel tasks and serial tasks pushed by the task queue device, the task execution devices judge whether the degree of concurrency exceeds the limit of the user when the task queue device pushes parallel tasks, and the task execution devices execute the parallel tasks when the degree of concurrency does not exceed the limit of the user. The system of the invention has the advantages of high task execution efficiency and good performance.

Description

Technical field [0001] The present invention relates to the field of Internet technology, and in particular to a distributed asynchronous task queue execution system and method in a cloud environment. Background technique [0002] In the agent cloud environment, users (such as developers) often need to perform their own tasks. Due to the time limit of the execution engine, the simultaneous execution of multiple tasks will cause task execution timeouts. Therefore, support for asynchronous submission of task queues appears to users Very important, the distributed task queue supports users to submit a series of tasks through the queue, and the system guarantees that the tasks are not lost. [0003] At present, the following problems exist in the use of distributed task queues to execute tasks: the task executor adopts the active pull mode, which is likely to cause high scanning costs in the presence of large-scale queues, affecting the overall performance of the system, and some requi...

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): H04L29/08
Inventor 高巍翁岩青何磊李彬孟
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products