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

Coroutine-based server monitoring method, equipment and readable medium

A remote server and server technology, applied in the server field, can solve the problems of limited number of resources, underutilized CPU, consumption of system resources, etc., and achieve the effect of efficient monitoring

Inactive Publication Date: 2019-11-12
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF6 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, when a single-node server monitors multiple resources, it often adopts a multi-threaded method, and the data collection of each resource is processed by a separate thread. Using this method, a large number of threads are often required to achieve concurrent processing. This method not only consumes a lot of System resources are consumed, and in network calls, there are often more IO waiting, and the CPU is not fully utilized, resulting in a limited number of resources for single-node monitoring

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
  • Coroutine-based server monitoring method, equipment and readable medium
  • Coroutine-based server monitoring method, equipment and readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0020] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are to distinguish two entities with the same name but different parameters or parameters that are not the same, see "first" and "second" It is only for the convenience of expression, and should not be construed as a limitation on the embodiments of the present invention, which will not be described one by one in the subsequent embodiments.

[0021] Based on the above purpose, the first aspect of the embodiments of the present invention proposes an embodiment of a coroutine-based server monitoring method. figure 1 What is shown is a schematic flowchart of an embodiment of the method for ...

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 coroutine-based server monitoring method, which comprises the following steps of: creating a plurality of server monitoring tasks, and allocating the tasks to a plurality ofthreads; creating coroutines in each thread, wherein the number of the coroutines is equal to that of the distributed tasks, and distributing one task to each coroutine; determining whether to executethe current coroutine or not according to whether the thread has network waiting or not; and in response to the decision to execute the current coroutine, enabling the coroutine to establish a communication connection with the server to perform a monitoring task. The invention further discloses computer equipment and a readable storage medium. According to the coroutine-based server monitoring method and the equipment, a large number of server resources can be monitored through a single node. Thread resources can be saved. The CPU utilization rate is increased, and system resources are fullyutilized.

Description

technical field [0001] The present invention relates to the server field, and more specifically refers to a server monitoring method, device and readable medium based on a coroutine. Background technique [0002] With the rapid development of computer technology and the continuous increase of large-scale data services and volumes, the health and normal operation of each component of the server is particularly important. In server monitoring, more attention needs to be paid to how to efficiently monitor a large number of server resources and process data in a timely manner. [0003] At present, when a single-node server monitors multiple resources, it often adopts a multi-threaded method, and the data collection of each resource is processed by a separate thread. Using this method, a large number of threads are often required to achieve concurrent processing. This method not only consumes a lot of System resources are consumed, and in network calls, there are often more IO w...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/26G06F11/30G06F9/50
CPCG06F9/5038G06F11/3006H04L43/0817
Inventor 赵阳阳
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD
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