Thread pool management method and device suitable for distributed technology, equipment and medium

A management method and thread pool technology, applied in the field of artificial intelligence, can solve problems such as undefined thread pool management and monitoring, affecting application functions, etc.

Pending Publication Date: 2021-04-20
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The main purpose of this application is to provide a thread pool management method, device, equipment and medium suitable for distributed technology, aiming to solve the problem of monitoring pooling technology in the prior art, and only monitor basic frameworks such as database connection pools , there is no unified management and monitoring of the custom thread pool in the application, resulting in technical problems that affect the functions of the application

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
  • Thread pool management method and device suitable for distributed technology, equipment and medium
  • Thread pool management method and device suitable for distributed technology, equipment and medium
  • Thread pool management method and device suitable for distributed technology, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0048] In order to solve the existing technical problem of monitoring the pooling technology, only the basic framework such as the database connection pool is monitored, and the self-defined thread pool in the application is not uniformly managed and monitored, which leads to technical problems that affect the function of the application. This application proposes A thread pool management method suitable for distributed technology is provided, the method is applied in the technical field of artificial intelligence, and the method is further applied in the distributed technica...

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 relates to the technical field of artificial intelligence, and discloses a thread pool management method, device, equipment and medium suitable for a distributed technology, and the method comprises the steps: calling a target application, determining to-be-cached thread pool configuration data from Spring at a preset sleep time interval, and updating a target local cache, acquiring target thread pool working data according to a preset monitoring time interval, updating the server, determining target thread pool configuration data from a target local cache, and determining a queue early warning judgment result according to the target thread pool working data and the target thread pool configuration data, when the queue early warning judgment result is exceeded, generating alarm information to be stored according to the queue early warning judgment result and issuing the alarm information to the server; calling the client to consume the alarm information to be stored in the server; and calling an early warning platform to determine a thread pool statistical result according to the target thread pool working data of the server. Unified management and monitoring of the custom thread pool in the application are realized.

Description

technical field [0001] The present application relates to the technical field of artificial intelligence, in particular to a thread pool management method, device, equipment and medium suitable for distributed technology. Background technique [0002] Since thread creation is expensive and arbitrary, creating a large number of threads without control can cause performance problems and even affect the main function of the application. In the application, various pooling technologies (thread pool, connection pool, memory pool, etc.) are used to cache and create expensive thread objects, some thread objects are pre-created and put into the thread pool, and returned after use, which can be taken out and reused next time. The number of thread objects in the cache can also be adjusted through a certain strategy to achieve dynamic scaling. Thread pool components often only throw exceptions when there is a rejection strategy. If you can observe the backlog of the thread pool queue ...

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): G06F9/54G06F16/23G06F16/25G06F16/2455
CPCY02D10/00
Inventor 顾奕腾
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT 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