Self-adaptive thread pool size dynamic adjustment method based on segmentation
A dynamic adjustment and thread pool technology, applied in resource allocation, program control design, multi-program device, etc., can solve the problems of slow system response, small number of threads, large number of threads, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0022] Main technical steps of the present invention comprise:
[0023] 1) Through the scientific analysis of the historical data requested by the user, configure the upper limit T of the dynamic change size of the thread pool max and lower limit T min ;
[0024] 2) If the number of user requests is on the rise, according to different situations, use different adjustment factors to increase the size of the thread pool to meet user needs; when the number of user requests is less than the number of worker threads in the thread pool, it means that the thread pool If the number of threads in the database is sufficient, the average value of the number of user requests and the current thread pool size is used as the benchmark, and the latest request increment is used as an adjustment factor to slightly adjust the size of the thread pool; when the number of user requests is greater than the number of jobs in the thread pool When the number of threads is large, it means that the thr...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

