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

System and method for monitoring and scheduling middleware threads

A scheduling system and monitoring system technology, applied in transmission systems, electrical components, etc., can solve the problems of receiving thread blocking, high concurrent access instability, and inability to solve system resource exhaustion, etc., to improve stability and prevent system blocking. Effect

Active Publication Date: 2016-06-15
INFINITUS (CHINA) CO LTD
View PDF4 Cites 1 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 middleware threads
  • System and method for monitoring and scheduling middleware threads
  • System and method for monitoring and scheduling middleware threads

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0063] Such as figure 2 As shown, it is a monitoring and dispatching system for middleware threads in the present invention, including a multi-thread middleware system (ie, multi-thread middleware) and middleware for monitoring the running status of the multi-thread middleware system and feeding back to the system operation and maintenance personnel The monitoring system (not shown in the figure), the multi-thread middleware system includes a request allocation component 201, a worker thread pool component 202, and a monitoring scheduling component 203 connected by pairwise communication. The request allocation component 201 is used to schedule user requests, and the worker thread pool The component 202 is used to create worker threads to execute specific application functions. The worker thread pool component 202 is composed of several worker thread groups 1-n grouped according to IP addresses corresponding to priorities. Each worker thread group is composed of several worker...

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 dispatching system, in particular to a monitoring and dispatching system for middleware threads, and also to a monitoring and dispatching method for the above-mentioned system. Background technique [0002] Middleware system refers to the software that refines and abstracts the common problems faced by application software and forms a reusable part on top of the operating system in order to reduce the complexity of the business system development process and improve the system's processing capabilities Collection of functions. In order to cope with highly concurrent access requests, general middleware systems are multi-threaded, called multi-threaded middleware systems. [0003] Such as figure 1 Shown is the traditional multi-threaded middleware system and middleware monitoring system (monitoring system of the middleware system), the multi-threaded middleware system includes request distribution compo...

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 Patents(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