CN109086194A - A kind of thread pool capacity adjustment method, device, equipment and readable storage medium storing program for executing - Google Patents
A kind of thread pool capacity adjustment method, device, equipment and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN109086194A CN109086194A CN201810594097.1A CN201810594097A CN109086194A CN 109086194 A CN109086194 A CN 109086194A CN 201810594097 A CN201810594097 A CN 201810594097A CN 109086194 A CN109086194 A CN 109086194A
- Authority
- CN
- China
- Prior art keywords
- thread pool
- optimal value
- thread
- performance parameter
- system performance
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3409—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of thread pool capacity adjustment methods, method includes the following steps: taken at regular intervals system performance parameter, wherein system performance parameter includes number of concurrent, thread pool failure Thread Count, throughput of system;System performance parameter is estimated using hill-climbing algorithm, obtain can lifting system handling capacity thread pool optimal value;Thread pool optimal value is configured into thread pool, is worked so that thread pool is based on thread pool optimal value.When being adjusted to thread pool maximum, using hill-climbing algorithm to system performance parameter carry out deep learning, and estimate out can lifting system handling capacity thread pool optimal value, then thread pool optimal value is configured into thread pool.After configuring thread pool optimal value for thread pool maximum capacity, can lifting system handling capacity, further promote user experience.The invention also discloses a kind of thread pool capacity regulating device, equipment and readable storage medium storing program for executing, have corresponding technical effect.
Description
Technical field
The present invention relates to computer systems technology fields, more particularly to a kind of thread pool capacity adjustment method, device, set
Standby and readable storage medium storing program for executing.
Background technique
Thread Pool Technology can be used for being promoted the response speed, robustness and overall performance of computer system.It passes through offer
Several fix thread, are in turn a large amount of task service, when a thread completes task, do not destroy, but connect at once
Another task of hand can utilize system resource to reduce the resource consumption of creation and destroying threads to the greatest extent.
It is existing, thread pool adjustable strategies according to pre-set fixed adjustment rule, in minimum value set by user and
It is adjusted between maximum value.The size and Orientation adjusted every time is fixed, can not adapt to real-time status variation and user
Demand.And the capacity of thread pool determines the concurrent tasks number being within a specified time capable of handling.If the capacity of thread pool is too
It is small, cause all tasks all waiting in line to enter thread pool, results in blockage;And the capacity of thread pool is too big, it will cause
The waste of system resource.In particular, throughput of system and stability are most important under the production environment of large scale system.
In conclusion the problems such as how effectively carrying out capacity adjustment to thread pool, is that current those skilled in the art are anxious
Technical problem to be solved.
Summary of the invention
The object of the present invention is to provide a kind of thread pool capacity adjustment method, device, equipment and readable storage medium storing program for executing, pass through
Thread tankage is effectively adjusted, to improve the handling capacity and stability of system, further promotes user experience.
In order to solve the above technical problems, the invention provides the following technical scheme:
A kind of thread pool capacity adjustment method, comprising:
Taken at regular intervals system performance parameter, wherein the system performance parameter includes throughput of system;
The system performance parameter is estimated using hill-climbing algorithm, obtains the thread that can promote the throughput of system
Pond optimal value;
The thread pool optimal value is configured into thread pool, so as to the thread pool be based on the thread pool optimal value into
Row work.
Preferably, before the taken at regular intervals system performance parameter, further includes:
Whether production model is configured in JVM parameter in detection domain.xml configuration;
If it is, starting autonomic tuning mode.
Preferably, the taken at regular intervals system performance parameter, comprising:
Every 30 seconds, primary system performance parameter is acquired.
Preferably, the thread pool optimal value is configured into thread pool, comprising:
Calculate the difference of the thread pool optimal value and the thread pool maximum at current time;
When the difference is greater than preset threshold, the thread pool optimal value is configured into thread pool.
A kind of thread pool capacity regulating device, comprising:
Performance parameter obtains module, is used for taken at regular intervals system performance parameter, wherein the system performance parameter includes simultaneously
Send out number, thread pool failure Thread Count, throughput of system;
Thread pool optimal value obtains module, for being estimated using hill-climbing algorithm to the system performance parameter, obtains
The thread pool optimal value of the throughput of system can be promoted;
Thread pool parameter adjustment module, for configuring the thread pool optimal value into thread pool, so as to the thread
Pond is based on the thread pool optimal value and works.
Preferably, further includes:
Autonomic tuning starting module, for before the taken at regular intervals system performance parameter, detection domain.xml to be configured
Whether production model is configured in middle JVM parameter;If it is, starting autonomic tuning mode.
Preferably, the performance parameter obtains module, is specifically used for acquiring primary system performance parameter every 30 seconds.
Preferably, the thread pool parameter adjustment module is specifically used for calculating the thread pool optimal value and current time
Thread pool maximum difference;When the difference is greater than preset threshold, the thread pool optimal value is configured to thread pool
In.
A kind of thread tankage adjustment equipment, comprising:
Memory, for storing computer program;
Processor, the step of above-mentioned thread pool capacity adjustment method is realized when for executing the computer program.
A kind of readable storage medium storing program for executing is stored with computer program, the computer program quilt on the readable storage medium storing program for executing
The step of processor realizes above-mentioned thread pool capacity adjustment method when executing.
Using method provided by the embodiment of the present invention, taken at regular intervals system performance parameter, wherein system performance parameter packet
Include number of concurrent, thread pool failure Thread Count, throughput of system;System performance parameter is estimated using hill-climbing algorithm, is obtained
Can lifting system handling capacity thread pool optimal value;Thread pool optimal value is configured into thread pool, so that thread pool is based on line
Cheng Chi optimal value works.When being adjusted to thread pool maximum, system performance parameter is carried out using hill-climbing algorithm
Deep learning, and estimate out can lifting system handling capacity thread pool optimal value, then thread pool optimal value is configured to thread
Chi Zhong.After configuring thread pool optimal value for thread pool maximum capacity, can lifting system handling capacity, further promote user
Experience.
Correspondingly, the embodiment of the invention also provides thread tankages corresponding with above-mentioned thread pool capacity adjustment method
Device, equipment and readable storage medium storing program for executing are adjusted, is had above-mentioned technique effect, details are not described herein.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of implementation flow chart of thread pool capacity adjustment method in the embodiment of the present invention;
Fig. 2 is the implementation flow chart of another thread pool capacity adjustment method in the embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of thread pool capacity regulating device in the embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of thread tankage adjustment equipment in the embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Embodiment one:
Referring to FIG. 1, Fig. 1 is a kind of flow chart of thread pool capacity adjustment method in the embodiment of the present invention, it is applied to clothes
Business device thread pool capacity regulating, method includes the following steps:
S101, taken at regular intervals system performance parameter.
Wherein, system performance parameter includes throughput of system.
In embodiments of the present invention, the portfolio that can be handled by periodic statistical thread pool obtains system performance parameter.
The system performance parameter includes throughput of system (TPS, TransactionPerSecond, the friendship that master slave system per second is capable of handling
Easy or affairs quantity, it is the important indicator for measuring system processing capacity).Certainly, system performance parameter here include but
It is not limited to throughput of system, other systems performance parameter, such as amount of access can also be obtained.It should be noted that referred to herein as
Periodically can be primary to be acquired at interval of certain time.Specifically, interval duration can be preset, it can also be according to reality
Situation is determined and adjusts, it is not limited here.
S102, system performance parameter is estimated using hill-climbing algorithm, obtain can lifting system handling capacity thread pool
Optimal value.
Using hill-climbing algorithm computational threads pond optimal capability value when, because hill-climbing algorithm has gradually convergent characteristic,
In optimization process, optimal capability value can be calculated using fuzzy control logic.
Wherein, fuzzy control is a kind of method of on-line optimization, may include a series of fuzzy rule.Thread tankage
Optimization process can be expressed by these rules.It is as shown in table 1:
Rule | IF | THEN |
Thread pool maximum AND system TPS | Maximum thread pool | |
1 | Increase AND to increase | Increase |
2 | Increase AND to reduce | Reduce |
3 | Reduce AND to increase | Reduce |
4 | Reduce AND to reduce | Increase |
Table 1
The form of expression of fuzzy rule can use IF-THEN form.Wherein, rule 1 indicates, maximum when increasing thread pool
After value, and system TPS is increased, and illustrates that thread tankage adjustment direction is correct, then when adjusting thread tankage next time,
Continue to increase thread tankage;Rule 2 indicates that after increasing thread pool maximum, and system TPS is reduced, and illustrates thread
Pool capacity amount adjustment method is wrong, then when adjusting thread tankage next time, reduces thread tankage;Rule 3 indicates, works as reduction
After thread pool maximum, and system TPS is increased, and is illustrated that thread pool capacity adjustment method is correct, is then being adjusted line next time
When journey tankage, continue to reduce thread tankage;Rule 4 indicates, after reducing thread pool maximum, and system TPS reduces
, illustrate that thread pool capacity adjustment method is wrong, then when adjusting thread tankage next time, increase thread tankage.Also
It is to say, every time to thread tankage, that is, when being adjusted to thread pool maximum, with current system TPS and upper one
The current adjustment direction of the direction connection confirming of secondary adjustment, obtain can lifting system handling capacity thread pool optimal value.
Specifically, using hill-climbing algorithm computational threads pond optimal capability value when, can by current thread pond maximum value,
Thread pool adjusting step, input data of the system TPS as hill-climbing algorithm, hill-climbing algorithm carry out calculating it using fuzzy rule
Afterwards, can obtain can lifting system handling capacity thread pool optimal value.
S103, thread pool optimal value is configured into thread pool, is worked so that thread pool is based on thread pool optimal value.
After obtaining thread pool optimal value, thread pool optimal value can be inputted into thread pool and configured.So as to thread pool
It is worked based on optimal capability value.I.e. using optimal capability value as thread pool maximum, to limit the thread tankage upper limit.
Using method provided by the embodiment of the present invention, taken at regular intervals system performance parameter, wherein system performance parameter packet
Include number of concurrent, thread pool failure Thread Count, throughput of system;System performance parameter is estimated using hill-climbing algorithm, is obtained
Can lifting system handling capacity thread pool optimal value;Thread pool optimal value is configured into thread pool, so that thread pool is based on line
Cheng Chi optimal value works.When being adjusted to thread pool maximum, system performance parameter is carried out using hill-climbing algorithm
Deep learning, and estimate out can lifting system handling capacity thread pool optimal value, then thread pool optimal value is configured to thread
Chi Zhong.After configuring thread pool optimal value for thread pool maximum capacity, can lifting system handling capacity, further promote user
Experience.
It should be noted that based on the above embodiment one, the embodiment of the invention also provides be correspondingly improved scheme.Rear
Involved in continuous embodiment with can mutually be referred between same steps or corresponding steps in above-described embodiment one, corresponding beneficial effect
Can also be cross-referenced, it is no longer repeated one by one in improvement embodiment below.
Embodiment two:
Referring to FIG. 2, Fig. 2 is the flow chart of another thread pool capacity adjustment method in the embodiment of the present invention, this method
The following steps are included:
Whether production model is configured in JVM parameter in S201, detection domain.xml configuration.
It should be noted that application server is divided into development mode and production model.Wherein, development mode refers to that developer exists
Mode when application and development is carried out using application server;Production model refers to that application server is to apply in production environment
The mode provided is provided, performance can be more focused on.The embodiment of the present invention can be used for abounding under mode, to promote the property of application server
Energy.Wherein, JVM (JavaVirtualMachine, Java Virtual Machine).
Specifically, whether being configured with production model-in JVM parameter in application server detection domain.xml configuration
Ddevelopment=true.If it is true, start thread pool autonomic tuning mode;If be not provided with or-
DThreadPoolselfTuning=false does not start thread pool autonomic tuning mode then.That is, if it is, entering step
S202;If it is not, then without operation.
S202, starting autonomic tuning mode.
S203, every 30 seconds, acquire primary system performance parameter.
Real-time system performance situation can be represented for safeguards system performance parameter, and then carries out high-precision thread pool capacity
Amount adjustment can acquire primary system performance parameter every 30 seconds.Certainly, in other embodiments of the invention, parameter acquisition
Interval time can also be 28 seconds, the durations such as 1 minute, it is specific be spaced that duration can be preset can also be according to the actual situation
It is determined and adjusts, it is not limited here.
Wherein, system performance parameter includes throughput of system.
S204, system performance parameter is estimated using hill-climbing algorithm, obtain can lifting system handling capacity thread pool
Optimal value.
The difference of the thread pool maximum of S205, computational threads pond optimal value and current time.
S206, when difference be greater than preset threshold when, thread pool optimal value is configured into thread pool.
It is illustrated for ease of description, below combining step S205 and step S206.
It, can be by calculated thread pool optimal value and current time in order to reduce the adjustment number to thread tankage
The maximum difference of thread pool.Then, which is compared with preset threshold value, when the difference is greater than preset threshold, then
Show that thread tankage need to be adjusted, then configures thread pool optimal value into thread pool.And be less than when the optimal difference or
When equal to preset threshold, then show current thread tankage very close to thread pool optimal value, it is not necessary to be adjusted.Subtracted with this
Number is adjusted less, reduces the waste of computer resource.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of thread pool capacity regulating device, under
The thread pool capacity regulating device of text description can correspond to each other reference with above-described thread pool capacity adjustment method.
Shown in Figure 3, which comprises the following modules:
A kind of thread pool capacity regulating device, comprising:
Performance parameter obtains module 101, is used for taken at regular intervals system performance parameter, wherein system performance parameter includes simultaneously
Send out number, thread pool failure Thread Count, throughput of system;
Thread pool optimal value obtains module 102, and for being estimated using hill-climbing algorithm to system performance parameter, acquisition can
The thread pool optimal value of lifting system handling capacity;
Thread pool parameter adjustment module 103, for configuring thread pool optimal value into thread pool, so that thread pool is based on
Thread pool optimal value works.
Using device provided by the embodiment of the present invention, taken at regular intervals system performance parameter, wherein system performance parameter packet
Include number of concurrent, thread pool failure Thread Count, throughput of system;System performance parameter is estimated using hill-climbing algorithm, is obtained
Can lifting system handling capacity thread pool optimal value;Thread pool optimal value is configured into thread pool, so that thread pool is based on line
Cheng Chi optimal value works.When being adjusted to thread pool maximum, system performance parameter is carried out using hill-climbing algorithm
Deep learning, and estimate out can lifting system handling capacity thread pool optimal value, then thread pool optimal value is configured to thread
Chi Zhong.After configuring thread pool optimal value for thread pool maximum capacity, can lifting system handling capacity, further promote user
Experience.
In a kind of specific embodiment of the invention, further includes:
Autonomic tuning starting module, for before taken at regular intervals system performance parameter, detecting JVM in domain.xml configuration
Whether production model is configured in parameter;If it is, starting autonomic tuning mode.
In a kind of specific embodiment of the invention, performance parameter obtains module 101, is specifically used for adopting every 30 seconds
Collect primary system performance parameter.
In a kind of specific embodiment of the invention, thread pool parameter adjustment module 103 is specifically used for computational threads pond
The difference of optimal value and the thread pool maximum at current time;When difference is greater than preset threshold, thread pool optimal value is configured
Into thread pool.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of thread tankages to adjust equipment, under
A kind of thread tankage adjustment equipment of text description can correspond to each other ginseng with a kind of above-described thread pool capacity adjustment method
According to.
Shown in Figure 4, thread tankage adjustment equipment includes:
Memory D1, for storing computer program;
Processor D2 realizes the thread pool capacity adjustment method of above method embodiment when for executing computer program
Step.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of readable storage medium storing program for executing, are described below
A kind of readable storage medium storing program for executing can correspond to each other reference with a kind of above-described thread pool capacity adjustment method.
A kind of readable storage medium storing program for executing is stored with computer program on readable storage medium storing program for executing, and computer program is held by processor
The step of thread pool capacity adjustment method of above method embodiment is realized when row.
The readable storage medium storing program for executing be specifically as follows USB flash disk, mobile hard disk, read-only memory (Read-Only Memory,
ROM), the various program storage generations such as random access memory (Random Access Memory, RAM), magnetic or disk
The readable storage medium storing program for executing of code.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other
The difference of embodiment, same or similar part may refer to each other between each embodiment.For being filled disclosed in embodiment
For setting, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part
Explanation.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
Used herein a specific example illustrates the principle and implementation of the invention, and above embodiments are said
It is bright to be merely used to help understand technical solution of the present invention and its core concept.It should be pointed out that for the common of the art
, without departing from the principle of the present invention, can be with several improvements and modifications are made to the present invention for technical staff, these
Improvement and modification are also fallen within the protection scope of the claims of the present invention.
Claims (10)
1. a kind of thread pool capacity adjustment method characterized by comprising
Taken at regular intervals system performance parameter;Wherein, the system performance parameter includes throughput of system;
The system performance parameter is estimated using hill-climbing algorithm, acquisition can promote the thread pool of the throughput of system most
The figure of merit;
The thread pool optimal value is configured into thread pool, carries out work so that the thread pool is based on the thread pool optimal value
Make.
2. thread pool capacity adjustment method according to claim 1, which is characterized in that in the taken at regular intervals system performance
Before parameter, further includes:
Whether production model is configured in JVM parameter in detection domain.xml configuration;
If it is, starting autonomic tuning mode.
3. thread pool capacity adjustment method according to claim 1, which is characterized in that the taken at regular intervals system performance ginseng
Number, comprising:
Every 30 seconds, primary system performance parameter is acquired.
4. thread pool capacity adjustment method according to any one of claims 1 to 3, which is characterized in that by the thread pool
Optimal value is configured into thread pool, comprising:
Calculate the difference of the thread pool optimal value and the thread pool maximum at current time;
When the difference is greater than preset threshold, the thread pool optimal value is configured into thread pool.
5. a kind of thread pool capacity regulating device characterized by comprising
Performance parameter obtains module, is used for taken at regular intervals system performance parameter, wherein the system performance parameter includes concurrent
Number, thread pool failure Thread Count, throughput of system;
Thread pool optimal value obtains module, and for being estimated using hill-climbing algorithm to the system performance parameter, acquisition can be mentioned
Rise the thread pool optimal value of the throughput of system;
Thread pool parameter adjustment module, for configuring the thread pool optimal value into thread pool, so as to the thread pool base
It works in the thread pool optimal value.
6. thread pool capacity regulating device according to claim 5, which is characterized in that further include:
Autonomic tuning starting module, for before the taken at regular intervals system performance parameter, detecting JVM in domain.xml configuration
Whether production model is configured in parameter;If it is, starting autonomic tuning mode.
7. thread pool capacity regulating device according to claim 5, which is characterized in that the performance parameter obtains module,
Specifically for acquiring primary system performance parameter every 30 seconds.
8. according to the described in any item thread pool capacity regulating devices of claim 5 to 7, which is characterized in that the thread pool ginseng
Number adjustment module, specifically for calculating the difference of the thread pool optimal value and the thread pool maximum at current time;When described
When difference is greater than preset threshold, the thread pool optimal value is configured into thread pool.
9. a kind of thread tankage adjusts equipment characterized by comprising
Memory, for storing computer program;
Processor realizes that thread tankage adjusts as described in any one of Claims 1-4 when for executing the computer program
The step of method.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with computer program, the meter on the readable storage medium storing program for executing
It is realized when calculation machine program is executed by processor as described in any one of Claims 1-4 the step of thread pool capacity adjustment method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810594097.1A CN109086194A (en) | 2018-06-11 | 2018-06-11 | A kind of thread pool capacity adjustment method, device, equipment and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810594097.1A CN109086194A (en) | 2018-06-11 | 2018-06-11 | A kind of thread pool capacity adjustment method, device, equipment and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109086194A true CN109086194A (en) | 2018-12-25 |
Family
ID=64839875
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810594097.1A Pending CN109086194A (en) | 2018-06-11 | 2018-06-11 | A kind of thread pool capacity adjustment method, device, equipment and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109086194A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109885470A (en) * | 2019-03-04 | 2019-06-14 | 上海拉扎斯信息科技有限公司 | Method of adjustment, device, storage medium and the electronic equipment of thread pool |
CN110134104A (en) * | 2019-03-19 | 2019-08-16 | 北京车和家信息技术有限公司 | Cpu load calculation method, cpu load computing system and the vehicle of VCU |
CN110673876A (en) * | 2019-09-30 | 2020-01-10 | 北京三快在线科技有限公司 | Method and device for setting thread pool parameters, computer equipment and storage medium |
CN113157410A (en) * | 2021-03-30 | 2021-07-23 | 北京大米科技有限公司 | Thread pool adjusting method and device, storage medium and electronic equipment |
CN113497733A (en) * | 2020-04-08 | 2021-10-12 | 富士通株式会社 | Method, apparatus, and computer-readable storage medium for optimizing a network |
CN114490040A (en) * | 2021-12-30 | 2022-05-13 | 北京致远互联软件股份有限公司 | Dynamic capacity expansion and reduction method for Java thread pool |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1514354A (en) * | 2002-12-31 | 2004-07-21 | ����̩ƽ | Progress pole/linear procedure pole management method of construction member oriented backbone system internal core |
CN1588316A (en) * | 2004-06-29 | 2005-03-02 | 北京大学 | Property optimizing method for applying server |
US7207043B2 (en) * | 2002-12-31 | 2007-04-17 | International Business Machines Corporation | Programmatic response-time based workload distribution techniques |
CN101364185A (en) * | 2008-09-02 | 2009-02-11 | 中国科学院软件研究所 | Thread pool size self-adapting regulating method and concurrency control method applying server |
CN105630606A (en) * | 2015-12-22 | 2016-06-01 | 山东中创软件工程股份有限公司 | Method and device for adjusting capacity of thread pools |
-
2018
- 2018-06-11 CN CN201810594097.1A patent/CN109086194A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1514354A (en) * | 2002-12-31 | 2004-07-21 | ����̩ƽ | Progress pole/linear procedure pole management method of construction member oriented backbone system internal core |
US7207043B2 (en) * | 2002-12-31 | 2007-04-17 | International Business Machines Corporation | Programmatic response-time based workload distribution techniques |
CN1588316A (en) * | 2004-06-29 | 2005-03-02 | 北京大学 | Property optimizing method for applying server |
CN101364185A (en) * | 2008-09-02 | 2009-02-11 | 中国科学院软件研究所 | Thread pool size self-adapting regulating method and concurrency control method applying server |
CN105630606A (en) * | 2015-12-22 | 2016-06-01 | 山东中创软件工程股份有限公司 | Method and device for adjusting capacity of thread pools |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109885470A (en) * | 2019-03-04 | 2019-06-14 | 上海拉扎斯信息科技有限公司 | Method of adjustment, device, storage medium and the electronic equipment of thread pool |
CN110134104A (en) * | 2019-03-19 | 2019-08-16 | 北京车和家信息技术有限公司 | Cpu load calculation method, cpu load computing system and the vehicle of VCU |
CN110673876A (en) * | 2019-09-30 | 2020-01-10 | 北京三快在线科技有限公司 | Method and device for setting thread pool parameters, computer equipment and storage medium |
CN113497733A (en) * | 2020-04-08 | 2021-10-12 | 富士通株式会社 | Method, apparatus, and computer-readable storage medium for optimizing a network |
CN113157410A (en) * | 2021-03-30 | 2021-07-23 | 北京大米科技有限公司 | Thread pool adjusting method and device, storage medium and electronic equipment |
CN114490040A (en) * | 2021-12-30 | 2022-05-13 | 北京致远互联软件股份有限公司 | Dynamic capacity expansion and reduction method for Java thread pool |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109086194A (en) | A kind of thread pool capacity adjustment method, device, equipment and readable storage medium storing program for executing | |
US10761897B2 (en) | Predictive model-based intelligent system for automatically scaling and managing provisioned computing resources | |
CN104516475B (en) | Method and apparatus for managing the global chip power on multinuclear on-chip system | |
CN108984288A (en) | Thread pool capacity adjustment method, device and equipment based on system response time | |
CN108038040A (en) | Computer cluster performance indicator detection method, electronic equipment and storage medium | |
CN103823714B (en) | Virtualization-based method and device for adjusting QoS (quality of service) of node memory of NUMA (non uniform memory access architecture) | |
CN103595651B (en) | Distributed data stream processing method and system | |
CN104820630A (en) | System resource monitoring device based on business variable quantity | |
US20170300359A1 (en) | Policy based workload scaler | |
CN106557369A (en) | A kind of management method and system of multithreading | |
CN113515382B (en) | Cloud resource allocation method and device, electronic equipment and storage medium | |
US20160187944A1 (en) | Dynamic hierarchical performance balancing of computational resources | |
CN108173905A (en) | A kind of resource allocation method, device and electronic equipment | |
CN107291720A (en) | A kind of method, system and computer cluster for realizing batch data processing | |
CN101777009B (en) | Load control method of application program | |
CN109756372B (en) | Elastic expansion method and device for telecommunication charging system | |
CN113835626B (en) | Method and device for determining usable time length of disk | |
CN104111876A (en) | Dynamic resource management device and method based on Oracle resource plan | |
CN109936465A (en) | A kind of cloud platform resource utilization appraisal procedure and device | |
JP2016071841A (en) | Job management device, job management system, job management method, and program | |
CN115907494B (en) | Energy consumption double-control management method, equipment and medium based on regional energy consumption budget | |
CN109857547A (en) | A kind of thread distribution method, device and terminal device | |
CN110970924A (en) | Clean energy consumption method and device for power grid generator set | |
CN117590792B (en) | Intelligent control method, system, terminal and medium based on large-scale direct drinking water equipment | |
KR20140073451A (en) | System and method of preestimating water demand and supply mass in micro-grid city |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181225 |
|
RJ01 | Rejection of invention patent application after publication |