CN113765969A - Flow control method and device - Google Patents

Flow control method and device Download PDF

Info

Publication number
CN113765969A
CN113765969A CN202011039965.3A CN202011039965A CN113765969A CN 113765969 A CN113765969 A CN 113765969A CN 202011039965 A CN202011039965 A CN 202011039965A CN 113765969 A CN113765969 A CN 113765969A
Authority
CN
China
Prior art keywords
information acquisition
server
user
flow control
acquisition requests
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011039965.3A
Other languages
Chinese (zh)
Inventor
崔宏伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202011039965.3A priority Critical patent/CN113765969A/en
Publication of CN113765969A publication Critical patent/CN113765969A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload

Abstract

The invention discloses a flow control method and a flow control device, and relates to the technical field of computers. One embodiment of the method comprises: the method is applied to any server in a service cluster, and is used for monitoring a display bit information acquisition request received by the applied server, wherein the monitoring result comprises the following steps: the user level information in the display bit information acquisition request and the number of the display bit information acquisition requests in a set period are acquired; calculating the query rate corresponding to each user grade according to the user grade information in the display grade information acquisition requests and the number of the display grade information acquisition requests in a set period; and controlling the quantity of the display position information acquisition requests responded by the server according to the query rate corresponding to each user grade and a preset flow control strategy. The implementation method can effectively improve the service performance of the service system running in the service cluster.

Description

Flow control method and device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a flow control method and apparatus.
Background
At present, various display positions exist on a plurality of webpages, such as commodity recommendation positions, commodity display positions and the like on webpages related to shopping websites. The information of these display bits is generally derived from a special service system, and therefore, the stability of the service system will directly affect the display of the display bits. When the instantaneous peak flow of accessing the webpage where the display position is located is relatively large (for example, during the period of sales promotion by an e-commerce, the instantaneous peak flow of the webpage related to the e-commerce website can be 10-20 times of the ordinary flow), impact can be caused to the service system of the display position, and even the service system is down. And controlling the flow of the access is one of the ways to guarantee the normal operation of the service system.
The existing current limiting method mainly adopts a uniform current limiting rule to control access traffic of each server in a service system, that is, when a Query Per Second (QPS) of a part of servers reaches a threshold, all servers in the service system are limited.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
when the traffic of each server in the service system is different, the existing flow limiting method can cause the server which can still bear the traffic to be limited, thereby reducing the service performance of the service system.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for controlling traffic, so that each server in a server cluster can achieve the maximum bearer traffic of the server, thereby effectively improving the service performance of a service system running in the server cluster.
To achieve the above object, according to an aspect of the embodiments of the present invention, there is provided a traffic control method applied to any server in a service cluster, including:
monitoring a display position information acquisition request received by the applied server, wherein the monitoring result comprises: user level information in the display bit information acquisition request and the number of the display bit information acquisition requests in a set period;
calculating the query rate corresponding to each user grade according to the user grade information in the display position information acquisition requests and the number of the display position information acquisition requests in the set period;
and controlling the quantity of the display position information acquisition requests responded by the server according to the query rate corresponding to each user grade and a preset flow control strategy.
Alternatively,
a flow control method, characterized in that,
further comprising: calculating the query rate corresponding to the server according to the number of the display position information acquisition requests in a set period;
and judging whether the query rate corresponding to the server is greater than a preset first control threshold, if so, controlling the number of the display bit information acquisition requests responded by the server to be not greater than the first control threshold, wherein the first control threshold is not greater than the sum of the query rates of all user levels managed by the server.
Alternatively,
the flow control strategy comprises:
a query rate threshold corresponding to each user level; and
and for each user grade, responding to the condition that the query rate corresponding to the user grade is greater than the query rate threshold corresponding to the user grade, and intercepting the display position information acquisition request corresponding to the user grade.
Alternatively,
controlling the number of the display bit information acquisition requests responded by the server not to be larger than the first control threshold value, and the method comprises the following steps:
determining the query proportion of all user grades according to the query rate threshold corresponding to each user grade;
and intercepting a display position information acquisition request corresponding to the user grade according to the query proportion.
Alternatively,
the flow control method further comprises the following steps: responding to the plurality of intercepted display position information acquisition requests to respectively correspond to a plurality of user grades, and sequencing the plurality of intercepted display position information acquisition requests according to the query proportion among the user grades.
Alternatively,
the flow control method further comprises the following steps:
calculating the utilization rate of the server according to the use condition of a central processing unit contained in the server in a set period included by the monitoring result;
and intercepting the display position information acquisition request in response to the utilization rate of the server being greater than a preset second control threshold value.
In a second aspect, an embodiment of the present invention provides a flow control device, which is applied to any server in a service cluster, and includes: a monitoring unit and an access management unit, wherein,
the monitoring unit is configured to monitor a display location information acquisition request received by the server, where the monitoring result includes: user level information in the display bit information acquisition request and the number of the display bit information acquisition requests in a set period;
the access management unit is used for calculating the query rate corresponding to each user grade according to the user grade information in the display position information acquisition requests and the number of the display position information acquisition requests in the set period; and controlling the quantity of the display position information acquisition requests responded by the server according to the query rate corresponding to each user grade and a preset flow control strategy.
Alternatively,
the access management unit is further configured to calculate a query rate corresponding to the server according to the number of the display bit information acquisition requests in a set period; and judging whether the query rate corresponding to the server is greater than a preset first control threshold, if so, controlling the number of the display bit information acquisition requests responded by the server to be not greater than the first control threshold, wherein the first control threshold is not greater than the sum of the query rates of all user levels managed by the server.
Alternatively,
the flow control strategy comprises:
a query rate threshold corresponding to each user level; and
and for each user grade, responding to the condition that the query rate corresponding to the user grade is greater than the query rate threshold corresponding to the user grade, and intercepting the display position information acquisition request corresponding to the user grade.
One embodiment of the above invention has the following advantages or benefits: because the scheme provided by the embodiment of the invention is applied to any server in the service cluster, namely, the flow control is respectively carried out aiming at different servers in the service cluster, based on the actual condition of each server in the service cluster (namely, the display bit information acquisition request received by the monitoring server, the monitoring result comprises the user grade information in the display bit information acquisition request and the number of the display bit information acquisition requests in the set period), the query rate corresponding to each user grade is calculated according to the user grade information in the display bit information acquisition request and the number of the display bit information acquisition requests in the set period, then the number of the display bit information acquisition requests responded by the server is controlled according to the query rate corresponding to each user grade and the preset flow control strategy, so that each server in the server cluster can reach the maximum load flow of the server, therefore, the service performance of the service system running in the service cluster is effectively improved. In addition, the flow is controlled for the server according to the query rate corresponding to each user grade and a preset flow control strategy, so that the flow is controlled differently according to the user grade information, the requirements of different users are met, and the user experience is improved.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of a service cluster of a recommendation service system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a main flow of a method of flow control according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the main elements of a flow control device according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a server in a service cluster, according to an embodiment of the invention;
fig. 5 is a schematic diagram of a main flow of a method of flow control according to an embodiment of the present invention;
FIG. 6 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
FIG. 7 is a schematic block diagram of a computer system suitable for use with a server implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The architecture of a service cluster in which a service system providing services for various display positions on a web page, such as a commodity recommendation position and a commodity display position on a web page related to a shopping website, is located, can be shown in fig. 1. As shown in fig. 1, service clusters corresponding to recommended service systems are provided in machine rooms in different regions, for example, a service cluster corresponding to a recommended service system provided in a machine room in a region a includes a server a1, servers a2, …, and a server An, a service cluster corresponding to a recommended service system provided in a machine room in a region B includes a server B1, servers B2, …, a server Am, and …, a service cluster corresponding to a recommended service system provided in a machine room in An X region includes a server X1, servers X2, …, a server Xk, and the like, where values of n, m, and k are not less than 2. The corresponding display bit information acquisition requests are distributed to the machine rooms in different regions through a load balancing layer, and the load balancing layer can distribute the display bit information acquisition requests through the distribution proportion of each pre-configured machine room (for example, the machine room in the area A: the machine room in the area B: …: the machine room in the area X: 5: 2: …: 3), the service cluster corresponding to the recommended service system set for the machine room in the area A, the service cluster corresponding to the recommended service system set for the machine room in the area B, …, the recommended service system set for the machine room in the area X, and the like. And distributing a corresponding display position information acquisition request for the servers included in the service cluster corresponding to the recommendation service system in a certain proportion manner in the service cluster corresponding to the recommendation service system, so that the servers included in the service cluster corresponding to the recommendation service system provide the display position information corresponding to the display position information acquisition request, such as commodity information on the display position.
In the above process, although the corresponding display bit information acquisition request is allocated to the service cluster corresponding to each recommended service system according to the balanced load, it cannot be guaranteed that each server in the service cluster corresponding to the recommended service system can reach the maximum bearing capacity, and even if the corresponding display bit information acquisition request is allocated to each server in the service cluster according to the balanced load manner, it cannot be guaranteed that each server can reach the maximum bearing capacity. In addition, the cluster cannot provide query services differently according to user differences.
Therefore, the flow control scheme provided by the embodiment of the present invention is a flow control scheme for each server in a service cluster. That is, flow control is performed from the server itself, so as to ensure that each server in the service cluster can reach the maximum flow carrying capacity, thereby effectively improving service performance.
Fig. 2 is a flow control method according to an embodiment of the present invention, and as shown in fig. 2, the flow control method, applied to any server in a service cluster, may include the following steps:
s201: monitoring a display position information acquisition request received by an applied server, wherein the monitoring result comprises the following steps: the user level information in the display bit information acquisition request and the number of the display bit information acquisition requests in a set period are acquired;
s202: calculating the query rate corresponding to each user grade according to the user grade information in the display grade information acquisition requests and the number of the display grade information acquisition requests in a set period;
s203: and controlling the quantity of the display position information acquisition requests responded by the server according to the query rate corresponding to each user grade and a preset flow control strategy.
The display position information acquisition request refers to a request which is sent by a client and carries display position characteristic information such as a display position, a display position number and the like, a server can search text information, pictures and the like corresponding to the display position, the display position number and the like from the server according to the display position information acquisition request, and the server sends the searched text information, pictures and the like to the corresponding client so that the client can display the text information, the pictures and the like on the display position.
The flow control index may be preset by a user, for example, the CPU usage of the server, the number of display position information acquisition requests currently processed by the server, and the like.
The scheme provided by the embodiment shown in fig. 2 is applied to any server in a service cluster, that is, flow control is respectively performed for different servers in the service cluster, based on the actual situation of each server in the service cluster (that is, a display bit information acquisition request received by a monitoring server, the monitoring result includes user level information in the display bit information acquisition request and the number of the display bit information acquisition requests in a set period), the query rate corresponding to each user level is calculated according to the user level information in the display bit information acquisition request and the number of the display bit information acquisition requests in the set period, and then the number of the display bit information acquisition requests responded by the server is controlled according to the query rate corresponding to each user level and a preset flow control policy, so that each server in the server cluster can achieve the maximum bearer flow of itself, therefore, the service performance of the service system running in the service cluster is effectively improved. In addition, the flow is controlled for the server according to the query rate corresponding to each user grade and a preset flow control strategy, so that the flow is controlled differently according to the user grade information, the requirements of different users are met, and the user experience is improved.
The specific implementation manner of step S202 may perform corresponding adjustment of the calculation process according to different information included in the monitoring result.
The user level information refers to a corresponding level set by a service provider for a user according to a user shopping condition, such as a gold card user, a silver card user, a bronze card user, a primary user, a secondary user, and the like, and further such as a member user and the like.
The setting period may be a preset time period or the number of acquisition times of the number of the display bit information acquisition requests. For example, the set period may be 1 second(s), 10s, 100 milliseconds (ms), 300ms, or the like. The set period can be modified accordingly according to the specific situation.
The number of acquisition times of the number of display bit information acquisition requests is the number of display bit information acquisition requests received by the server at regular intervals (for example, 1ms, 10ms, and the like), and for example, a set period may be one period of acquisition times of 5 times, 10 times, and the like. The time interval between the acquisition of the number of the display bit information acquisition requests received by the server at one time is relatively fixed, so that the setting period is a time period which can be switched to the setting period which is the acquisition time, for example, the setting period is the acquisition time 5, and the setting period is an event period 10ms after the acquisition is performed every 2 ms.
There are two ways to calculate the query rate corresponding to each user level for the monitored results including the user level information in the display level information acquisition request and the number of display level information acquisition requests in the set period.
In one embodiment, the first implementation manner of calculating the query rate corresponding to each user level is as follows according to the following calculation formula (1):
Figure BDA0002706346320000071
wherein Q isi,1Representing the query rate corresponding to the user grade i obtained by calculation in the first implementation mode; i represents the user grade;
Figure BDA0002706346320000072
representing the quantity of display position information acquisition requests corresponding to the user level i acquired for the first time in a set period;
Figure BDA0002706346320000073
representing the number of the display position information acquisition requests corresponding to the user level i acquired for the second time in a set period;
Figure BDA0002706346320000081
representing the quantity of display position information acquisition requests corresponding to the user level i acquired for the nth time in a set period; n represents the total times of acquisition in a set period; t represents the time interval between the acquisition of two adjacent display bit information acquisition requests, e.g., the acquisition
Figure BDA0002706346320000082
And get
Figure BDA0002706346320000083
The time of the interval, etc. The t is generally set according to the user's needs.
In one embodiment, according to the following calculation formula (2), a second implementation manner of calculating the query rate corresponding to each user level is as follows:
Figure BDA0002706346320000084
wherein Q isi,2Representing the query rate corresponding to the user grade i obtained by calculation in the implementation mode II;
Figure BDA0002706346320000085
representing the quantity of display position information acquisition requests corresponding to the user level i acquired for the first time in a set period;
Figure BDA0002706346320000086
representing the number of the display position information acquisition requests corresponding to the user level i acquired for the second time in a set period;
Figure BDA0002706346320000087
representing the quantity of display position information acquisition requests corresponding to the user level i acquired for the nth time in a set period; n represents the total times of acquisition in a set period; t represents the duration of a set period. For a given period of acquisition times, T is then equal to (acquisition times-1) times the time interval between two adjacent acquisitions, which is relatively fixed. The set period is the acquisition times, and T is equal to (acquisition times-1) multiplied by the time interval of two adjacent acquisitions, so that the occurrence of server overload conditions can be avoided as much as possible.
In an embodiment of the present invention, the flow control method may further include: according to the number of the display bit information acquisition requests in a set period, calculating the query rate corresponding to the server, judging whether the query rate corresponding to the server is greater than a preset first control threshold, if so, controlling the number of the display bit information acquisition requests responded by the server to be not greater than the first control threshold, wherein the first control threshold is not greater than the sum of the query rate thresholds of all user levels managed by the server.
Wherein, the query rate threshold of the user level may be set by the administrator in advance according to the performance of the server.
Accordingly, the sum of the query rate thresholds of all user levels managed by the server may be, for example, 5 user levels, level 1, level 2, level 3, level 4, and level 5 managed by the server, where the sum of the query rate thresholds of the 5 user levels is the sum of the query rate thresholds of all user levels managed by the server. The user grades can be corresponding user grades generated for the user information according to the purchasing behavior or consumption of the user; the user level may also be a corresponding user level generated for the user information according to the browsing behavior of the user.
In the embodiment of the invention, after the query rate corresponding to the server is judged to be smaller than the preset first control threshold, the quantity of the display bit information acquisition requests responded by the server is controlled directly according to the query rate corresponding to each user level and the preset flow control strategy.
By judging whether the query rate corresponding to the server is greater than the preset first control threshold value or not, the method realizes that stricter flow control is carried out on the quantity of the display position information acquisition requests responded by the server by combining the query rate corresponding to the server and the query rate corresponding to each user level, so that the server can run smoothly on the premise of the maximum bearing capacity, and the service is prevented from being affected due to downtime.
For the monitoring result including the number of the display bit information acquisition requests in the set period, the first embodiment of step S202 is:
and calculating the corresponding query rate of the server according to the number of the display bit information acquisition requests in the set period.
The setting period may be a preset time period or the number of acquisition times of the number of the display bit information acquisition requests. For example, the set period may be 1 second(s), 10s, 100 milliseconds (ms), 300ms, or the like. The set period can be modified accordingly according to the specific situation.
The number of acquisition times of the number of display bit information acquisition requests is the number of display bit information acquisition requests received by the server at regular intervals (for example, 1ms, 10ms, and the like), and for example, a set period may be one period of acquisition times of 5 times, 10 times, and the like. The time interval between the acquisition of the number of the display bit information acquisition requests received by the server at one time is relatively fixed, so that the setting period is a time period which can be switched to the setting period which is the acquisition time, for example, the setting period is the acquisition time 5, and the setting period is an event period 10ms after the acquisition is performed every 2 ms.
There are two implementation manners for calculating the query rate corresponding to the server.
In one embodiment, the first implementation manner of calculating the query rate corresponding to the server is as follows according to the following calculation formula (3):
Figure BDA0002706346320000091
wherein Q is1Representing the query rate corresponding to the server obtained by calculation in the first implementation mode;
Figure BDA0002706346320000092
representing the quantity of the display bit information acquisition requests acquired for the first time in a set period;
Figure BDA0002706346320000093
representing the quantity of the display bit information acquisition requests acquired for the second time in a set period;
Figure BDA0002706346320000101
representing the quantity of the display bit information acquisition requests acquired at the nth time in a set period; n represents the total times of acquisition in a set period; t represents the time interval between the acquisition of two adjacent display bit information acquisition requests, e.g., the acquisition
Figure BDA0002706346320000102
And get
Figure BDA0002706346320000103
The time of the interval, etc. The t is generally set according to the user's needs.
In one embodiment, according to the following calculation formula (4), a second implementation manner of calculating the query rate corresponding to the server is:
Figure BDA0002706346320000104
wherein Q is2Representing the query rate corresponding to the server obtained by calculation in the implementation mode II;
Figure BDA0002706346320000105
representing the quantity of the display bit information acquisition requests acquired for the first time in a set period;
Figure BDA0002706346320000106
representing the quantity of the display bit information acquisition requests acquired for the second time in a set period;
Figure BDA0002706346320000107
representing the quantity of the display bit information acquisition requests acquired at the nth time in a set period; n represents the total times of acquisition in a set period; t represents the duration of a set period. For a given period of acquisition times, T is then equal to (acquisition times-1) times the time interval between two adjacent acquisitions, which is relatively fixed. The set period is the acquisition times, and T is equal to (acquisition times-1) multiplied by the time interval of two adjacent acquisitions, so that the occurrence of server overload conditions can be avoided as much as possible.
In an embodiment of the present invention, the flow control policy may include: a first query rate threshold corresponding to each user level; and for each user grade, responding to the condition that the query rate corresponding to the user grade is larger than a first query rate threshold value corresponding to the user grade, and intercepting the display position information acquisition request corresponding to the user grade. The first query rate threshold corresponding to each user level can be set according to actual needs. For example, a higher first query rate threshold may be assigned to a high-level user with a higher consumption intention, and a lower first query rate threshold may be assigned to a low-level user with a lower consumption intention, so that the user experience of the high-level user may be effectively improved by intercepting the different display space acquisition requests for each user level. In addition, the corresponding query rate threshold may be allocated according to the proportion of each class of users, for example, a higher query rate threshold is allocated for a higher class, and a lower query rate threshold is allocated for a lower class, so as to balance the allocation among different classes of users, and meet the requirements of various classes of users as much as possible. Correspondingly, intercepting the display position information acquisition requests corresponding to the user levels is specifically intercepting part of the display position information acquisition requests corresponding to each user level, so that the number of the display position information acquisition requests corresponding to each user level issued to the server is not greater than a first query rate threshold, and meanwhile, the number of all the corresponding display position information acquisition requests issued to the server is not greater than a first control threshold. The server can be ensured to run safely, and the server overload is avoided.
In an embodiment of the present invention, a specific implementation that the number of the display bit information obtaining requests responded by the control server is not greater than the first control threshold may include: determining the query proportion of all user grades according to the query rate threshold corresponding to each user grade; and intercepting a display position information acquisition request corresponding to the user grade according to the query proportion.
The query ratios of all the user levels are determined according to the query rate threshold corresponding to each user level, so that the query ratios of all the user levels can be guaranteed to be reasonable, and a user has better experience.
For example, there are three user levels, and the query proportion between them is user level 1: user level 2: user rating 3 ═ 5: 2: 2, when the sum of the query rates of all user levels is greater than a first control threshold, according to 5: 2: and 2, issuing display position information acquisition requests corresponding to the user level 1, the user level 2 and the user level 3 to the server, and ensuring that the number of the display position information acquisition requests issued to the server is not greater than a first control threshold value.
It should be noted that, in the process of performing flow control according to the query ratio between user levels, if the number of the display bit information acquisition requests corresponding to a certain user level does not satisfy the query ratio, the display bit information acquisition requests corresponding to other user levels may be used to fill up the query ratio, so as to satisfy the display bit information acquisition requests of the user as much as possible and ensure the stability of the display bit information.
In the embodiment of the present invention, the flow control method may further include: calculating the utilization rate of the server according to the use condition of a central processing unit contained in the server in a set period included by the monitoring result; and intercepting the display position information acquisition request in response to the utilization rate of the server being greater than a preset second control threshold value. The second control threshold may be set empirically by an expert, as the case may be. The number of the display bit information acquisition requests responded by the server can be further controlled through the utilization rate of the server, so that the running stability of the server is further improved.
For the monitoring result including the usage of the central processing unit included in the server in the set period, the method may further include:
and calculating the utilization rate of the server according to the use condition of a Central Processing Unit (CPU) contained in the server in a set period.
The set period may be a preset time period or the number of times of acquiring the CPU usage. For example, the set period may be 1 second(s), 10s, 100 milliseconds (ms), 300ms, or the like. The set period can be modified accordingly according to the specific situation.
The number of times of acquiring the CPU usage refers to acquiring the CPU usage (i.e., the CPU occupancy) in the server at regular intervals (e.g., 1ms, 10ms, etc.), and for example, the set period may be 5 times, 10 times, etc. as one period. Since the time interval for acquiring the CPU usage (i.e., the CPU occupancy rate) in the server once is relatively fixed, the setting period may be switched between the time period and the setting period, for example, the setting period is 5 times of acquisition times, and the setting period is 10ms of event period if the acquisition is performed every 2 ms.
The utilization rate corresponding to the computing server can be realized in two ways.
In one embodiment, the corresponding utilization of the server is calculated according to the following calculation formula (5):
S1=max{ω1,CPU,ω2,CPU,…,ωm,CPU} (5)
wherein S is1Representing the utilization rate corresponding to the server obtained by calculation in the first implementation mode; omega1,CPUCharacterizing the occupancy rate of a Central Processing Unit (CPU) contained in a server acquired for the first time in a set period;
Figure BDA0002706346320000121
characterizing the occupancy rate of a Central Processing Unit (CPU) contained in the server acquired for the second time in a set period;
Figure BDA0002706346320000122
characterizing the occupancy rate of a Central Processing Unit (CPU) contained in the server acquired at the mth time in a set period; and m represents the total collection times in a set period.
In one embodiment, according to the following calculation formula (6), a second implementation manner of calculating the query rate corresponding to the server is as follows:
Figure BDA0002706346320000123
wherein S is2Representing the utilization rate corresponding to the server obtained by calculation in the implementation mode II; omega1,CPUCharacterizing the occupancy rate of a Central Processing Unit (CPU) contained in a server acquired for the first time in a set period;
Figure BDA0002706346320000124
characterizing the occupancy rate of a Central Processing Unit (CPU) contained in the server acquired for the second time in a set period;
Figure BDA0002706346320000125
characterizing the occupancy rate of a Central Processing Unit (CPU) contained in the server acquired at the mth time in a set period; m is characterized in a set periodAnd collecting the total times.
In this embodiment of the present invention, the flow control method may further include: and responding to the plurality of intercepted display position information acquisition requests to respectively correspond to the plurality of user grades, and sequencing the plurality of intercepted display position information acquisition requests according to the query proportion among the user grades. And continuously issuing the intercepted plurality of display position information acquisition requests to the server according to the sequence.
There may be two specific implementation manners for ordering the intercepted multiple display position information acquisition requests according to the query proportion among various user levels.
The first method is a method for sequencing a plurality of intercepted display bit information acquisition requests:
arranging the display position information acquisition requests of all users with the highest level (users with larger purchase willingness) in front, and distributing corresponding sorting positions for the other display position information acquisition requests based on the number of the display position information acquisition requests of the users with the highest level, the query proportion between the levels of other users and the users with the highest level, and the query proportion between the levels of other users. For example, level user 1: level user 2: the query proportion corresponding to the level user 3 is 5: 2: 2, if the level user 1 is the highest level user and the number of the display position information acquisition requests corresponding to the level user 1 is 100 ten thousand, the number of the display position information acquisition requests corresponding to the level user 2 is 200 ten thousand, and the number of the display position information acquisition requests corresponding to the level user 3 is 100 ten thousand, then the 100 ten thousand display position information acquisition requests corresponding to the level user 1 are arranged in front, and then according to the level user 1: rank user 2 ═ 5: 2, rank user 1: rank user 3 ═ 5: 2, then, the 40 ten thousand display bit information acquisition requests corresponding to the level user 2 may be arranged after the 100 ten thousand display bit information acquisition requests corresponding to the level user 1, and then, the 40 ten thousand display bit information acquisition requests corresponding to the level user 3 may be arranged after the 40 ten thousand display bit information acquisition requests corresponding to the level user 2. Then, for the remaining 160 ten thousand display position information acquisition requests corresponding to the level user 2 and 60 ten thousand display position information acquisition requests corresponding to the level user 3, according to the level user 2: rank user 3 ═ 1: first, 160 ten thousand display bit information acquisition requests corresponding to the level user 2 are arranged in 40 ten thousand display bit information acquisition requests corresponding to the level user 3 already in the queue, and then 60 ten thousand display bit information acquisition requests corresponding to the level user 3 are added to the queue. It should be noted that, for multiple display bit information acquisition requests of users of the same class, the multiple display bit information acquisition requests may be sorted according to the time sequence of the requests. Different settings can be carried out according to different users through the process, so that the consumption experience of the user with higher consumption will can be still ensured when the server is overloaded, and the negative influence on sales volume caused by display position information display problems is reduced.
The second mode is a mode of sequencing a plurality of intercepted display bit information acquisition requests:
and directly sequencing the intercepted multiple display position information acquisition requests according to the query proportion of each level user. For example, level user 1: level user 2: the query proportion corresponding to the level user 3 is 5: 2: and 2, arranging display position information acquisition requests corresponding to 5 level users 1, then arranging display position information acquisition requests corresponding to 2 level users 2, then arranging display position information acquisition requests corresponding to 2 level users 3, then continuing display position information acquisition requests corresponding to 5 level users 1, and repeating the steps until all the intercepted display position information acquisition requests are sequenced. It should be noted that, when the display bit information acquisition requests corresponding to one class of users have been sorted, the display bit information acquisition requests corresponding to the class of users can be skipped in the above cycle process. Different levels of user access can be equalized through this process.
In an embodiment of the present invention, the flow control method may further include adding the intercepted display bit information acquisition request to a waiting queue. The position of the presentation bit information acquisition request in the waiting queue can be determined by the request time of the presentation bit information acquisition request, that is, the request time is before and then is arranged in front of the waiting queue, and the request time is after and then is arranged behind the waiting queue.
As shown in fig. 3, an embodiment of the present invention provides a flow control apparatus 300, which is applied to any server 400 in a service cluster, and includes: a monitoring unit 301 and an access management unit 302, wherein,
a monitoring unit 301, configured to monitor a display position information obtaining request received by the applied server 400, where a monitoring result includes: the user level information in the display bit information acquisition request and the number of the display bit information acquisition requests in a set period are acquired;
the access management unit 302 is configured to calculate a query rate corresponding to each user level according to the user level information in the display level information acquisition request and the number of display level information acquisition requests in a set period; and controlling the quantity of the display position information acquisition requests responded by the server according to the query rate corresponding to each user grade and a preset flow control strategy.
In this embodiment of the present invention, the access management unit 302 is further configured to calculate a query rate corresponding to the server according to the number of the display bit information obtaining requests in the set period; and judging whether the query rate corresponding to the server is greater than a preset first control threshold, if so, controlling the number of the display bit information acquisition requests responded by the server to be not greater than the first control threshold, wherein the first control threshold is not greater than the sum of the query rates of all user levels managed by the server.
In the embodiment of the present invention, the flow control policy includes: a query rate threshold corresponding to each user level; and for each user grade, responding to the condition that the query rate corresponding to the user grade is larger than the query rate threshold corresponding to the user grade, and intercepting the display position information acquisition request corresponding to the user grade.
In this embodiment of the present invention, the access management unit 302 is further configured to determine query ratios of all user levels according to a query rate threshold corresponding to each user level; and intercepting a display position information acquisition request corresponding to the user grade according to the query proportion.
In this embodiment of the present invention, the access management unit 302 is further configured to respond to that the intercepted multiple display position information acquisition requests respectively correspond to multiple user levels, and sort the intercepted multiple display position information acquisition requests according to a query ratio between the various user levels.
In this embodiment of the present invention, the access management unit 302 is further configured to calculate a utilization rate of the server according to a usage condition of a central processing unit included in the server in a set period included in the monitoring result; and intercepting the display position information acquisition request in response to the utilization rate of the server being greater than a preset second control threshold value.
In order to clearly explain the flow control method, the following description will be made by taking, as an example, the flow control method executed by the plurality of servers 400 in the service cluster of any one region shown in fig. 4, the flow control device 300 in each server, and the flow control device 300 in each server shown in fig. 5.
As shown in fig. 5, the flow control method executed by the flow control apparatus 300 in each server may include the steps of:
s501: configuring a corresponding flow control method for the server, executing step S502 for the flow control device configured with the first flow control method, executing step S507 for the flow control device configured with the second flow control method, and executing step S510 for the flow control device configured with the third flow control method; step S513 is executed for the flow control device in which the flow control method four is arranged;
it can be understood that different servers in the same cluster may be configured with different flow control modes, and servers between different clusters may also be configured with different flow control modes, that is, each server may be configured individually, so as to better fit the characteristics of the server itself. For example, some servers shown in fig. 4 use the first flow control method for flow control, and others use the second flow control method for flow control. For another example, all servers shown in fig. 4 use the same flow control method. For example, in the server shown in fig. 4, some servers perform flow control by using the first flow control method, some servers perform flow control by using the second flow control method, some servers perform flow control by using the third flow control method, some servers perform flow control by using the fourth flow control method, and some servers perform flow control by using the fifth flow control method. Only one flow control mode can be adopted for flow control at the same time in one server. Different flow control modes can be configured at different stages of the same server so as to better meet the requirements of the server and better provide services for users.
S502: monitoring display bit information acquisition requests received by a server applied by the flow control device to obtain the number of the display bit information acquisition requests in a set period and user level information in the display bit information acquisition requests;
s503: calculating the corresponding query rate of the server;
s504: responding to the query rate larger than a first control threshold value, and calculating the query rate corresponding to each user grade;
this calculation process can be realized according to the above calculation formula (1) or (2).
S505: intercepting a display position information acquisition request according to the query rate corresponding to each user grade and a preset flow control strategy;
s506: adding the intercepted display position information acquisition request to a waiting queue, and finishing the current process;
s507: monitoring the running condition of a server applied by the flow control device and a display position information acquisition request received by the server to obtain the use condition of a central processing unit contained in the server in a set period, user level information in the display position information acquisition request and the number of the display position information acquisition requests in the set period;
s508: calculating the utilization rate of the server;
s509: responding to the use rate larger than a second control threshold value, calculating the query rate corresponding to each user grade, and executing the step S505;
s510: monitoring display bit information acquisition requests received by a server applied by the flow control device and the running condition of the server to obtain the number of the display bit information acquisition requests in a set period and the service condition of a central processing unit contained in the server;
s511: calculating the query rate corresponding to the server and the utilization rate of the server;
s512: in response to the query rate being greater than the first control threshold or the utilization rate of the server being greater than the second control threshold, calculating the query rate corresponding to each user level, and executing step S506;
s513: monitoring a display bit information acquisition request received by a server applied by the flow control device to obtain user level information in the display bit information acquisition request and the number of the display bit information acquisition requests in a set period;
s514: calculating the query rate corresponding to each user grade;
s515: for each user grade, responding to the condition that the query rate corresponding to the user grade is larger than the query rate threshold corresponding to the user grade, and intercepting a display position information acquisition request corresponding to the user grade;
s516: and responding to the plurality of intercepted display position information acquisition requests to respectively correspond to the plurality of user grades, and sequencing the plurality of intercepted display position information acquisition requests according to the query proportion among the user grades.
It is worth mentioning that, for the intercepted display bit information acquisition request, blank data is returned to the client corresponding to the display bit information acquisition request. And after the display bit information corresponding to the display bit information acquisition request is acquired subsequently, the display bit information is provided for the client.
Fig. 6 illustrates an exemplary system architecture 600 in which the flow control method or flow control device of embodiments of the present invention may be applied.
As shown in fig. 6, the system architecture 600 may include end devices 601, 602, 603, a network 604, and a server 6051 in a service cluster 605. The network 604 serves to provide a medium for communication links between the terminal devices 601, 602, 603 and the server 6051 in the service cluster 605. Network 604 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use the end device 601, 602, 603 to interact with a server 6051 in the service cluster 605, over the network 604, to receive or send messages, etc. The terminal devices 601, 602, 603 may have installed thereon various communication client applications, such as shopping applications, web browser applications, search applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 601, 602, 603 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 6051 in the service cluster 605 may be a server that provides various services, such as a background management server that provides support for shopping websites browsed by users using the terminal devices 601, 602, 603, such as providing presentation position information, pictures, etc. (by way of example only). The backend management server may analyze and perform other processing on the received data such as the display bit information acquisition request, and feed back a processing result (for example, display bit push information, product information — just an example) to the terminal device.
It should be noted that the flow control method provided in the embodiment of the present invention is generally executed by the server 6051, and accordingly, the flow control device is generally disposed in the server 6051.
It should be understood that the number of terminal devices, networks and service clusters, servers in a service cluster in fig. 6 are merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 7, a block diagram of a computer system 700 suitable for use as a server in implementing embodiments of the present invention is shown. The terminal device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU)701, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 701.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a monitoring unit and an access management unit. The names of these units do not form a limitation to the unit itself in some cases, and for example, the monitoring unit may also be described as a "unit that monitors the presentation position information acquisition request received by the server".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: monitoring a display position information acquisition request received by an applied server, wherein the monitoring result comprises the following steps: the user level information in the display bit information acquisition request and the number of the display bit information acquisition requests in a set period are acquired; calculating the query rate corresponding to each user grade according to the user grade information in the display position information acquisition requests and the number of the display position information acquisition requests in a set period; and controlling the quantity of the display position information acquisition requests responded by the server according to the query rate corresponding to each user grade and a preset flow control strategy.
According to the technical scheme of the embodiment of the invention, the method is applied to the servers in the service cluster, namely, the flow control is respectively carried out aiming at different servers in the service cluster, based on the actual condition of each server in the service cluster (namely, the display bit information acquisition request received by a monitoring server, the monitoring result comprises the user grade information in the display bit information acquisition request and the number of the display bit information acquisition requests in a set period), the query rate corresponding to each user grade is calculated according to the user grade information in the display bit information acquisition request and the number of the display bit information acquisition requests in the set period, then the number of the display bit information acquisition requests responded by the server is controlled according to the query rate corresponding to each user grade and a preset flow control strategy, so that each server in the server cluster can reach the maximum load flow of the server, therefore, the service performance of the service system running in the service cluster is effectively improved. In addition, the flow is controlled for the server according to the query rate corresponding to each user grade and a preset flow control strategy, so that the flow is controlled differently according to the user grade information, the requirements of different users are met, and the user experience is improved.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (11)

1. A flow control method is applied to any server in a service cluster, and comprises the following steps:
monitoring a display position information acquisition request received by the applied server, wherein the monitoring result comprises: user level information in the display bit information acquisition request and the number of the display bit information acquisition requests in a set period;
calculating the query rate corresponding to each user grade according to the user grade information in the display position information acquisition requests and the number of the display position information acquisition requests in the set period;
and controlling the quantity of the display position information acquisition requests responded by the server according to the query rate corresponding to each user grade and a preset flow control strategy.
2. The flow control method according to claim 1,
further comprising: calculating the query rate corresponding to the server according to the number of the display position information acquisition requests in a set period;
and judging whether the query rate corresponding to the server is greater than a preset first control threshold, if so, controlling the number of the display bit information acquisition requests responded by the server not to be greater than the first control threshold, wherein the first control threshold is not greater than the sum of the query rate thresholds of all user levels managed by the server.
3. The flow control method according to claim 2,
the flow control strategy comprises:
a query rate threshold corresponding to each user level; and
and for each user grade, responding to the condition that the query rate corresponding to the user grade is greater than the query rate threshold corresponding to the user grade, and intercepting the display position information acquisition request corresponding to the user grade.
4. The flow control method according to claim 3, wherein controlling the number of display bit information acquisition requests responded by the server to be not greater than the first control threshold value comprises:
determining the query proportion of all user grades according to the query rate threshold corresponding to each user grade;
and intercepting a display position information acquisition request corresponding to the user grade according to the query proportion.
5. The flow control method according to claim 4, characterized by further comprising:
responding to the plurality of intercepted display position information acquisition requests to respectively correspond to a plurality of user grades, and sequencing the plurality of intercepted display position information acquisition requests according to the query proportion among the user grades.
6. The flow control method according to any one of claims 1 to 5, characterized by further comprising:
calculating the utilization rate of the server according to the use condition of a central processing unit contained in the server in a set period included by the monitoring result;
and intercepting the display position information acquisition request in response to the utilization rate of the server being greater than a preset second control threshold value.
7. A flow control device applied to any server in a service cluster comprises: a monitoring unit and an access management unit, wherein,
the monitoring unit is configured to monitor a display location information acquisition request received by the server, where the monitoring result includes: user level information in the display bit information acquisition request and the number of the display bit information acquisition requests in a set period;
the access management unit is used for calculating the query rate corresponding to each user grade according to the user grade information in the display position information acquisition requests and the number of the display position information acquisition requests in the set period; and controlling the quantity of the display position information acquisition requests responded by the server according to the query rate corresponding to each user grade and a preset flow control strategy.
8. A flow control device according to claim 7,
the access management unit is further configured to calculate a query rate corresponding to the server according to the number of the display bit information acquisition requests in a set period; and judging whether the query rate corresponding to the server is greater than a preset first control threshold, if so, controlling the number of the display bit information acquisition requests responded by the server to be not greater than the first control threshold, wherein the first control threshold is not greater than the sum of the query rates of all user levels managed by the server.
9. The flow control device of claim 11,
the flow control strategy comprises:
a query rate threshold corresponding to each user level; and
and for each user grade, responding to the condition that the query rate corresponding to the user grade is greater than the query rate threshold corresponding to the user grade, and intercepting the display position information acquisition request corresponding to the user grade.
10. A flow control electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-6.
11. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-6.
CN202011039965.3A 2020-09-28 2020-09-28 Flow control method and device Pending CN113765969A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011039965.3A CN113765969A (en) 2020-09-28 2020-09-28 Flow control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011039965.3A CN113765969A (en) 2020-09-28 2020-09-28 Flow control method and device

Publications (1)

Publication Number Publication Date
CN113765969A true CN113765969A (en) 2021-12-07

Family

ID=78785803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011039965.3A Pending CN113765969A (en) 2020-09-28 2020-09-28 Flow control method and device

Country Status (1)

Country Link
CN (1) CN113765969A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115051910A (en) * 2022-05-19 2022-09-13 北京声智科技有限公司 Request processing method and device, electronic equipment and storage medium
CN115348214A (en) * 2022-07-29 2022-11-15 京东科技信息技术有限公司 Data flow management and control method, device and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2023245A1 (en) * 2006-04-26 2009-02-11 Nippon Telegraph and Telephone Corporation Load control device and its method
CN104518981A (en) * 2013-09-27 2015-04-15 深圳市腾讯计算机***有限公司 Flow control method and device
CN106357789A (en) * 2016-09-30 2017-01-25 腾讯科技(北京)有限公司 Information access control method and server
CN109005125A (en) * 2018-08-24 2018-12-14 阿里巴巴集团控股有限公司 Dynamic current limiting method, apparatus and system
CN109474542A (en) * 2018-10-24 2019-03-15 平安科技(深圳)有限公司 Message pushing request flow control method, device and medium based on business rules
CN110351357A (en) * 2019-07-08 2019-10-18 中国平安人寿保险股份有限公司 Server current-limiting method, device, computer equipment and storage medium
CN110609855A (en) * 2018-05-29 2019-12-24 北京三快在线科技有限公司 Query processing and query rate threshold determination method and distributed query system
CN111131058A (en) * 2019-11-25 2020-05-08 泰康保险集团股份有限公司 Access point control method and device
CN111371772A (en) * 2020-02-28 2020-07-03 深圳壹账通智能科技有限公司 Intelligent gateway current limiting method and system based on redis and computer equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2023245A1 (en) * 2006-04-26 2009-02-11 Nippon Telegraph and Telephone Corporation Load control device and its method
CN104518981A (en) * 2013-09-27 2015-04-15 深圳市腾讯计算机***有限公司 Flow control method and device
CN106357789A (en) * 2016-09-30 2017-01-25 腾讯科技(北京)有限公司 Information access control method and server
CN110609855A (en) * 2018-05-29 2019-12-24 北京三快在线科技有限公司 Query processing and query rate threshold determination method and distributed query system
CN109005125A (en) * 2018-08-24 2018-12-14 阿里巴巴集团控股有限公司 Dynamic current limiting method, apparatus and system
CN109474542A (en) * 2018-10-24 2019-03-15 平安科技(深圳)有限公司 Message pushing request flow control method, device and medium based on business rules
CN110351357A (en) * 2019-07-08 2019-10-18 中国平安人寿保险股份有限公司 Server current-limiting method, device, computer equipment and storage medium
CN111131058A (en) * 2019-11-25 2020-05-08 泰康保险集团股份有限公司 Access point control method and device
CN111371772A (en) * 2020-02-28 2020-07-03 深圳壹账通智能科技有限公司 Intelligent gateway current limiting method and system based on redis and computer equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115051910A (en) * 2022-05-19 2022-09-13 北京声智科技有限公司 Request processing method and device, electronic equipment and storage medium
CN115348214A (en) * 2022-07-29 2022-11-15 京东科技信息技术有限公司 Data flow management and control method, device and system

Similar Documents

Publication Publication Date Title
CN109684358B (en) Data query method and device
US20170153917A1 (en) Account activity level based-system resource allocating method and device
CN107341050B (en) Service processing method and device based on dynamic thread pool
US11057490B2 (en) Systems and methods for utilizing unused network capacity for prefetch requests
CN111786895A (en) Method and apparatus for dynamic global current limiting
CN113037869A (en) Method and apparatus for back-sourcing of content distribution network system
CN112445857A (en) Resource quota management method and device based on database
CN109218341B (en) Load balancing method and device for monitoring server and server
CN113765969A (en) Flow control method and device
CN109428926B (en) Method and device for scheduling task nodes
CN110796430A (en) Overdue transaction data processing method and device
CN111858040A (en) Resource scheduling method and device
WO2022062981A1 (en) Resource scheduling method and system, electronic device, and computer-readable storage medium
CN114116173A (en) Method, device and system for dynamically adjusting task allocation
CN112653632A (en) Flow control realization method and device
CN113742389A (en) Service processing method and device
CN113765964A (en) Method and device for distributing services of distributed system
CN112667368A (en) Task data processing method and device
CN113626175B (en) Data processing method and device
CN114265692A (en) Service scheduling method, device, equipment and storage medium
CN114612212A (en) Business processing method, device and system based on risk control
CN113918282A (en) Database access method and device, electronic equipment and computer readable medium
CN113448717A (en) Resource scheduling method and device
JP6750248B2 (en) Control device and control method
CN110908810A (en) Message transmission method and device

Legal Events

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