Unlock instant, AI-driven research and patent intelligence for your innovation.

Task scheduling method, computing device and storage medium

A technology of task scheduling and computing equipment, applied in the field of server clusters, which can solve problems such as repeated execution, task execution frequency not reaching expectations, and aggravating cluster network pressure, so as to avoid network delay

Pending Publication Date: 2022-03-11
天津车之家软件有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the existing technology, when a task needs to be executed regularly in the cluster environment, it will be limited by the current cluster environment, causing the scheduled task to be executed repeatedly, or the fault tolerance of the cluster cannot be used, or even though the actual business operation has achieved deduplication But all instances under the cluster are used at the same time
[0003] Moreover, in the existing technology, the frequency of scheduling services needs to be particularly high, such as scheduling every 100 milliseconds, but due to network request delays, the request has not yet reached the business cluster after 100 milliseconds, resulting in task execution frequency not meeting expectations
If there are many similar scheduled tasks, it will greatly increase the number of network requests of the cluster and increase the network pressure of the cluster

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
  • Task scheduling method, computing device and storage medium
  • Task scheduling method, computing device and storage medium
  • Task scheduling method, computing device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art. Like reference numbers generally refer to like parts or elements.

[0023] figure 1 It shows a schematic diagram of a task server communicating with a server cluster and a data server according to an exemplary embodiment of the present invention. Such as figure 1 As shown, task server 120 is communicatively linked with server cluster 110 and data server 130 . The task server 120 acquires cluster information of the server cluster 1...

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 task scheduling method, computing equipment and a storage medium. The task scheduling method comprises the following steps: acquiring cluster information of a server cluster; constructing a target task; selecting a first node from the server cluster according to cluster information, and sending a target task to the first node; setting a detection frequency, and checking whether the first node has a fault according to the detection frequency; and if the first node has a fault, selecting a second node from other nodes in the server cluster according to the cluster information, and sending the target task to the second node, so that the second node communicates with the data server according to the execution frequency to execute the target task. According to the method, the server cluster does not need to be called through a network when the target task is executed every time, the task server sets the execution frequency, the server cluster can execute the target task according to the execution frequency, and service calling failure and repeated calling caused by network delay are avoided.

Description

technical field [0001] The invention relates to the field of server clusters, in particular to a task scheduling method, computing equipment and storage media. Background technique [0002] With the development of cloud computing technology, server clusters are used more and more widely, and many enterprises have begun to use server clusters to efficiently provide services. Clustering is a popular technology used to provide high availability and scalability services while supporting fault tolerance. However, in the existing technology, when a task needs to be executed regularly in the cluster environment, it will be limited by the current cluster environment, causing the scheduled task to be executed repeatedly, or the fault tolerance of the cluster cannot be used, or even though the actual business operation has achieved deduplication But all instances under the cluster are used at the same time. [0003] And in the existing technology, the scheduling service frequency is...

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/4806G06F9/5061G06F9/5027
Inventor 朱启朋
Owner 天津车之家软件有限公司