CN114553775A - Flow control method and device - Google Patents

Flow control method and device Download PDF

Info

Publication number
CN114553775A
CN114553775A CN202210139164.7A CN202210139164A CN114553775A CN 114553775 A CN114553775 A CN 114553775A CN 202210139164 A CN202210139164 A CN 202210139164A CN 114553775 A CN114553775 A CN 114553775A
Authority
CN
China
Prior art keywords
value
flow
item
current limiting
threshold
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.)
Granted
Application number
CN202210139164.7A
Other languages
Chinese (zh)
Other versions
CN114553775B (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210139164.7A priority Critical patent/CN114553775B/en
Publication of CN114553775A publication Critical patent/CN114553775A/en
Application granted granted Critical
Publication of CN114553775B publication Critical patent/CN114553775B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/20Traffic policing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/29Flow control; Congestion control using a combination of thresholds

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The application discloses a flow control method and device, and belongs to the technical field of communication. The method comprises the following steps: under the conditions that the current limiting information of a first item is obtained and the first current limiting threshold value in the current limiting information needs to be adjusted, obtaining a first current value allowed to be increased by a target cache proxy server, wherein the target cache proxy server is a cache proxy server associated with the first item; according to the first current limiting threshold value and the first flow value, determining a first flow adjustment value which is required to be added to the first item on the basis of the first current limiting threshold value; and adjusting the first current limiting threshold value according to the first flow adjustment value to obtain a target current limiting threshold value.

Description

Flow control method and device
Technical Field
The present application belongs to the field of communication technologies, and in particular, to a flow control method and apparatus.
Background
With the hot development of the internet industry, the number of mobile terminal devices that some business systems of large internet companies may need to deal with is on the order of tens of millions or even hundreds of millions. The service system is deployed in a self-building machine room or a cloud machine room of an enterprise, but the resources of the service end are very limited regardless of the fact that the service system is deployed in the self-building machine room or the cloud machine room. When the rear-end resource evaluation is performed according to the terminal access peak value, the server resource may be seriously wasted, and the server resource evaluation performed by using a smaller terminal access peak value may cause poor capacity of the whole service system for dealing with traffic sudden changes, and even make the whole service system unusable under some emergency situations, thereby causing economic loss to enterprises and also affecting user experience.
Thus, the prior art employs a current limiting scheme to balance the relationship between user access peaks and service robust operation. Message Middleware (MQ) provides a throttling processing implementation based on two dimensions of consumer traffic and producer traffic in order to balance production traffic peaks and MQ Server robust operation.
However, when multiple services access the same cluster together, it is difficult to evaluate the current limiting threshold of a project, and if the threshold is set to be large, the stability of the MQ Server is affected when multiple projects grow simultaneously; and if the threshold value is set to be smaller, the flow mutation capacity of the project is weaker.
Disclosure of Invention
The embodiments of the present application provide a flow control method and apparatus, which can solve the problems in the prior art that when multiple services access the same cluster together, the stability of an MQ Server is affected due to a large current limiting threshold, and the flow mutation capability of a corresponding project is weak due to a small current limiting threshold.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a flow control method, including:
under the conditions that the current limiting information of a first item is obtained and the first current limiting threshold value in the current limiting information needs to be adjusted, obtaining a first current value allowed to be increased by a target cache proxy server, wherein the target cache proxy server is a cache proxy server associated with the first item;
according to the first current limiting threshold value and the first flow value, determining a first flow adjustment value which is required to be added to the first item on the basis of the first current limiting threshold value;
and adjusting the first current limiting threshold value according to the first flow adjustment value to obtain a target current limiting threshold value.
In a second aspect, an embodiment of the present application provides a flow control device, including:
the system comprises a first acquisition module, a first processing module and a second acquisition module, wherein the first acquisition module is used for acquiring a first flow value allowed to be increased by a target caching proxy server under the conditions that the flow limiting information of a first item is acquired and a first flow limiting threshold value in the flow limiting information needs to be adjusted, and the target caching proxy server is a caching proxy server associated with the first item;
a first determining module, configured to determine, according to the first current limiting threshold and the first flow rate value, a first flow rate adjustment value that is required to be added to the first item on the basis of the first current limiting threshold;
and the first processing module is used for adjusting the first current limiting threshold value according to the first flow adjustment value to obtain a target current limiting threshold value.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, under the condition that the current limiting information of a first item is acquired and the first current limiting threshold value in the current limiting information is determined to need to be adjusted, a first flow value which is allowed to be added by a target cache proxy server associated with the first item is acquired, a first flow adjustment value which is required to be added by the first item on the basis of the first current limiting threshold value is determined according to the first current limiting threshold value and the first flow value, and the first current limiting threshold value is adjusted according to the first flow adjustment value to obtain a target current limiting threshold value. In the process, when the current limiting information of a first project is received, the current limiting early warning is triggered, the first flow value allowed to be increased by a target cache proxy server associated with the first project is obtained, and the availability of the project within the load limit value of a server is ensured; according to the first flow limiting threshold and the first flow value, a first flow adjustment value which is required to be added by the first project is determined, and the first flow limiting threshold is adjusted according to the first flow adjustment value to obtain a target flow limiting threshold, so that the flow limiting threshold of the first project is automatically adjusted, intelligent flow limiting of the first project is realized, and the flow sudden change coping capability and the resource utilization rate of the MQ under multiple projects are improved.
Drawings
Fig. 1 is a flowchart of a flow control method according to an embodiment of the present application;
fig. 2 is a block diagram of a current limiting system according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of flow borrowing provided by an embodiment of the present application;
fig. 4 is a schematic structural diagram of a flow control device according to an embodiment of the present application;
fig. 5 is a block diagram of an electronic device according to an embodiment of the present application;
fig. 6 is a block diagram of another electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be described below clearly with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The flow control method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1, an embodiment of the present application provides a flow control method, including:
step 101, under the condition that the current limiting information of a first item is obtained and the first current limiting threshold value in the current limiting information needs to be adjusted, obtaining a first flow value allowed to be increased by a target caching proxy server, wherein the target caching proxy server is a caching proxy server associated with the first item.
Specifically, if the current limit information of the first item is acquired, it is determined whether a first current limit threshold in the current limit information needs to be adjusted. If it is determined that the first throttling threshold in the throttling information needs to be adjusted, a first flow value that the target caching proxy server associated with the first item is allowed to increase needs to be calculated. The first current limiting threshold is the current limiting threshold of the first item at the current time.
It should be noted that the first current limiting threshold may be a current limiting threshold, or may be a value obtained by multiplying the current limiting threshold by a ratio. For example: the current limiting threshold is 100M, and may be 100M × 80% ═ 80M.
In a specific embodiment, as shown in fig. 2, the above flow control method may be applied to an MQ current limiting system, where the MQ current limiting system includes: the MQ server 21, the monitoring platform 22 and the MQ platform 23 are in communication connection. The MQ server 21 includes a plurality of caching proxy servers Broker, each Broker associating a plurality of items. Fig. 2 illustrates 3 caching proxy servers, namely, a caching proxy server 1, a caching proxy server 2, and a caching proxy server 3, where there are 3 items, namely, item 1, item 2, and item 3. The monitoring platform 22 includes an alarm configuration module 221, an alarm detection module 222, and an efficient time-sequenced query database 223.
Where all items access the MQ server 21 and assign an MQ user. And, a production flow rate limit threshold or a consumption flow rate limit threshold is set for each project in advance, and a production flow rate limit threshold product _ byte _ rate and a consumption flow rate limit threshold controller _ byte _ rate that can modify a user are set. The method comprises the steps of starting an MQ java management extension index collector JMXmetrics to collect data, deploying JMXmetrics data collected by a java management extension index collector transmission channel JmxTrans and reporting the JMXmetrics data to an efficient time-sequence query database Durid for storage in an interface mode, wherein the Durid stores JMXmetrics flow data, production flow data/consumption flow data and user information, namely which user, how much flow is used and whether the used flow is the production flow or the consumption flow is stored in the uri.
The timed task collects JMX Metrics flow data in real time, the alarm configuration module 221 configures detection rules, and the alarm detection module 222 performs detection. In order to prevent the situation of flow spurt, three to five detections in a continuous time window can be performed on the flow data, the obtained detection results are subjected to mean value calculation, if the result of the mean value calculation exceeds a first proportion of a flow limiting threshold, it is determined that the flow limiting threshold of the user flow needs to be dynamically adjusted, the alarm detection module 222 sends out a flow limiting early warning notification, and configures callback flow limiting information for alarm item flow limiting; the MQ platform 23 provides a call-back interface for the project current-limiting early warning, and the alarm detection module 222 sends the current-limiting information through the call-back interface and sends the current-limiting information to the MQ server 21.
Wherein, the first ratio may be a preset ratio, such as: 80% -90%, and can also be a calculated ratio, the calculation mode is as follows:
R=1-(F*T/L)
wherein R represents a first ratio, which may be expressed as a percentage;
t represents a time period from the initiation of the flow warning to the completion of the adjustment of the current limiting threshold, and may be a period of the last flow threshold adjustment, or an average value of time periods of multiple threshold adjustments, or the like;
f represents the increase of the flow, namely the increase of the actual use flow obtained twice;
l represents the current limit threshold for the item.
It should be noted that the current limit threshold is a flow rate evaluated by the service according to the service condition of the service, and the flow rate is used as an initial current limit threshold of the project.
Step 102, determining a first flow adjustment value required to be added to the first item on the basis of the first current limiting threshold according to the first current limiting threshold and the first flow value.
Specifically, according to the first flow limiting threshold and the first flow value, it may be automatically determined how much the first flow limiting threshold of the first item needs to be increased by the flow value, i.e. the first flow adjustment value.
Step 103, adjusting the first current limiting threshold according to the first flow adjustment value to obtain a target current limiting threshold.
Specifically, according to the first flow adjustment value, the first flow limit threshold value can be automatically adjusted, that is, the first flow adjustment value is added to the first flow limit threshold value to obtain a target flow limit threshold value, the flow limit threshold value of the first project is automatically adjusted, intelligent flow limit of the first project is realized, and the flow sudden change coping capability and the resource utilization rate of the MQ under multiple projects are improved.
In the embodiment of the application, under the condition that the current limiting information of a first item is acquired and the first current limiting threshold value in the current limiting information is determined to need to be adjusted, a first flow value which is allowed to be added by a target cache proxy server associated with the first item is acquired, a first flow adjustment value which is required to be added by the first item on the basis of the first current limiting threshold value is determined according to the first current limiting threshold value and the first flow value, and the first current limiting threshold value is adjusted according to the first flow adjustment value to obtain a target current limiting threshold value. In the process, when the current limiting information of a first project is received, the current limiting early warning is triggered, the first flow value allowed to be increased by a target cache proxy server associated with the first project is obtained, and the availability of the project within the load limit value of a server is ensured; according to the first flow limiting threshold and the first flow value, a first flow adjustment value which is required to be added by the first project is determined, and the first flow limiting threshold is adjusted according to the first flow adjustment value to obtain a target flow limiting threshold, so that the flow limiting threshold of the first project is automatically adjusted, intelligent flow limiting of the first project is realized, and the flow sudden change coping capability and the resource utilization rate of the MQ under multiple projects are improved.
As an optional embodiment, before the step 101 obtains the first traffic value allowed to be increased by the target caching proxy server, the method further includes:
under the condition of acquiring the current limiting information, calling the load value of each hardware in N kinds of hardware of the target cache proxy server according to the current limiting information, wherein N is a positive integer;
determining that the first current limit threshold needs to be adjusted if the load value of each hardware is less than the hardware load threshold.
Specifically, if the current limiting information of the first item is acquired, the load value of each of the N types of hardware of the target cache proxy server that has been acquired needs to be called according to the current limiting information, and whether the first current limiting value needs to be adjusted is determined; the load value of each hardware is the actual load value of the hardware. And if the load value of each hardware is smaller than the hardware load threshold of the hardware, determining that the first current limiting threshold needs to be adjusted, and if the load value of at least one hardware is larger than or equal to the corresponding hardware load threshold, determining that the first current limiting threshold does not need to be increased.
It is necessary to determine whether the first current limit threshold in the current limit information needs to be adjusted. If it is determined that the first current limit threshold in the current limit information needs to be adjusted
In a specific embodiment, as shown in fig. 2, the MQ platform 23 may query data in the Durid according to the IP information in the current limiting information that is called back, so as to obtain hardware load conditions of a network card, a Central Processing Unit (CPU), a disk, and the like of the target cache proxy server. And judging whether the early warning callback can increase a first current limiting threshold or not according to the hardware load condition. And if the load value of each hardware is smaller than the corresponding hardware load threshold value, determining that the first current limiting threshold value needs to be increased. Otherwise, if the load value of at least one hardware is larger than or equal to the corresponding hardware load threshold value, the first current limit threshold value is determined not to need to be increased.
Further, the hardware load threshold includes, but is not limited to, at least one of:
a Central Processing Unit (CPU) load threshold;
an input load threshold of the disk;
an output load threshold of the disk;
network card flow threshold;
and (4) network card output flow threshold.
When the hardware is a CPU, the corresponding hardware load threshold value is the CPU load threshold value; when the hardware is a disk, the corresponding hardware load threshold is the input load threshold of the disk and/or the output load threshold of the disk; when the hardware is a network card, the corresponding hardware load threshold value is a network card inflow threshold value and/or a network card outflow threshold value.
As an alternative embodiment, the step 101 of obtaining the first traffic value allowed to be added by the target caching proxy server includes:
calculating a load adjustment value of each hardware according to the load value of each hardware and the corresponding hardware load threshold value;
and determining a first flow value allowed to be increased by the target caching proxy server according to the load adjustment values of the N kinds of hardware.
Specifically, if the current limit information of the first item is acquired and it is determined that the first current limit threshold in the current limit information needs to be adjusted, for each type of hardware, a difference between the load value and the hardware load threshold needs to be calculated according to the load value of the hardware and the hardware load threshold corresponding to the load value, so as to obtain load adjustment values, and further obtain load adjustment values of N types of hardware, that is, N load adjustment values. The first traffic value allowed to be added by the target caching proxy server can be determined according to the load adjustment values of the N types of hardware.
In one embodiment, if the first throttling threshold can be increased, the maximum adjustment value in the case of the load limit value of the target cache proxy server, i.e. the first throttling value, is calculated according to various hardware load information of the target cache proxy server.
Calculating the flow limit value of the target cache proxy server: in the initial stage of the MQ server building, limit value pressure measurement is carried out on various hardware loads of each cache proxy server, and the pressure value is stored into the MQ server as a flow limit value. The hardware load threshold is a maximum hardware load value smaller than the pressure value.
Table 1 below is a schematic of the pressure value and the hardware load threshold value:
TABLE 1 pressure value and hardware load threshold
Figure BDA0003505941450000081
When assuming that the traffic early warning is returned, the actual incoming traffic of the target cache proxy server is 300M/s, the actual outgoing traffic is 600M/s, and the hardware load threshold of each hardware is not reached, the load adjustment value of each hardware is:
load regulation value of CPU 540M/s-300M/s-240M/s
Input/output load regulation value of disk is 720M/s-300M/s-420M/s
Network card inflow load adjustment value of 900M/s-300M/s of 600M/s
If the number of the network card output flow interfaces is two, the network card output flow load adjustment value is (900M/s-600M/s)/2 is 150M/s
Further, the determining a first traffic value allowed to be added by the target caching proxy server according to the load adjustment value of the N types of hardware includes:
determining a minimum load adjustment value of the load adjustment values of the N types of hardware as the first flow value.
Specifically, according to the obtained load adjustment values of the N types of hardware, the load adjustment values of the N types of hardware are compared, and the minimum load adjustment value is used as the maximum first traffic value allowed to be added by the target cache proxy server, so that it can be ensured that all hardware does not exceed the hardware load threshold.
In one embodiment, the target caching proxy server allows the maximum first traffic value MIN (240, 420, 600, 150) to be increased to 150M/s.
As an optional embodiment, the current limit information further includes: a first usage flow value for the first item;
the step 102 of determining, according to the first current limit threshold and the first flow rate value, a first flow rate adjustment value that needs to be added to the first item based on the first current limit threshold includes:
calculating a second flow adjustment value which needs to be added to the first item according to the first using flow value and the first current limiting threshold value;
and determining a first flow adjustment value required to be added to the first item on the basis of the first current limiting threshold according to the second flow adjustment value and the first flow value.
Specifically, when the flow limit information includes a first usage flow value actually used in the first item, a difference between the first flow limit threshold and the first usage flow value is calculated according to the first usage flow value and the first flow limit threshold, so that a second flow adjustment value that is required to be added in the first item can be obtained. According to the second flow adjustment value and the first flow limiting threshold value, the first flow adjustment value which is required to be added to the first flow limiting threshold value of the first project can be determined, the whole process can be automatically completed without manual intervention, intelligent flow limiting of the first project is achieved, and the flow sudden change coping capacity and the resource utilization rate of the MQ under multiple projects are improved.
In one embodiment, the first flow rate adjustment value may be determined by: if the first flow limiting threshold set in the first item is 300M/s, the actually used first usage flow value is 270M/s, if the actually used first usage flow exceeds 80% of the first flow limiting threshold, the flow limiting early warning is triggered, since the first usage flow value is 270M/s equals to 300M/s × 90% — 270M/s, the flow limiting early warning is triggered, if the adjusted actual usage flow is 80% of the first flow limiting threshold, the adjusted first flow limiting threshold is 270/0.8 — 340M/s, the first flow adjustment value required to be added is 340-.
As an optional embodiment, the step of determining, according to the second flow rate adjustment value and the first flow rate value, a first flow rate adjustment value that is required to be added to the first item on the basis of the first current limit threshold specifically includes:
determining the smaller of the second flow adjustment value and the first flow value as the first flow adjustment value.
Specifically, the obtained second flow rate adjustment value is compared with the first flow rate value, and the minimum value is used as the first flow rate adjustment value which is required to be added on the basis of the first current limiting threshold value of the first item.
In one embodiment, the second flow adjustment value is 40M/s, the first flow value is 150M/s, and the first flow adjustment value is MIN (40, 150) ═ 40M/s. It can be further known that the target current limiting threshold of the first item is 300+ 40-340M/s.
As an optional embodiment, in step 103, after the first current limiting threshold is adjusted according to the first flow adjustment value to obtain a target current limiting threshold, the method further includes:
acquiring a second current limiting threshold value of each second item in the M second items and a second using flow value of each second item;
determining a third flow adjustment value adjustable for each second item according to the second current limiting threshold and the second usage flow value;
borrowing the first flow adjustment value from the M second items according to a third flow adjustment value adjustable for each second item;
wherein the M second items are items other than the first item in the items associated with the target caching proxy server, and M is a positive integer.
Specifically, after the target current limit threshold is obtained, the Durid may query, in M second items other than the first item in the items associated with the target cache proxy server, a second current limit threshold and a second usage flow value of each second item, and for each second item, calculate a third flow adjustment value that can be borrowed by the second item according to the second current limit threshold and the second usage flow value of the second item. And borrowing the first flow adjustment value from the M second projects for the first project to use according to the third flow adjustment value which can be borrowed by the M second projects. Wherein the second usage flow value is an actual usage flow value of the second item.
The flow relationship of borrowing and returning is explained by an example as follows:
as shown in fig. 3, in the first row: the first flow limit threshold of item 1 is 50M, the first usage flow value is 10M, the first flow limit threshold of item 2 is 50M, and the first usage flow value is 60M. At this point, an item 2 debit of 30M is required so that the current limit threshold for item 2 reaches the target current limit threshold of 80M. In the second row: the item 1 borrows 30M, the first flow limit threshold after borrowing is 20M, the item 2 borrows 30M of the item 1, so that the target flow limit threshold is reached 80M, the flow rate of the item 2 is continuously used in the borrowing process, and the first flow rate value of the item 2 reaches 70M. Third row: after the use of item 2 is completed, the borrowed flow rate can be returned, item 2 returns 30M to item 1, the first flow limit threshold of item 1 is changed back to 50M, item 1 continues to use the flow rate, and the first usage flow rate of item 1 reaches 30M.
In one embodiment, the third flow value that can be borrowed by each second item may be calculated by:
item traffic threshold (LF) -actual traffic (RF)/70%
Wherein F represents a third flow value of a second item;
LF represents a second current limit threshold of a second item;
RF represents a second usage flow value for a second item;
as an optional embodiment, the borrowing the first flow adjustment value from the M second items according to the adjustable third flow adjustment value of each second item specifically includes:
carrying out priority ordering on the third flow adjustment values adjustable for the N items, and borrowing the first flow adjustment values from target items according to the priority order;
wherein the target item is at least one item with higher priority in the M second items, and the sum of the adjustable third flow adjustment values of the target item is the first flow adjustment value.
Specifically, the third flow adjustment values that the M second items are adjustable (i.e., can be borrowed) are prioritized, that is, the M third flow values are prioritized, and the flow is preferentially borrowed to the second item with the higher priority according to the order of the priority from high to low, and if the third flow adjustment value that the first second item can be borrowed is less than or equal to the first flow adjustment value, the flow is not borrowed to other second items; and if the third flow adjustment value which can be borrowed by the first second item is smaller than the first flow adjustment value, the second item is borrowed continuously until the first flow adjustment value is borrowed.
In a specific embodiment, the sorting of the priorities may be performed according to the size of the third flow adjustment value, where a larger priority is higher and a smaller priority is lower. And moreover, the borrowing information of the flow can be recorded and persisted into a MySQL database in the MQ server so as to check information such as automatic adjustment records and adjustment details in the following process.
As a preference, a single roll-back to any one of the dynamically threshold adjusted states may be provided, i.e., a key return to the first current limit threshold may be made if the first current limit threshold is adjusted to the target current limit threshold. If the adjustment is performed a plurality of times, the state before or after any one adjustment can be returned.
As another preference, a one-touch restoration to the initialization state, that is, a state where one-touch is returned to the initial current limit threshold value set manually, may be provided to provide more convenience to the user.
To sum up, in the embodiment of the present application, when the current limit information of a first item is received, a current limit early warning is triggered, a first flow value allowed to be increased by a target cache proxy server associated with the first item is obtained, and the availability of the item within a service end load limit value is ensured; determining a first flow adjustment value required to be added to a first project according to a first flow limit threshold and a first flow value, and adjusting the first flow limit threshold according to the first flow adjustment value to obtain a target flow limit threshold, so that the flow limit threshold of the first project is automatically adjusted, intelligent flow limit of the first project is realized, real flow limit and flow limit adjustment functions are realized, the situation of sudden flow increase is coped with, the resource utilization rate of an MQ server is greatly improved, and the hardware cost of the server is reduced; and the flow limiting threshold values among multiple projects are mutually and automatically borrowed and returned, and the flow mutation coping capacity and the resource utilization rate of the MQ under multiple projects are improved.
According to the flow control method provided by the embodiment of the application, the execution main body can be a flow control device. In the embodiment of the present application, a flow control device provided in the embodiment of the present application is described by taking an example of a flow control method executed by a flow control device.
As shown in fig. 4, an embodiment of the present application further provides a flow control device, including:
a first obtaining module 401, configured to obtain a first flow value allowed to be increased by a target caching proxy server when current limiting information of a first item is obtained and a first current limiting threshold in the current limiting information needs to be adjusted, where the target caching proxy server is a caching proxy server associated with the first item;
a first determining module 402, configured to determine, according to the first current limiting threshold and the first flow rate value, a first flow rate adjustment value that is required to be added to the first item based on the first current limiting threshold;
the first processing module 403 is configured to adjust the first current limiting threshold according to the first flow adjustment value, so as to obtain a target current limiting threshold.
Optionally, the apparatus further comprises:
the calling module is used for calling the load value of each hardware in the N kinds of hardware of the target cache proxy server according to the current limiting information under the condition of acquiring the current limiting information, wherein N is a positive integer;
and the second determining module is used for determining that the first current limiting threshold needs to be adjusted under the condition that the load value of each hardware is smaller than the hardware load threshold.
Optionally, the first obtaining module 401 is specifically configured to:
calculating a load adjustment value of each hardware according to the load value of each hardware and the corresponding hardware load threshold value;
and determining a first flow value allowed to be increased by the target caching proxy server according to the load adjustment values of the N kinds of hardware.
Optionally, the current limiting information further includes: a first actual usage flow value of the first item;
the first determining module 402 is specifically configured to:
calculating a second flow adjustment value which needs to be added to the first item according to the first actual use flow value and the first current limiting threshold value;
and determining a first flow adjustment value required to be added to the first item on the basis of the first current limiting threshold according to the second flow adjustment value and the first flow value.
Optionally, when determining, according to the second flow rate adjustment value and the first flow rate value, a first flow rate adjustment value that is required to be added to the first item on the basis of the first current limit threshold, the first determining module 402 is specifically configured to:
determining the smaller of the second flow adjustment value and the first flow value as the first flow adjustment value.
Optionally, the apparatus further comprises:
the second acquisition module is used for acquiring a second current limiting threshold value of each second item in the M second items and a second actual use flow value of each second item;
a third determining module, configured to determine, according to the second current limiting threshold and the second actually-used flow value, a third flow adjustment value that is adjustable for each of the second items;
a borrowing module, configured to borrow the first flow adjustment value from the M second items according to a third flow adjustment value that is adjustable for each of the second items;
wherein the M second items are items other than the first item in the items associated with the target caching proxy server, and M is a positive integer.
To sum up, in the embodiment of the present application, when the current limit information of a first item is received, a current limit early warning is triggered, a first flow value allowed to be increased by a target cache proxy server associated with the first item is obtained, and the availability of the item within a service end load limit value is ensured; according to the first flow limiting threshold and the first flow value, determining a first flow adjustment value required to be added to the first project, and adjusting the first flow limiting threshold according to the first flow adjustment value to obtain a target flow limiting threshold, so that the flow limiting threshold of the first project is automatically adjusted, the intelligent flow limiting of the first project is realized, the real flow limiting and flow limiting adjustment functions are realized, the situation of sudden flow increase is coped with, the resource utilization rate of the MQ server is greatly improved, and the hardware cost of the server is reduced; and the flow limiting threshold values among multiple projects are mutually and automatically borrowed and returned, and the flow mutation coping capacity and the resource utilization rate of the MQ under multiple projects are improved.
The flow control device in the embodiment of the present application may be an electronic device, or may be a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The flow control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The flow control device provided in the embodiment of the present application can implement each process implemented in the method embodiments of fig. 1 to fig. 3, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 5, an electronic device 500 is further provided in this embodiment of the present application, and includes a processor 501 and a memory 502, where the memory 502 stores a program or an instruction that can be executed on the processor 501, and when the program or the instruction is executed by the processor 501, the steps of the embodiment of the flow control method are implemented, and the same technical effects can be achieved, and are not described again to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 1010 is configured to obtain a first flow value allowed to be increased by a target caching proxy server under the condition that current limiting information of a first item is obtained and a first current limiting threshold in the current limiting information needs to be adjusted, where the target caching proxy server is a caching proxy server associated with the first item;
according to the first current limiting threshold value and the first flow value, determining a first flow adjustment value which is required to be added to the first item on the basis of the first current limiting threshold value;
and adjusting the first current limiting threshold value according to the first flow adjustment value to obtain a target current limiting threshold value.
In the embodiment of the application, under the condition that the current limiting information of a first item is acquired and the first current limiting threshold value in the current limiting information is determined to need to be adjusted, a first flow value which is allowed to be added by a target cache proxy server associated with the first item is acquired, a first flow adjustment value which is required to be added by the first item on the basis of the first current limiting threshold value is determined according to the first current limiting threshold value and the first flow value, and the first current limiting threshold value is adjusted according to the first flow adjustment value to obtain a target current limiting threshold value. In the process, when the current limiting information of a first project is received, the current limiting early warning is triggered, the first flow value allowed to be increased by a target cache proxy server associated with the first project is obtained, and the availability of the project within the load limit value of a server is ensured; according to the first flow limiting threshold value and the first flow value, a first flow adjustment value which needs to be added to the first project is determined, and the first flow limiting threshold value is adjusted according to the first flow adjustment value to obtain a target flow limiting threshold value, so that the flow limiting threshold value of the first project is automatically adjusted, the intelligent flow limiting of the first project is realized, and the flow sudden change coping capability and the resource utilization rate of the MQ under multiple projects are improved.
Optionally, the processor 1010, before obtaining the first traffic value allowed to be increased by the target caching proxy server, is further configured to:
under the condition of acquiring the current limiting information, calling the load value of each hardware in N kinds of hardware of the target cache proxy server according to the current limiting information, wherein N is a positive integer;
determining that the first current limit threshold needs to be adjusted if the load value of each hardware is less than the hardware load threshold.
Optionally, when obtaining the first traffic value allowed to be added by the target caching proxy server, the processor 1010 is specifically configured to:
calculating a load adjustment value of each hardware according to the load value of each hardware and the corresponding hardware load threshold value;
and determining a first flow value allowed to be increased by the target caching proxy server according to the load adjustment values of the N kinds of hardware.
Optionally, the current limit information further includes: a first usage flow value for the first item;
when determining, according to the first current limit threshold and the first flow rate value, a first flow rate adjustment value that the first item needs to be increased on the basis of the first current limit threshold, the processor 1010 is specifically configured to:
calculating a second flow adjustment value which needs to be added to the first item according to the first using flow value and the first current limiting threshold value;
and determining a first flow adjustment value required to be added to the first item on the basis of the first current limiting threshold according to the second flow adjustment value and the first flow value.
Optionally, when determining, according to the second flow rate adjustment value and the first flow rate value, a first flow rate adjustment value that is required to be added to the first item on the basis of the first current limit threshold, the processor 1010 is specifically configured to:
determining the smaller of the second flow adjustment value and the first flow value as the first flow adjustment value.
Optionally, after the processor 1010 adjusts the first current limiting threshold according to the first flow adjustment value to obtain a target current limiting threshold, the processor is further configured to:
acquiring a second current limiting threshold value of each second item in the M second items and a second using flow value of each second item;
determining a third flow adjustment value adjustable for each second item according to the second current limiting threshold and the second usage flow value;
borrowing the first flow adjustment value from the M second items according to a third flow adjustment value adjustable for each second item;
wherein the M second items are items other than the first item in the items associated with the target caching proxy server, and M is a positive integer.
To sum up, in the embodiment of the present application, when the current limit information of a first item is received, a current limit early warning is triggered, a first flow value allowed to be increased by a target cache proxy server associated with the first item is obtained, and the availability of the item within a service end load limit value is ensured; determining a first flow adjustment value required to be added to a first project according to a first flow limit threshold and a first flow value, and adjusting the first flow limit threshold according to the first flow adjustment value to obtain a target flow limit threshold, so that the flow limit threshold of the first project is automatically adjusted, intelligent flow limit of the first project is realized, real flow limit and flow limit adjustment functions are realized, the situation of sudden flow increase is coped with, the resource utilization rate of an MQ server is greatly improved, and the hardware cost of the server is reduced; and the flow limiting threshold values among multiple projects are mutually and automatically borrowed and returned, and the flow mutation coping capacity and the resource utilization rate of the MQ under multiple projects are improved.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first storage area for storing a program or an instruction and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, and the like) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 1009 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor, which primarily handles operations related to the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the process of the embodiment of the flow control method is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the embodiment of the flow control method, and can achieve the same technical effect, and is not described herein again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing embodiments of the flow control method, and achieve the same technical effects, and in order to avoid repetition, details are not described here again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A method of flow control, comprising:
under the conditions that the current limiting information of a first item is obtained and the first current limiting threshold value in the current limiting information needs to be adjusted, obtaining a first flow value allowed to be increased by a target caching proxy server, wherein the target caching proxy server is a caching proxy server associated with the first item;
according to the first current limiting threshold value and the first flow value, determining a first flow adjustment value which is required to be added to the first item on the basis of the first current limiting threshold value;
and adjusting the first current limiting threshold value according to the first flow adjustment value to obtain a target current limiting threshold value.
2. The method of claim 1, wherein before obtaining the first traffic value allowed to be added by the target caching proxy server, the method further comprises:
under the condition of acquiring the current limiting information, calling the load value of each hardware in N kinds of hardware of the target cache proxy server according to the current limiting information, wherein N is a positive integer;
determining that the first current limit threshold needs to be adjusted if the load value of each hardware is less than the hardware load threshold.
3. The method of claim 2, wherein obtaining the first traffic value allowed to be added by the target caching proxy server comprises:
calculating a load adjustment value of each hardware according to the load value of each hardware and the corresponding hardware load threshold value;
and determining a first flow value allowed to be increased by the target caching proxy server according to the load adjustment values of the N kinds of hardware.
4. The method of claim 1, wherein the current limit information further comprises: a first usage flow value for the first item;
the determining, according to the first current limit threshold and the first flow rate value, a first flow rate adjustment value that the first item needs to be increased on the basis of the first current limit threshold includes:
calculating a second flow adjustment value which needs to be added to the first item according to the first using flow value and the first current limiting threshold value;
and determining a first flow adjustment value required to be added to the first item on the basis of the first current limiting threshold according to the second flow adjustment value and the first flow value.
5. The method of claim 4, wherein determining the first flow adjustment value by which the first item needs to be increased based on the first flow limit threshold based on the second flow adjustment value and the first flow value comprises:
determining the smaller of the second flow adjustment value and the first flow value as the first flow adjustment value.
6. The method of claim 1, wherein after adjusting the first current limit threshold according to the first flow adjustment value to obtain a target current limit threshold, the method further comprises:
acquiring a second current limiting threshold value of each second item in the M second items and a second using flow value of each second item;
determining a third flow adjustment value adjustable for each second item according to the second current limit threshold and the second usage flow value;
borrowing the first flow adjustment value from the M second items according to a third flow adjustment value adjustable for each second item;
wherein the M second items are items other than the first item in the items associated with the target caching proxy server, and M is a positive integer.
7. A flow control device, comprising:
the system comprises a first acquisition module, a first processing module and a second acquisition module, wherein the first acquisition module is used for acquiring a first flow value allowed to be increased by a target caching proxy server under the conditions that the flow limiting information of a first item is acquired and a first flow limiting threshold value in the flow limiting information needs to be adjusted, and the target caching proxy server is a caching proxy server associated with the first item;
a first determining module, configured to determine, according to the first current limiting threshold and the first flow rate value, a first flow rate adjustment value that is required to be added to the first item on the basis of the first current limiting threshold;
and the first processing module is used for adjusting the first current limiting threshold value according to the first flow adjustment value to obtain a target current limiting threshold value.
8. The apparatus of claim 7, further comprising:
the calling module is used for calling the load value of each hardware in the N kinds of hardware of the target cache proxy server according to the current limiting information under the condition of acquiring the current limiting information, wherein N is a positive integer;
and the second determining module is used for determining that the first current limiting threshold needs to be adjusted under the condition that the load value of each hardware is smaller than the hardware load threshold.
9. The apparatus of claim 8, wherein the first obtaining module is specifically configured to:
calculating a load adjustment value of each hardware according to the load value of each hardware and the corresponding hardware load threshold value;
and determining a first flow value allowed to be increased by the target caching proxy server according to the load adjustment values of the N kinds of hardware.
10. The apparatus of claim 7, wherein the current limit information further comprises: a first usage flow value for the first item;
the first determining module is specifically configured to:
calculating a second flow adjustment value which needs to be added to the first item according to the first using flow value and the first current limiting threshold;
and determining a first flow adjustment value required to be added to the first item on the basis of the first current limiting threshold according to the second flow adjustment value and the first flow value.
11. The apparatus of claim 10, wherein the first determining module, when determining the first flow adjustment value that the first item needs to be increased based on the first flow limit threshold according to the second flow adjustment value and the first flow value, is specifically configured to:
determining the smaller of the second flow adjustment value and the first flow value as the first flow adjustment value.
12. The apparatus of claim 7, further comprising:
the second acquisition module is used for acquiring a second current limiting threshold value of each second item in the M second items and a second using flow value of each second item;
a third determining module, configured to determine, according to the second current limiting threshold and the second usage flow value, a third flow adjustment value that is adjustable for each of the second items;
a borrowing module, configured to borrow the first flow adjustment value from the M second items according to a third flow adjustment value that is adjustable for each of the second items;
wherein the M second items are items other than the first item in the items associated with the target caching proxy server, and M is a positive integer.
CN202210139164.7A 2022-02-15 2022-02-15 Flow control method and device Active CN114553775B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210139164.7A CN114553775B (en) 2022-02-15 2022-02-15 Flow control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210139164.7A CN114553775B (en) 2022-02-15 2022-02-15 Flow control method and device

Publications (2)

Publication Number Publication Date
CN114553775A true CN114553775A (en) 2022-05-27
CN114553775B CN114553775B (en) 2024-04-26

Family

ID=81674867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210139164.7A Active CN114553775B (en) 2022-02-15 2022-02-15 Flow control method and device

Country Status (1)

Country Link
CN (1) CN114553775B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030191853A1 (en) * 2002-04-03 2003-10-09 Yoshitsugu Ono Method and apparatus for controlling traffic flow rate
CN105208121A (en) * 2015-09-23 2015-12-30 深圳市深信服电子科技有限公司 File access flow control method and system based on distributed file system
US20170272371A1 (en) * 2016-03-21 2017-09-21 Alibaba Group Holding Limited Flow control in connection with an access request
CN107547433A (en) * 2017-07-03 2018-01-05 阿里巴巴集团控股有限公司 The method, apparatus and equipment of current limliting are carried out based on Token Bucket
CN110996352A (en) * 2019-12-20 2020-04-10 众安在线财产保险股份有限公司 Flow control method and device, computer equipment and storage medium
CN113326132A (en) * 2021-06-04 2021-08-31 深圳前海微众银行股份有限公司 Information adjusting method, equipment and storage medium
CN113630327A (en) * 2021-10-12 2021-11-09 北京每日优鲜电子商务有限公司 Flow control method and device, electronic equipment and computer readable medium
CN113949665A (en) * 2020-06-29 2022-01-18 华为技术有限公司 Method, device, chip and computer storage medium for determining flow control threshold

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030191853A1 (en) * 2002-04-03 2003-10-09 Yoshitsugu Ono Method and apparatus for controlling traffic flow rate
CN105208121A (en) * 2015-09-23 2015-12-30 深圳市深信服电子科技有限公司 File access flow control method and system based on distributed file system
US20170272371A1 (en) * 2016-03-21 2017-09-21 Alibaba Group Holding Limited Flow control in connection with an access request
CN107547433A (en) * 2017-07-03 2018-01-05 阿里巴巴集团控股有限公司 The method, apparatus and equipment of current limliting are carried out based on Token Bucket
CN110996352A (en) * 2019-12-20 2020-04-10 众安在线财产保险股份有限公司 Flow control method and device, computer equipment and storage medium
CN113949665A (en) * 2020-06-29 2022-01-18 华为技术有限公司 Method, device, chip and computer storage medium for determining flow control threshold
CN113326132A (en) * 2021-06-04 2021-08-31 深圳前海微众银行股份有限公司 Information adjusting method, equipment and storage medium
CN113630327A (en) * 2021-10-12 2021-11-09 北京每日优鲜电子商务有限公司 Flow control method and device, electronic equipment and computer readable medium

Also Published As

Publication number Publication date
CN114553775B (en) 2024-04-26

Similar Documents

Publication Publication Date Title
CN108776934B (en) Distributed data calculation method and device, computer equipment and readable storage medium
US10783002B1 (en) Cost determination of a service call
CN112860695B (en) Monitoring data query method, device, equipment, storage medium and program product
CN115277566B (en) Load balancing method and device for data access, computer equipment and medium
WO2016184048A1 (en) Method and device for frequency management for multi-core processor cpu
CN114416352A (en) Computing resource allocation method and device, electronic equipment and storage medium
CN104202305A (en) Transcoding processing method and device, server
CN112506619A (en) Job processing method, apparatus, electronic device, storage medium, and program product
CN114528104A (en) Task processing method and device
CN112615795A (en) Flow control method and device, electronic equipment, storage medium and product
CN110347477B (en) Service self-adaptive deployment method and device in cloud environment
CN112672405A (en) Power consumption calculation method and device, storage medium, electronic device and server
CN109634812B (en) Process CPU occupancy rate control method of Linux system, terminal device and storage medium
CN108733536A (en) Monitoring management system and method
CN114553775A (en) Flow control method and device
CN116886626A (en) Service data flow limiting method and device, computer equipment and storage medium
CN114827033B (en) Data flow control method, device, equipment and computer readable storage medium
CN116055401A (en) Message processing method, device, equipment and storage medium
CN115756135A (en) Processor management method and computing device
EP2622499A2 (en) Techniques to support large numbers of subscribers to a real-time event
CN116955271A (en) Method and device for storing data copy, electronic equipment and storage medium
KR102464688B1 (en) Method and apparatus for detrmining event level of monitoring result
CN114356582A (en) Expansion method, system, equipment and medium based on edge cloud computing
CN109213451B (en) Management method and device for storage resources in cloud data system
CN111459981A (en) Query task processing method, device, server and system

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
GR01 Patent grant
GR01 Patent grant