CN112631928A - Performance test method, device and equipment based on token bucket - Google Patents
Performance test method, device and equipment based on token bucket Download PDFInfo
- Publication number
- CN112631928A CN112631928A CN202011610551.1A CN202011610551A CN112631928A CN 112631928 A CN112631928 A CN 112631928A CN 202011610551 A CN202011610551 A CN 202011610551A CN 112631928 A CN112631928 A CN 112631928A
- Authority
- CN
- China
- Prior art keywords
- request
- token
- token bucket
- tokens
- setting
- 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
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000011056 performance test Methods 0.000 title claims abstract description 11
- 238000012360 testing method Methods 0.000 claims description 41
- 238000004590 computer program Methods 0.000 claims description 7
- 238000012545 processing Methods 0.000 claims description 7
- 238000011217 control strategy Methods 0.000 abstract description 5
- 238000004519 manufacturing process Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 238000006467 substitution reaction Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000001788 irregular Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000004088 simulation Methods 0.000 description 2
- 241000508269 Psidium Species 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention relates to a performance test method, a device and equipment based on a token bucket, belonging to the technical field of performance test, wherein the method utilizes the token bucket, wherein the token bucket generates a request token according to a preset generation rate; when the number of request tokens in the token bucket exceeds a capacity threshold of the token bucket, the newly generated request tokens are discarded. The method comprises the steps of acquiring request information based on a preset interface; obtaining a request token in a token bucket, matching the request token with request information, and obtaining the request information with the request token so that the request information with the request token is transmitted; when the number of request tokens in the token bucket is zero, the production of request information with tokens is stopped, e.g., requests without request tokens are discarded. The capacity threshold value of the token bucket can be adjusted, and the interfaces can be adjusted, so that different flow control strategies are set at different time points according to different interfaces to simulate the fluctuation of the requested flow in a real environment, and the method is more flexible and real-time.
Description
Technical Field
The invention belongs to the technical field of performance testing, and particularly relates to a performance testing method based on a token bucket.
Background
In order to ensure the performance of the product, the product is generally subjected to performance test after being developed. In the performance test, a performance test tool is usually adopted to simulate the use condition of a user, so that the test of the running performance of a product is realized.
For example, a stepping thread group of a meter in a performance testing tool, and a similar screening function in a Loadrunner can realize the gradually increasing, running and decreasing functions of a simulation user. However, the current performance testing tool has a relatively single policy of incremental decrease and operation for configuring a user, and when the performance testing tool is used for testing multiple complex scenes and multiple interfaces, the testing function is difficult to realize. For example, fig. 1 is a schematic flow fluctuation diagram in the prior art provided in an embodiment of the present invention, in which a QPS (Queries Per Second) continuously oscillates and fluctuates up and down within a certain time, and finally a lower QPS is maintained for a long time, at this time, a performance testing tool in the prior art cannot test the QPS, and cannot adjust a policy in real time.
Disclosure of Invention
In order to solve at least the above problems in the prior art, the present invention provides a performance testing method, device and apparatus based on token bucket, so as to realize that different flow control strategies are set at different time points to simulate the request flow fluctuation in the real environment for different interfaces, and the method, device and apparatus are more flexible and real-time.
The technical scheme provided by the invention is as follows:
on one hand, the performance test method based on the token bucket generates a request token according to a preset generation rate; discarding a newly generated request token when the number of request tokens in the token bucket exceeds a capacity threshold of the token bucket; the method comprises the following steps:
acquiring request information based on a preset interface;
obtaining a request token in the token bucket, matching the request token with the request information, and obtaining the request information with the request token so that the request information with the request token is transmitted;
and when the number of the request tokens in the token bucket is zero, stopping producing the request information with the tokens.
Optionally, the method further includes:
receiving a setting instruction;
and setting a capacity threshold value of the token bucket according to the setting instruction.
Optionally, before the obtaining the request information based on the preset interface, the method further includes:
receiving an interface setting instruction;
and setting the preset interface according to the interface setting instruction.
Optionally, the method further includes:
receiving a speed setting instruction;
and setting a preset generation rate of the token bucket for generating the tokens according to the rate setting instruction.
Optionally, the token bucket includes: token bucket.
In another aspect, a performance testing apparatus based on a token bucket, the token bucket generating a request token according to a preset generation rate; discarding a newly generated request token when the number of request tokens in the token bucket exceeds a capacity threshold of the token bucket; the apparatus, comprising: the device comprises an acquisition module, a matching module and a judgment processing module;
the acquisition module is used for acquiring request information based on a preset interface;
the matching module is used for acquiring a request token in the token bucket, matching the request token with the request information and acquiring the request information with the request token so as to transmit the request information with the request token;
and the judgment processing module is used for stopping producing the request information with the tokens when the number of the request tokens in the token bucket is zero.
Optionally, the method further includes: a capacity setting module; the acquisition module is used for receiving a setting instruction; and the capacity setting module is used for setting a capacity threshold of the token bucket according to the setting instruction.
Optionally, the method further includes: an interface setting module; the acquisition module is used for receiving an interface setting instruction; and the interface setting module is used for setting the preset interface according to the interface setting instruction.
Optionally, the method further includes: a rate setting module; the acquisition module is used for receiving a speed setting instruction; and the rate setting module is used for setting the preset generation rate of the token bucket for generating the tokens according to the rate setting instruction.
In yet another aspect, a token bucket based performance testing apparatus includes: a processor, and a memory coupled to the processor;
the memory for storing a computer program for performing at least the token bucket based performance testing method of any of the above;
the processor is used for calling and executing the computer program in the memory.
The invention has the beneficial effects that:
the performance testing method, the performance testing device and the performance testing equipment based on the token bucket utilize the token bucket, wherein the token bucket generates a request token according to a preset generation rate; when the number of request tokens in the token bucket exceeds a capacity threshold of the token bucket, the newly generated request tokens are discarded. The method comprises the steps of acquiring request information based on a preset interface; obtaining a request token in a token bucket, matching the request token with request information, and obtaining the request information with the request token so that the request information with the request token is transmitted; when the number of request tokens in the token bucket is zero, the production of request information with tokens is stopped, e.g., requests without request tokens are discarded. The capacity threshold value of the token bucket can be adjusted, and the interfaces can be adjusted, so that different flow control strategies are set at different time points according to different interfaces to simulate the fluctuation of the requested flow in a real environment, and the method is more flexible and real-time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of a flow fluctuation in the prior art provided in an embodiment of the present invention;
fig. 2 is a flowchart of a method for a performance testing method based on a token bucket according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a performance testing apparatus based on a token bucket according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another performance testing apparatus based on a token bucket according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a performance testing apparatus based on a token bucket according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without any inventive step, are within the scope of the present invention.
The test tools in the prior art are generally designed for ramp up, running and tear down, the scene is simple and single, and flexible self-defined configuration cannot be realized. It is inconvenient to fully simulate the jitter of the request, the irregular variation of the traffic.
Based on this, the embodiment of the invention provides a performance testing method based on a token bucket.
Fig. 2 is a schematic flow chart of a performance testing method based on a token bucket according to an embodiment of the present invention, and referring to fig. 2, a token bucket applied in the method according to the embodiment of the present invention generates a request token according to a preset generation rate; discarding the newly generated request token when the number of request tokens in the token bucket exceeds a capacity threshold of the token bucket may include the steps of:
and S21, acquiring the request information based on the preset interface.
S22, obtaining the request token in the token bucket, matching the request token with the request information, obtaining the request information with the request token, so that the request information with the request token is passed.
And S23, when the number of the request tokens in the token bucket is zero, stopping producing the request information with the tokens.
For example, in this embodiment, a token bucket may be used as the token bucket in the embodiment of the present invention to describe the technical solution of the present application. The principle can be seen as a container for storing tokens, and a capacity threshold is set. And placing tokens into the bucket at a set speed, and overflowing redundant tokens when the bucket is full of tokens. After the transmitted request enters, only the request token is obtained, the request token can be transmitted, and all the other requests which do not obtain the request token are discarded, so that the current limitation is achieved.
In some embodiments, optionally, the method further includes: receiving a setting instruction; and setting a capacity threshold value of the token bucket according to the setting instruction.
For example, in this embodiment, the size of the token bucket may be set according to the requirement, that is, the capacity threshold of the token bucket may be set, and the control of the traffic may be implemented by setting the capacity threshold of the token bucket.
Optionally, the method further includes: receiving a speed setting instruction; and setting a preset generation rate of the token bucket for generating the tokens according to the rate setting instruction.
For example, in this embodiment, the preset generation rate of the tokens in the token bucket may be set according to requirements, and the control of the traffic may be implemented by setting and controlling the preset generation rate of the tokens in the token bucket.
Optionally, before obtaining the request information based on the preset interface, the method further includes: receiving an interface setting instruction; and setting a preset interface according to the interface setting instruction.
For example, in this embodiment, flow control is not implemented in the service layer, which requires modification of logic of different service interfaces, and thus is costly. Flow control may be placed at the producer of a performance testing flow tool, for example, by passing the flow control policy logic of the token bucket before sending a request in the meter, requiring some secondary development of the performance tool. And can set speed and capacity thresholds for different interfaces through a specific Interface (API) or configuration. The control of the flow may be specific to a particular system. For example, the traffic set interface parameters are the rate of the token bucket, capacity threshold, targeted system appid (App and Id), API for throttling, time point, etc. And the flow can be controlled by carrying out indifferent flow limitation on all interfaces of the system without specifying an API.
In this embodiment, the token generation speed is controllable, and the bucket size is controllable, so that the token generation speed rate and the bucket size capacity can be continuously adjusted to control the traffic, and support variable QPS control. At present, various programming languages have corresponding token buckets, and a more flexible and real-time flow control simulation performance test is formulated by combining a pressure test tool for testing. For example, many current limiting tools such as ratelimit of Guava, jujuju/ratelimit of golang, etc. can be combined to conveniently implement the current limiting function. In the embodiment, the configuration and calling API can be used to adjust the flow of different interfaces, simulate the trend change of real requests, flow jitter, irregular flow change and the like.
The performance test method based on the token bucket provided by the embodiment of the invention utilizes the token bucket, wherein the token bucket generates the request token according to the preset generation rate; when the number of request tokens in the token bucket exceeds a capacity threshold of the token bucket, the newly generated request tokens are discarded. The method comprises the steps of acquiring request information based on a preset interface; obtaining a request token in a token bucket, matching the request token with request information, and obtaining the request information with the request token so that the request information with the request token is transmitted; when the number of request tokens in the token bucket is zero, the production of request information with tokens is stopped, e.g., requests without request tokens are discarded. The capacity threshold value of the token bucket can be adjusted, and the interfaces can be adjusted, so that different flow control strategies are set at different time points according to different interfaces to simulate the fluctuation of the requested flow in a real environment, and the method is more flexible and real-time. The invention can customize the flow strategy as desired and can make a complex flow by combining the token bucket flow limiting strategy with the pressure measuring tool. The robustness, performance and the like of the tested system are checked by simulating the jitter.
Based on a general inventive concept, the embodiment of the present invention further provides a performance testing apparatus based on a token bucket.
Fig. 3 is a schematic structural diagram of a performance testing apparatus based on a token bucket according to an embodiment of the present invention, referring to fig. 3, in which the token bucket generates a request token according to a preset generation rate; discarding the newly generated request token when the number of request tokens in the token bucket exceeds a capacity threshold of the token bucket; the apparatus may include the following structure: an acquisition module 31, a matching module 32 and a judgment processing module 33.
An obtaining module 31, configured to obtain the request information based on a preset interface;
a matching module 32, configured to obtain the request token in the token bucket, match the request token with the request information, and obtain the request information with the request token, so that the request information with the request token is passed;
and the judgment processing module 33 is configured to stop producing the request information with the token when the number of the request tokens in the token bucket is zero.
Optionally, the method further includes: a capacity setting module; the acquisition module is used for receiving a setting instruction; and the capacity setting module is used for setting a capacity threshold value of the token bucket according to the setting instruction.
Optionally, the method further includes: an interface setting module; the acquisition module is used for receiving an interface setting instruction; and the interface setting module is used for setting a preset interface according to the interface setting instruction.
Optionally, the method further includes: a rate setting module; an acquisition module for receiving a rate setting instruction; and the rate setting module is used for setting the preset generation rate of the token bucket for generating the tokens according to the rate setting instruction.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 4 is a schematic structural diagram of another performance testing apparatus based on a token bucket according to an embodiment of the present invention, referring to fig. 4, in fig. 4, a testing tool may test different interfaces at different token generation rates, so as to implement a combination of a token bucket current limiting policy and a pressure testing tool, customize a flow policy as desired, and make a complex flow. The robustness, performance and the like of the tested system are checked by simulating the jitter.
The performance testing device based on the token bucket provided by the embodiment of the invention utilizes the token bucket, wherein the token bucket generates the request token according to the preset generation rate; when the number of request tokens in the token bucket exceeds a capacity threshold of the token bucket, the newly generated request tokens are discarded. The method comprises the steps of acquiring request information based on a preset interface; obtaining a request token in a token bucket, matching the request token with request information, and obtaining the request information with the request token so that the request information with the request token is transmitted; when the number of request tokens in the token bucket is zero, the production of request information with tokens is stopped, e.g., requests without request tokens are discarded. The capacity threshold value of the token bucket can be adjusted, and the interfaces can be adjusted, so that different flow control strategies are set at different time points according to different interfaces to simulate the fluctuation of the requested flow in a real environment, and the method is more flexible and real-time. The invention can customize the flow strategy as desired and can make a complex flow by combining the token bucket flow limiting strategy with the pressure measuring tool. The robustness, performance and the like of the tested system are checked by simulating the jitter.
Based on a general inventive concept, an embodiment of the present invention further provides a performance testing apparatus based on a token bucket.
Fig. 5 is a schematic structural diagram of a performance testing apparatus based on a token bucket according to an embodiment of the present invention, and referring to fig. 5, the performance testing apparatus based on a token bucket according to an embodiment of the present invention includes: a processor 51, and a memory 52 connected to the processor.
The memory 52 is used for storing a computer program, and the computer program is at least used for the performance testing method based on the token bucket described in any of the above embodiments;
the processor 51 is used to invoke and execute computer programs in the memory.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
Claims (10)
1. A performance test method based on a token bucket is characterized in that the token bucket generates a request token according to a preset generation rate; discarding a newly generated request token when the number of request tokens in the token bucket exceeds a capacity threshold of the token bucket; the method comprises the following steps:
acquiring request information based on a preset interface;
obtaining a request token in the token bucket, matching the request token with the request information, and obtaining the request information with the request token so that the request information with the request token is transmitted;
and when the number of the request tokens in the token bucket is zero, stopping producing the request information with the tokens.
2. The method of claim 1, further comprising:
receiving a setting instruction;
and setting a capacity threshold value of the token bucket according to the setting instruction.
3. The method according to claim 1, wherein before the obtaining the request information based on the preset interface, further comprising:
receiving an interface setting instruction;
and setting the preset interface according to the interface setting instruction.
4. The method of claim 1, further comprising:
receiving a speed setting instruction;
and setting a preset generation rate of the token bucket for generating the tokens according to the rate setting instruction.
5. The method of any of claims 1-4, wherein the token bucket comprises: token bucket.
6. A performance testing device based on a token bucket is characterized in that the token bucket generates a request token according to a preset generation rate; discarding a newly generated request token when the number of request tokens in the token bucket exceeds a capacity threshold of the token bucket; the apparatus, comprising: the device comprises an acquisition module, a matching module and a judgment processing module;
the acquisition module is used for acquiring request information based on a preset interface;
the matching module is used for acquiring a request token in the token bucket, matching the request token with the request information and acquiring the request information with the request token so as to transmit the request information with the request token;
and the judgment processing module is used for stopping producing the request information with the tokens when the number of the request tokens in the token bucket is zero.
7. The apparatus of claim 6, further comprising: a capacity setting module; the acquisition module is used for receiving a setting instruction; and the capacity setting module is used for setting a capacity threshold of the token bucket according to the setting instruction.
8. The apparatus of claim 6, further comprising: an interface setting module; the acquisition module is used for receiving an interface setting instruction; and the interface setting module is used for setting the preset interface according to the interface setting instruction.
9. The apparatus of claim 6, further comprising: a rate setting module; the acquisition module is used for receiving a speed setting instruction; and the rate setting module is used for setting the preset generation rate of the token bucket for generating the tokens according to the rate setting instruction.
10. A token bucket based performance testing apparatus, comprising: a processor, and a memory coupled to the processor;
the memory for storing a computer program for performing at least the token bucket based performance testing method of any one of claims 1 to 5;
the processor is used for calling and executing the computer program in the memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011610551.1A CN112631928A (en) | 2020-12-30 | 2020-12-30 | Performance test method, device and equipment based on token bucket |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011610551.1A CN112631928A (en) | 2020-12-30 | 2020-12-30 | Performance test method, device and equipment based on token bucket |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112631928A true CN112631928A (en) | 2021-04-09 |
Family
ID=75286655
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011610551.1A Pending CN112631928A (en) | 2020-12-30 | 2020-12-30 | Performance test method, device and equipment based on token bucket |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112631928A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115941610A (en) * | 2022-12-09 | 2023-04-07 | 中联智慧农业股份有限公司 | Token bucket algorithm-based current limiting method, current limiting device and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8681630B1 (en) * | 2010-09-21 | 2014-03-25 | Google Inc. | Configurable rate limiting using static token buckets, and applications thereof |
CN103763208A (en) * | 2014-01-29 | 2014-04-30 | 华为技术有限公司 | Data flow limiting method and device |
CN105245468A (en) * | 2015-09-08 | 2016-01-13 | 天翼爱音乐文化科技有限公司 | Flow limiting method and system |
CN110417678A (en) * | 2019-08-08 | 2019-11-05 | 浪潮云信息技术有限公司 | A kind of method and device of application programming interfaces current limliting |
CN110730136A (en) * | 2019-10-10 | 2020-01-24 | 腾讯科技(深圳)有限公司 | Method, device, server and storage medium for realizing flow control |
-
2020
- 2020-12-30 CN CN202011610551.1A patent/CN112631928A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8681630B1 (en) * | 2010-09-21 | 2014-03-25 | Google Inc. | Configurable rate limiting using static token buckets, and applications thereof |
CN103763208A (en) * | 2014-01-29 | 2014-04-30 | 华为技术有限公司 | Data flow limiting method and device |
CN105245468A (en) * | 2015-09-08 | 2016-01-13 | 天翼爱音乐文化科技有限公司 | Flow limiting method and system |
CN110417678A (en) * | 2019-08-08 | 2019-11-05 | 浪潮云信息技术有限公司 | A kind of method and device of application programming interfaces current limliting |
CN110730136A (en) * | 2019-10-10 | 2020-01-24 | 腾讯科技(深圳)有限公司 | Method, device, server and storage medium for realizing flow control |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115941610A (en) * | 2022-12-09 | 2023-04-07 | 中联智慧农业股份有限公司 | Token bucket algorithm-based current limiting method, current limiting device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107864071B (en) | Active safety-oriented dynamic data acquisition method, device and system | |
CN106484590B (en) | Data verification method and device | |
US10360123B2 (en) | Auto-scaling thresholds in elastic computing environments | |
WO2020140587A1 (en) | Motor drive signal generation method, electronic device and storage medium | |
CN109684228B (en) | Performance test method, device, system and storage medium | |
US8832504B2 (en) | On demand tracing of application code execution | |
CN110611623A (en) | Current limiting method and device | |
CN107743076A (en) | A kind of NCSI shares interface switching method and device | |
US20170091079A1 (en) | Performance testing system and method | |
CN104602037A (en) | Method, device, terminal and system for controlling synchronous playing of multiple devices | |
CN105653338B (en) | A kind of update method and device of application | |
CN103929366A (en) | Flow control method and device and equipment | |
CN112631928A (en) | Performance test method, device and equipment based on token bucket | |
CN111200526A (en) | Monitoring system and method of network equipment | |
CN107967195A (en) | A kind of fault repairing method and system based on dual control storage | |
CN109189329A (en) | The method of adjustment and device of memory node weight | |
CN107357530B (en) | Setting method and device for OpenStack cloud hard disk | |
JP3290321B2 (en) | Buffer monitoring method and device therefor | |
CN112838942A (en) | Network operation and maintenance method, electronic equipment and storage medium | |
CN109488631A (en) | A kind of fan control device and its method | |
CN107396428A (en) | One kind cuts frequency method and device | |
CN110247783A (en) | A kind of scalable appearance policy conflict processing method and processing device | |
CN109582388A (en) | One parameter configuration method, device and equipment | |
CN104536861A (en) | Multi-operation system based FC SAN (Fiber Channel Storage Area Network) memory testing method | |
CA2791771A1 (en) | Dynamic and selective management of integration points using performance metrics |
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 |