Thread pool capacity adjustment method and apparatus based on system response time and device
A system response and capacity adjustment technology, applied in the field of computer systems, can solve problems such as waste of system resources, high requirements for system response time, inability to adapt to real-time state changes, and user needs, etc., to achieve the effect of improving user experience and flexible adjustment methods
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] Please refer to figure 1 , figure 1 It is a flowchart of a thread pool capacity adjustment method based on system response time in an embodiment of the present invention, which is applied to server thread pool capacity adjustment, and the method includes the following steps:
[0043] S101. Periodically collect the system response time of the preset access path.
[0044] In the embodiment of the present invention, the access path may be preset, and the access path may be the access path for the user to access the system, or a dedicated path for testing the response time of the system. The specific route of the access path can be preset, and can also be determined and adjusted according to the actual situation. Certainly, in the embodiment of the present invention, the number of access paths may be one or multiple, and the specific number of access paths may be confirmed and adjusted according to actual needs, and details are not repeated here.
[0045] Specifically, s...
Embodiment 2
[0063] Please refer to figure 2 , figure 2 It is a flowchart of another thread pool capacity adjustment method based on system response time in an embodiment of the present invention, the method includes the following steps:
[0064] S201, start the self-tuning mode.
[0065] In the embodiment of the present invention, after the self-tuning mode of the server is started, the capacity of the thread pool is optimized. That is, the optimization of the thread pool is only started when the server provides external services.
[0066] S202. Acquire a reference parameter, where the reference parameter includes an access path and a response time threshold.
[0067] Wherein, the benchmark parameters can be set in advance, or after the self-tuning mode is activated, the benchmark parameters such as the access path and the response time threshold input by the administrator can be obtained. Specifically, the benchmark parameters include, but are not limited to, access paths and respo...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



