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

System and method for monitoring and scheduling of middleware threads

A scheduling system and monitoring system technology, applied in the transmission system, electrical components, etc., can solve the problems of no early warning mechanism, receiving thread blocking, high concurrent access instability, etc., to solve the problem of receiving thread blocking, improve stability, The effect of preventing system clogging

Active Publication Date: 2013-12-04
INFINITUS (CHINA) CO LTD
View PDF4 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Although the traditional multi-threaded middleware system guarantees the performance and stability of the multi-threaded middleware system to a certain extent in the above work process, it still has the following defects: (1) When there is no available worker thread in the worker thread pool, it waits for an available worker thread, Causes receiving thread blocking phenomenon, which is especially obvious during high concurrent access; (2) It is impossible to monitor and stop abnormal worker threads with too long execution time, and it is also unable to monitor deadlocks between worker threads in the worker thread pool, so the above two problems cannot be solved In this case, the system resources will be exhausted; (3) there is no early warning mechanism, and the middleware monitoring system will know and issue a warning only when the system cannot provide external services
Therefore, the traditional multi-threaded middleware system is prone to instability when dealing with high concurrent access

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 monitoring and scheduling of middleware threads
  • System and method for monitoring and scheduling of middleware threads
  • System and method for monitoring and scheduling of middleware threads

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0063] Such as figure 2 Shown is a middleware thread monitoring and scheduling system of the present invention, including a multi-threaded middleware system (ie, multi-threaded middleware) and a middleware used to monitor the running status of the multi-threaded middleware system and feed it back to the system operation and maintenance personnel Monitoring system (not shown in the figure). The multi-threaded middleware system includes a request distribution component 201, a worker thread pool component 202, and a monitoring scheduling component 203 that are connected in two communication connections. The request distribution component 201 is used to schedule user requests and the worker thread pool The component 202 is used to create worker threads to perform specific application functions. The worker thread pool component 202 is composed of several worker thread groups 1 to n grouped by priority corresponding to IP addresses, and each worker thread group is composed of several ...

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 system and a method for monitoring and scheduling of middleware threads. The system comprises a multi-thread middleware system and a middleware monitoring system. The multi-thread middleware system comprises a request dispatching component, a worker thread pool component and a monitoring and scheduling component which are in pairwise communication connection. The worker thread pool component consists of a plurality of worker thread groups which are grouped according to the IP address corresponding priority; the monitoring and scheduling component is used for presetting of the IP address corresponding priority, acquiring and processing data of working states of worker threads and servers to generate the system health rate and then feeding back the system health rate to the request dispatching component; the request dispatching component is used for acquiring the dynamic maximum number of available threads according to the system health rate and the maximum number of available threads, and dispatching the worker threads according to the dynamic maximum number of the available threads and the IP address priority. The number of the available threads is adjusted dynamically; when the system is in a poor health state, requests of users are rejected, so that the jam which is possible in high-concurrent access is overcome and running stability of the middleware system during the high-concurrent access is improved.

Description

Technical field [0001] The present invention relates to a monitoring and scheduling system, in particular to a monitoring and scheduling system for middleware threads, and also to a monitoring and scheduling method of the above system. Background technique [0002] The middleware system refers to the software that refines and abstracts the common problems faced by the application software in order to reduce the complexity of the business system development process and improve the processing capacity of the system, and then form a reusable part on the operating system Function collection. In order to cope with high concurrent access requests, general middleware systems are multi-threaded, and are called multi-threaded middleware systems. [0003] Such as figure 1 Shown are traditional multi-threaded middleware systems and middleware monitoring systems (monitoring systems of middleware systems). The multi-threaded middleware systems include request distribution components, applicati...

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): H04L29/08H04L29/12
Inventor 郭世亮
Owner INFINITUS (CHINA) 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