CN114281503A - Thread pool core parameter real-time dynamic adjustment method and device and electronic equipment - Google Patents

Thread pool core parameter real-time dynamic adjustment method and device and electronic equipment Download PDF

Info

Publication number
CN114281503A
CN114281503A CN202111588848.7A CN202111588848A CN114281503A CN 114281503 A CN114281503 A CN 114281503A CN 202111588848 A CN202111588848 A CN 202111588848A CN 114281503 A CN114281503 A CN 114281503A
Authority
CN
China
Prior art keywords
thread pool
core parameter
core
parameter
target server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111588848.7A
Other languages
Chinese (zh)
Inventor
黄志文
凌鹏
胡俊松
黄师亮
邢吕亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Qiyu Information Technology Co ltd
Original Assignee
Shanghai Qiyu Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Qiyu Information Technology Co ltd filed Critical Shanghai Qiyu Information Technology Co ltd
Priority to CN202111588848.7A priority Critical patent/CN114281503A/en
Publication of CN114281503A publication Critical patent/CN114281503A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention relates to the technical field of computers, in particular to a method and a device for dynamically adjusting core parameters of a thread pool in real time and electronic equipment, wherein the method comprises the following steps: acquiring a first core parameter of a first thread pool; the configuration database is inquired at regular time based on preset time, and a second core parameter when the first thread pool runs is obtained; judging whether the first core parameter is the same as the second core parameter; and when the first core parameter is different from the second core parameter, creating a second thread pool, configuring the second thread pool according to the second core parameter, operating the second thread pool, and closing the first thread pool. The invention realizes the dynamic adjustment of the core parameters of the thread pool under the condition of not stopping the application program by establishing a new thread pool on line.

Description

Thread pool core parameter real-time dynamic adjustment method and device and electronic equipment
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for dynamically adjusting core parameters of a thread pool in real time and electronic equipment.
Background
In Java application development, we often use thread pools for multitasking or asynchronous business processing. The core parameters of the thread pool, such as the maximum core thread number, the maximum queue number, etc., are set when the thread pool is created. However, for the online service, it is very accurate to evaluate how much the core parameters of the thread pool should be configured properly before online, if the core parameter configuration is found to be improper, the core parameters need to be modified and then the application needs to be redeployed, so that the real-time online automatic modification of the core parameters cannot be realized, a lot of inconvenience is caused to the online service, and meanwhile, the operation and maintenance difficulty and the response time are increased.
Disclosure of Invention
The invention provides a method and a device for dynamically adjusting core parameters of a thread pool in real time and electronic equipment, which are used for dynamically adjusting the core parameters of the thread pool without stopping an application program.
An embodiment of the present specification provides a method for dynamically adjusting core parameters of a thread pool in real time, including:
acquiring a first core parameter of a first thread pool;
the configuration database is inquired at regular time based on preset time, and a second core parameter when the first thread pool runs is obtained;
judging whether the first core parameter is the same as the second core parameter;
and when the first core parameter is different from the second core parameter, creating a second thread pool, configuring the second thread pool according to the second core parameter, operating the second thread pool, and closing the first thread pool.
Preferably, the obtaining of the second core parameter of the first thread pool during the operation includes:
monitoring a target server corresponding to the first thread pool to obtain a performance index value of the target server;
evaluating the operation of the first thread pool by adopting the performance index value to generate an evaluation result value;
and determining a second core parameter according to the evaluation result value, and issuing the second core parameter to a configuration database corresponding to the first thread pool.
Preferably, the obtaining the performance index value of the target server includes:
starting the first thread pool according to the first core parameter;
determining a target server corresponding to the first thread pool, and monitoring a plurality of index items of the target server to obtain a plurality of item data;
and associating the plurality of index items with corresponding item data in the plurality of index items to obtain the performance index value.
Preferably, the method further comprises:
when the first core parameter is the same as the second core parameter, continuing to run the first thread pool.
Preferably, the first thread pool and the second thread pool use the same configuration database to process tasks for the same target server.
An embodiment of the present disclosure further provides a device for dynamically adjusting core parameters of a thread pool in real time, including:
the parameter acquisition module is used for acquiring a first core parameter of the first thread pool;
the query module is used for regularly querying the configuration database based on preset time to acquire a second core parameter when the first thread pool runs;
the judging module is used for judging whether the first core parameter is the same as the second core parameter;
and the thread pool creating module is used for creating a second thread pool when the first core parameter is different from the second core parameter, configuring the second thread pool according to the second core parameter, operating the second thread pool and closing the first thread pool.
Preferably, the query module includes:
the monitoring unit is used for monitoring a target server corresponding to the first thread pool to acquire a performance index value of the target server;
the evaluation unit is used for evaluating the operation of the first thread pool by adopting the performance index value to generate an evaluation result value;
and the parameter confirmation unit is used for determining a second core parameter according to the evaluation result value and sending the second core parameter to the configuration database corresponding to the first thread pool.
Preferably, the listening unit includes:
the starting unit is used for starting the first thread pool according to the first core parameter;
the monitoring subunit is configured to determine a target server corresponding to the first thread pool, and monitor a plurality of index items of the target server to obtain a plurality of item data;
and the association word unit is used for associating the plurality of index items with corresponding item data in the plurality of index items to obtain the performance index value.
Preferably, the apparatus further comprises:
when the first core parameter is the same as the second core parameter, continuing to run the first thread pool.
Preferably, the first thread pool and the second thread pool use the same configuration database to process tasks for the same target server.
An electronic device, wherein the electronic device comprises:
a processor and a memory storing a computer executable program which, when executed, causes the processor to perform any of the methods described above.
A computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement the method of any of the above.
The invention avoids the parameter modification of the old thread pool by establishing a new thread pool on line, realizes the dynamic adjustment of the core parameters of the thread pool under the condition of not stopping running the application program by running the new thread pool configured by the new core parameters, and protects the data security of the core parameters.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a block diagram of a hardware structure of a mobile terminal for dynamically adjusting core parameters of a thread pool in real time according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a method for dynamically adjusting core parameters of a thread pool in real time according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of core parameter acquisition provided in an embodiment of the present disclosure;
fig. 4 is a block diagram of a processing structure for real-time dynamic adjustment of core parameters of a thread pool according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an apparatus for dynamically adjusting core parameters of a thread pool in real time according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present invention will now be described more fully with reference to the accompanying drawings. The exemplary embodiments, however, may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the invention to those skilled in the art. The same reference numerals denote the same or similar elements, components, or parts in the drawings, and thus their repetitive description will be omitted.
Features, structures, characteristics or other details described in a particular embodiment do not preclude the fact that the features, structures, characteristics or other details may be combined in a suitable manner in one or more other embodiments in accordance with the technical idea of the invention.
In describing particular embodiments, the present invention has been described with reference to features, structures, characteristics or other details that are within the purview of one skilled in the art to provide a thorough understanding of the embodiments. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific features, structures, characteristics, or other details.
The diagrams depicted in the figures are exemplary only, and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The term "and/or" and/or "includes all combinations of any one or more of the associated listed items.
The method provided by the embodiment of the application can be executed in a mobile terminal, a computer terminal, a server or a similar operation device. Taking the example of running on a mobile terminal, fig. 1 is a block diagram of a hardware structure of a mobile terminal for real-time dynamic adjustment of core parameters of a thread pool. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used for storing a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the page layout method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
Referring to fig. 2, a schematic diagram of a method for dynamically adjusting core parameters of a thread pool in real time according to an embodiment of the present disclosure is provided, where the method includes:
s201: acquiring a first core parameter of a first thread pool;
in a preferred embodiment of the present invention, a thread pool is required to process a multi-service task or an asynchronous service task during Java application development, and before the thread pool is online applied, a first core parameter needs to be configured for the thread pool to be online, where the first core parameter may specifically include a size of the core thread pool, a maximum thread count of the thread pool, an idle thread survival time, and the like, and the first core parameter may be configured by a worker. At this time, the configured first core parameters are recorded and stored. The core parameter comparison at different time is convenient, and the data security of the core parameter is protected. It should be noted that, in the process of practical application, the thread pool may be a plurality of clusters, so that each thread pool needs to be touched when starting the thread pool, monitoring, evaluating, and issuing parameter adjustment.
S202: the configuration database is inquired at regular time based on preset time, and a second core parameter when the first thread pool runs is obtained;
in the preferred embodiment of the present invention, for example: and presetting a refresh and query configuration database every ten minutes, reading the core parameter of the first thread pool in operation at the moment when the first thread pool is online for ten minutes, and recording the core parameter at the moment as a second core parameter. The core parameters are monitored on line in a timing query mode, the change of the core parameters is found quickly, and the subsequent dynamic adjustment of the core parameters of the thread pool is facilitated.
S203: judging whether the first core parameter is the same as the second core parameter;
s204: and when the first core parameter is different from the second core parameter, creating a second thread pool, configuring the second thread pool according to the second core parameter, operating the second thread pool, and closing the first thread pool.
In a preferred embodiment of the present invention, when the second core parameter obtained by the timing query is different from the first core parameter configured in the thread pool to be on-line, the Java application automatically creates a new thread pool, which is recorded as the second thread pool, and then configures the second core parameter obtained by the timing query to the second thread pool, and at this time, when the Java application processes the service task, the Java application performs multi-service task or asynchronous service task processing using the second thread pool, and the first thread pool is closed and deactivated. The thread pool core parameters are dynamically adjusted under the condition of not stopping running the application program through the online creation and replacement of the thread pool, and the data security of the system is protected.
Further, the obtaining of the second core parameter of the first thread pool during the running includes:
s2021: monitoring a target server corresponding to the first thread pool to obtain a performance index value of the target server;
referring to fig. 3, which is a schematic diagram of core parameter acquisition provided in an embodiment of this specification, after a thread pool is started, a target server where the thread pool is located starts to be monitored, and a performance index value of the target server is acquired, so that subsequently, an actual operation condition of the thread pool is evaluated based on the performance index value, and it is determined whether core parameters of the thread pool need to be adjusted. The performance index value comprises a plurality of index items for indicating the operation condition of the target server and item data corresponding to each index item in the index items.
S2022: evaluating the operation of the first thread pool by adopting the performance index value to generate an evaluation result value;
s2023: and determining a second core parameter according to the evaluation result value, and issuing the second core parameter to a configuration database corresponding to the first thread pool.
In the preferred embodiment of the present invention, the performance index value is used to evaluate the operation of the thread pool, and an evaluation result value is generated. When the evaluation result value reaches the preset warning value, the operation state of the current thread pool is not good, and the thread pool needs to be adjusted and optimized, so that the parameter value to be adjusted needs to be determined according to the evaluation result value. When the parameter values to be adjusted are determined, considering that the parameters related to each target index item are different, only the associated parameters associated with the target index item will affect the target index item, so at first, at least one target index item corresponding to the evaluation result value is determined, the associated parameters of at least one target index item are queried, and which parameters affect the target index item are determined, so that the parameters are adjusted only. Then, inquiring a standard value corresponding to the correlation parameter, marking the correlation parameter by adopting the standard value, taking the marked correlation parameter as a parameter value to be adjusted, adjusting the value of the correlation parameter to be a standard value determined by a system, and then sending a core parameter value to be adjusted to a configuration database corresponding to the first thread pool; and when the evaluation result value does not reach the preset warning value, the running state of the thread pool is good, the working state of the thread pool is kept without adjusting the parameters of the thread pool, and the target server is monitored continuously. The core parameter value to be adjusted is the second core parameter in the above. It should be noted that, in the above process of determining the parameter number to be adjusted, a recommended value automatically given by the system according to the recorded running number of the thread pool, the usage of the device CPU and the memory is actually taken as a standard value of the parameter to be adjusted. In the process of practical application, the staff can also manually input the core parameters as the parameter values to be adjusted according to the requirements.
Further, the obtaining the performance index value of the target server includes:
starting the first thread pool according to the first core parameter;
determining a target server corresponding to the first thread pool, and monitoring a plurality of index items of the target server to obtain a plurality of item data;
and associating the plurality of index items with corresponding item data in the plurality of index items to obtain the performance index value.
In a preferred embodiment of the present invention, after the thread pool is started, the target server where the thread pool is located is determined, and a plurality of index items of the target server are monitored to obtain a plurality of item data, where the plurality of index items specifically include memory usage, processor usage, and interface response time, and the item data is specific values of the memory usage, the processor usage, the interface response time, and the like, and the processor usage may specifically be CPU (Central Processing Unit) usage. Subsequently, it is necessary to associate the plurality of index items with corresponding item data among the plurality of item data, thereby obtaining the performance index value.
Further, the method further comprises:
when the first core parameter is the same as the second core parameter, continuing to run the first thread pool.
Furthermore, the first thread pool and the second thread pool adopt the same configuration database to process tasks for the same target server.
In the preferred embodiment of the present invention, the first thread pool and the second thread pool share the same configuration database to serve the same target server, which not only saves resources, but also reduces operation and maintenance difficulty and response time.
Further, when the core parameters change frequently, the thread pool is replaced relatively frequently, and a thread pool threshold is set in the system. When the created thread pool reaches the thread pool threshold value, the system can automatically clear a part of or all the historical thread pools, and simultaneously clear the core parameters corresponding to the cleared thread pools together so as to ensure the running speed and the storage space of the system.
Referring to fig. 4, a processing structure block diagram for real-time and dynamic adjustment of a thread pool core parameter is provided in an embodiment of this specification, in a Java application, a thread pool a is first used to process a multi-service task or an asynchronous service task, when a timed task queries that a core parameter of the thread pool a changes, the Java application will automatically create a new thread pool B, perform core parameter configuration on the thread pool a according to the changed core parameter, then run the new thread pool B to process the multi-service task or the asynchronous service task in the Java application, and the thread pool a is closed for use. Wherein the timing task is a preset cyclic query time interval. By the method, the dynamic adjustment of the core parameters of the thread pool is realized under the condition of not stopping running the application program, and the data security of the system is protected. Furthermore, the method can realize the automatic timing opening or closing of the switch, thereby bringing great convenience to the operation and maintenance of the system and reducing the labor cost.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Fig. 5 is a schematic structural diagram of an apparatus for real-time and dynamic adjustment of core parameters of a thread pool according to an embodiment of the present disclosure, including:
a parameter obtaining module 301, configured to obtain a first core parameter of a first thread pool;
the query module 302 is configured to query the configuration database at regular time based on preset time to obtain a second core parameter when the first thread pool runs;
a determining module 303, configured to determine whether the first core parameter is the same as the second core parameter;
a thread pool creating module 304, configured to create a second thread pool when the first core parameter is different from the second core parameter, configure the second thread pool according to the second core parameter, operate the second thread pool, and close the first thread pool.
Further, the query module 302 includes:
the monitoring unit is used for monitoring a target server corresponding to the first thread pool to acquire a performance index value of the target server;
the evaluation unit is used for evaluating the operation of the first thread pool by adopting the performance index value to generate an evaluation result value;
and the parameter confirmation unit is used for determining a second core parameter according to the evaluation result value and sending the second core parameter to the configuration database corresponding to the first thread pool.
Further, the listening unit includes:
the starting unit is used for starting the first thread pool according to the first core parameter;
the monitoring subunit is configured to determine a target server corresponding to the first thread pool, and monitor a plurality of index items of the target server to obtain a plurality of item data;
and the association word unit is used for associating the plurality of index items with corresponding item data in the plurality of index items to obtain the performance index value.
Further, the apparatus further comprises:
when the first core parameter is the same as the second core parameter, continuing to run the first thread pool.
Furthermore, the first thread pool and the second thread pool adopt the same configuration database to process tasks for the same target server.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s201: acquiring a first core parameter of a first thread pool;
s202: the configuration database is inquired at regular time based on preset time, and a second core parameter when the first thread pool runs is obtained;
s203: judging whether the first core parameter is the same as the second core parameter;
s204: and when the first core parameter is different from the second core parameter, creating a second thread pool, configuring the second thread pool according to the second core parameter, operating the second thread pool, and closing the first thread pool.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Further, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Further, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s201: acquiring a first core parameter of a first thread pool;
s202: the configuration database is inquired at regular time based on preset time, and a second core parameter when the first thread pool runs is obtained;
s203: judging whether the first core parameter is the same as the second core parameter;
s204: and when the first core parameter is different from the second core parameter, creating a second thread pool, configuring the second thread pool according to the second core parameter, operating the second thread pool, and closing the first thread pool.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (12)

1. A real-time dynamic adjustment method for core parameters of a thread pool is characterized by comprising the following steps:
acquiring a first core parameter of a first thread pool;
the configuration database is inquired at regular time based on preset time, and a second core parameter when the first thread pool runs is obtained;
judging whether the first core parameter is the same as the second core parameter;
and when the first core parameter is different from the second core parameter, creating a second thread pool, configuring the second thread pool according to the second core parameter, operating the second thread pool, and closing the first thread pool.
2. The method for real-time dynamic adjustment of kernel parameters in a thread pool according to claim 1, wherein the obtaining of the second kernel parameters during the operation of the first thread pool comprises:
monitoring a target server corresponding to the first thread pool to obtain a performance index value of the target server;
evaluating the operation of the first thread pool by adopting the performance index value to generate an evaluation result value;
and determining a second core parameter according to the evaluation result value, and issuing the second core parameter to a configuration database corresponding to the first thread pool.
3. The method for dynamically adjusting the core parameters of the thread pool in real time according to any one of claims 1-2, wherein the obtaining the performance index value of the target server comprises:
starting the first thread pool according to the first core parameter;
determining a target server corresponding to the first thread pool, and monitoring a plurality of index items of the target server to obtain a plurality of item data;
and associating the plurality of index items with corresponding item data in the plurality of index items to obtain the performance index value.
4. The method for real-time dynamic adjustment of thread pool core parameters according to any one of claims 1-3, wherein the method further comprises:
when the first core parameter is the same as the second core parameter, continuing to run the first thread pool.
5. The method for real-time dynamic adjustment of the core parameters of a thread pool according to any one of claims 1-4, wherein the first thread pool and the second thread pool use the same configuration database to process tasks for the same target server.
6. A real-time dynamic adjustment device for core parameters of a thread pool is characterized by comprising:
the parameter acquisition module is used for acquiring a first core parameter of the first thread pool;
the query module is used for regularly querying the configuration database based on preset time to acquire a second core parameter when the first thread pool runs;
the judging module is used for judging whether the first core parameter is the same as the second core parameter;
and the thread pool creating module is used for creating a second thread pool when the first core parameter is different from the second core parameter, configuring the second thread pool according to the second core parameter, operating the second thread pool and closing the first thread pool.
7. The apparatus for real-time dynamic adjustment of thread pool core parameters according to claim 6, wherein the query module comprises:
the monitoring unit is used for monitoring a target server corresponding to the first thread pool to acquire a performance index value of the target server;
the evaluation unit is used for evaluating the operation of the first thread pool by adopting the performance index value to generate an evaluation result value;
and the parameter confirmation unit is used for determining a second core parameter according to the evaluation result value and sending the second core parameter to the configuration database corresponding to the first thread pool.
8. The apparatus according to any one of claims 6-7, wherein the snooping unit comprises:
the starting unit is used for starting the first thread pool according to the first core parameter;
the monitoring subunit is configured to determine a target server corresponding to the first thread pool, and monitor a plurality of index items of the target server to obtain a plurality of item data;
and the association word unit is used for associating the plurality of index items with corresponding item data in the plurality of index items to obtain the performance index value.
9. The apparatus for real-time dynamic adjustment of thread pool core parameters according to any one of claims 6-8, wherein said apparatus further comprises:
when the first core parameter is the same as the second core parameter, continuing to run the first thread pool.
10. The apparatus according to any of claims 6-9, wherein the first thread pool and the second thread pool use the same configuration database to process tasks for the same target server.
11. An electronic device, wherein the electronic device comprises:
a processor and a memory storing a computer executable program, which when executed, causes the processor to perform the method of any one of claims 1-5.
12. A computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement the method of any of claims 1-5.
CN202111588848.7A 2021-12-23 2021-12-23 Thread pool core parameter real-time dynamic adjustment method and device and electronic equipment Pending CN114281503A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111588848.7A CN114281503A (en) 2021-12-23 2021-12-23 Thread pool core parameter real-time dynamic adjustment method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111588848.7A CN114281503A (en) 2021-12-23 2021-12-23 Thread pool core parameter real-time dynamic adjustment method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114281503A true CN114281503A (en) 2022-04-05

Family

ID=80874486

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111588848.7A Pending CN114281503A (en) 2021-12-23 2021-12-23 Thread pool core parameter real-time dynamic adjustment method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114281503A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115878664A (en) * 2022-11-24 2023-03-31 灵犀科技有限公司 Method and system for real-time query matching of mass input data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115878664A (en) * 2022-11-24 2023-03-31 灵犀科技有限公司 Method and system for real-time query matching of mass input data
CN115878664B (en) * 2022-11-24 2023-07-18 灵犀科技有限公司 Real-time query matching method and system for massive input data

Similar Documents

Publication Publication Date Title
CN111835582B (en) Configuration method and device of Internet of things inspection equipment and computer equipment
CN111835584A (en) Inspection method and device for products of Internet of things, computer equipment and storage medium
CN109995612B (en) Service inspection method and device and electronic equipment
CN110807085A (en) Fault information query method and device, storage medium and electronic device
CN110119307B (en) Data processing request processing method and device, storage medium and electronic device
CN111045893B (en) Method, device and system for executing monitoring task, storage medium and electronic device
CN109284267A (en) Blog management method and terminal device based on abnormal monitoring
CN109388552B (en) Method and device for determining duration of starting application program and storage medium
CN109298924A (en) Management method, computer readable storage medium and the terminal device of timed task
CN114281503A (en) Thread pool core parameter real-time dynamic adjustment method and device and electronic equipment
CN114265927A (en) Data query method and device, storage medium and electronic device
CN112100020A (en) Data reporting method and device for base station, electronic device and storage medium
CN110990381B (en) Processing method and device of server, storage medium and electronic device
CN106940710B (en) Information pushing method and device
CN103986620A (en) Monitoring item management method and system based on XML mode
CN112052144A (en) Information management method, information management device, electronic equipment and storage medium
CN111159009A (en) Pressure testing method and device for log service system
CN110457196B (en) Method and device for acquiring function execution time
CN111949246A (en) Method and device for creating new energy power industry application
CN111367702A (en) Multitask software watchdog processing method and device
CN111737136A (en) Object testing method and device based on Internet of things platform
CN113434612B (en) Data statistics method and device, storage medium and electronic device
CN110543470A (en) Message early warning method and device, storage medium and electronic device
CN110276212B (en) Data processing method and device, storage medium and electronic device
CN112738207B (en) Keyword data transmission method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination