CN115118785B - Server resource protection method, apparatus, device, medium, and program product - Google Patents

Server resource protection method, apparatus, device, medium, and program product Download PDF

Info

Publication number
CN115118785B
CN115118785B CN202211040104.6A CN202211040104A CN115118785B CN 115118785 B CN115118785 B CN 115118785B CN 202211040104 A CN202211040104 A CN 202211040104A CN 115118785 B CN115118785 B CN 115118785B
Authority
CN
China
Prior art keywords
mode
resource protection
server resource
server
flow
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.)
Active
Application number
CN202211040104.6A
Other languages
Chinese (zh)
Other versions
CN115118785A (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.)
Taiping Financial Technology Services Shanghai Co Ltd Shenzhen Branch
Original Assignee
Taiping Financial Technology Services Shanghai Co Ltd Shenzhen Branch
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 Taiping Financial Technology Services Shanghai Co Ltd Shenzhen Branch filed Critical Taiping Financial Technology Services Shanghai Co Ltd Shenzhen Branch
Priority to CN202211040104.6A priority Critical patent/CN115118785B/en
Publication of CN115118785A publication Critical patent/CN115118785A/en
Application granted granted Critical
Publication of CN115118785B publication Critical patent/CN115118785B/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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present application relates to a server resource protection method, apparatus, device, medium, and program product. The method comprises the following steps: if the current application service scene is a first scene type, acquiring traffic characteristic information of a received target user request, wherein the traffic characteristic information comprises at least one of a user area, a user equipment type and whether the current application service scene is a list client; determining a first server resource protection mode from a plurality of preset server resource protection modes according to the traffic characteristic information; the target user request is responded to based on the first server resource protection mode. By adopting the method, the normal work of the server can be ensured under the condition that the user flow is increased rapidly.

Description

Server resource protection method, apparatus, device, medium, and program product
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method, an apparatus, a device, a medium, and a program product for protecting server resources.
Background
Currently, the china internet is in a high-speed development stage, and for internet companies, user traffic is an important survival condition. In order to improve the user traffic, the internet companies may regularly develop marketing activities, such as second killing activities, first-order purchasing activities, and the like. As user traffic may proliferate during such marketing campaigns, server resources may be depleted, causing servers to operate abnormally. In order to solve the problem of abnormal operation of the server caused by the rapid increase of user traffic, a method for solving the problem is urgently needed.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a server resource protection method, apparatus, device, medium, and program product for solving the above technical problems.
In a first aspect, the present application provides a server resource protection method. The method comprises the following steps: if the current application service scene is a first scene type, acquiring the traffic characteristic information of the received target user request, wherein the traffic characteristic information comprises at least one of a user area, a user equipment type and whether the current application service scene is a list client; determining a first server resource protection mode from a plurality of preset server resource protection modes according to the flow characteristic information; the target user request is responded to based on the first server resource protection schema.
In one embodiment, the method further comprises: if the current application service scene is a second scene type, acquiring the flow size of the server within a preset time length, wherein the first scene type and the second scene type are divided according to the service function provided by the application; determining a second server resource protection mode from the plurality of preset server resource protection modes according to the flow size; each user request received by the server is responded to based on the second server resource protection mode.
In one embodiment, the plurality of preset server resource protection modes comprise a multithreading and thread pool combined mode, an extended machine mode, a message queue mode and a current limiting downgrade mode; the mode combining the multithreading and the thread pool is a mode for concurrently processing the user request; expanding the machine mode into a mode of adding a server; the message queue mode is a mode for constructing a middleware of a message queue and asynchronously sending a user request to the middleware of the message queue; the limited traffic degradation mode is a mode in which traffic and service degradation is limited if user traffic exceeds a preset threshold.
In one embodiment, determining the second server resource protection mode from the plurality of preset server resource protection modes according to the traffic size includes: if the flow size is in a first flow interval, taking the extended machine mode as the second server resource protection mode; if the flow size is in a second flow interval, taking the message queue mode as a second server resource protection mode; if the flow size is in a third flow interval, taking the current-limiting degradation mode as the second server resource protection mode; if the flow size is in a fourth flow interval, taking a mode of combining the multithreading and the thread pool as a second server resource protection mode; the lower bound of the first flow interval is greater than the upper bound of the second flow interval, the lower bound of the second flow interval is greater than the upper bound of the third flow interval, and the lower bound of the third flow interval is greater than the upper bound of the fourth flow interval.
In one embodiment, the method further comprises: providing a first configuration interface, wherein the first configuration interface comprises a first configuration information input box; receiving first configuration information input by a user in the first configuration information input box, wherein the first configuration information indicates server resource protection modes corresponding to different traffic intervals; correspondingly, the determining a second server resource protection mode from the plurality of preset server resource protection modes according to the traffic includes: and inquiring the first configuration information according to the flow so as to determine the resource protection mode of the second server according to the inquiry result.
In one embodiment, the first server resource protection scheme is comprised of a combination of a plurality of server resource protection schemes.
In one embodiment, the method further comprises: providing a second configuration page, the second configuration page including a second configuration information input box; receiving second configuration information input by a user in the second configuration information input box, wherein the second configuration information indicates server resource protection modes corresponding to different traffic characteristic information; correspondingly, the determining a first server resource protection mode from the plurality of preset server resource protection modes according to the traffic characteristic information includes: and querying the second configuration information according to the traffic characteristic information to determine the first server resource protection mode according to a query result.
In a second aspect, the application further provides a server resource protection device. The device includes: the system comprises a first obtaining module, a second obtaining module and a third obtaining module, wherein the first obtaining module is used for obtaining the traffic characteristic information of the received target user request if the current application service scene is a first scene type, and the traffic characteristic information comprises at least one of a user area, a user equipment type and whether the current application service scene is a list client; the first determining module is used for determining a first server resource protection mode from a plurality of preset server resource protection modes according to the flow characteristic information; a first response module, configured to respond to the target user request based on the first server resource protection mode.
In one embodiment, the apparatus further comprises: the second obtaining module is used for obtaining the flow size of the server within a preset time length if the current application service scene is a second scene type, and the first scene type and the second scene type are divided according to the service function provided by the application; a second confirmation module, configured to determine, according to the traffic, a second server resource protection mode from the multiple preset server resource protection modes; and the second response module is used for responding to each user request received by the server based on the second server resource protection mode.
In one embodiment, the plurality of preset server resource protection modes comprise a multithreading and thread pool combined mode, an extended machine mode, a message queue mode and a current limiting downgrade mode; the mode combining the multithreading and the thread pool is a mode for concurrently processing the user request; expanding the machine mode into a mode of adding a server; the message queue mode is a mode for constructing a middleware of a message queue and asynchronously sending a user request to the middleware of the message queue; the limited traffic degradation mode is a mode in which traffic and service degradation is limited if user traffic exceeds a preset threshold.
In one embodiment, the second determining module is specifically configured to: if the flow size is in a first flow interval, taking the extended machine mode as the second server resource protection mode; if the flow size is in a second flow interval, taking the message queue mode as a second server resource protection mode; if the flow size is in a third flow interval, taking the current-limiting degradation mode as the second server resource protection mode; if the flow size is in a fourth flow interval, taking a mode of combining the multithreading and the thread pool as a second server resource protection mode; the lower bound of the first flow interval is greater than the upper bound of the second flow interval, the lower bound of the second flow interval is greater than the upper bound of the third flow interval, and the lower bound of the third flow interval is greater than the upper bound of the fourth flow interval.
In one embodiment, the apparatus further comprises: the system comprises a first supply module, a second supply module and a display module, wherein the first supply module is used for providing a first configuration interface, and the first configuration interface comprises a first configuration information input box; a first receiving module, configured to receive first configuration information input by a user in the first configuration information input box, where the first configuration information indicates server resource protection modes corresponding to different traffic intervals; a second determining module, specifically configured to: and inquiring the first configuration information according to the flow so as to determine the resource protection mode of the second server according to the inquiry result.
In one embodiment, the first server resource protection scheme comprises a combination of a plurality of server resource protection schemes.
In one embodiment, the apparatus further comprises: a second provisioning module for providing a second configuration page, the second configuration page including a second configuration information entry box; a second receiving module, configured to receive second configuration information input by a user in the second configuration information input box, where the second configuration information indicates server resource protection modes corresponding to different traffic characteristic information; the first determining module is specifically configured to: and querying the second configuration information according to the traffic characteristic information to determine the first server resource protection mode according to a query result.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the steps of the method according to any of the first aspect described above when the computer program is executed by the processor.
In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of the above-mentioned first aspects.
In a fifth aspect, the present application further provides a computer program product. The computer program product comprising a computer program which, when executed by a processor, performs the steps of the method of any of the first aspects described above.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
in the embodiment of the application, a first server resource protection mode is determined from a plurality of preset server resource protection modes according to the received traffic characteristic information of the target user request, and the target user request is responded based on the first server resource protection mode. In addition, according to the embodiment of the application, one or more server resource protection modes can be selected from a plurality of preset server resource protection modes according to the traffic characteristics requested by a target user, so that the problem of single server resource protection mode in the prior art is solved, the utilization rate of server resources is improved, and the operation and maintenance cost is reduced.
Drawings
FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application;
fig. 2 is a flowchart of a server resource protection method according to an embodiment of the present application;
fig. 3 is a flowchart of another server resource protection method according to an embodiment of the present application;
fig. 4 is a flowchart of a technical process for determining a first server resource protection mode according to an embodiment of the present application;
FIG. 5 is a flowchart of a technical process for determining a resource protection mode of a second server according to an embodiment of the present application;
fig. 6 is a flowchart of another server resource protection method according to an embodiment of the present application;
fig. 7 is a schematic diagram of a server resource protection method according to an embodiment of the present application;
fig. 8 is a block diagram of a server resource protection device according to an embodiment of the present application;
fig. 9 is a block diagram of another server resource protection device according to an embodiment of the present application;
fig. 10 is an internal structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Currently, the china internet is in a high-speed development stage, and for internet companies, user traffic is an important survival condition. In order to improve the user traffic, the internet companies may periodically perform marketing activities, such as second killing activities, first-order purchasing activities, and the like. As user traffic may proliferate during such marketing campaigns, server resources may be depleted, causing servers to operate abnormally. In order to solve the problem of abnormal operation of the server caused by the rapid increase of the user traffic, a method for solving the problem is urgently needed.
In view of this, embodiments of the present application provide a method, an apparatus, a device, a medium, and a program product for protecting server resources, which can ensure that a server works normally when user traffic is increased dramatically.
Referring to fig. 1, which shows a schematic diagram of an implementation environment related to a server resource protection method provided in an embodiment of the present application, as shown in fig. 1, the implementation environment may include a server 101 and a terminal 102, where the server 101 may communicate with the terminal 102, the terminal 102 sends an acquired target user request to the server 101, and the server 101 determines a server resource protection mode according to the target user request. It is noted that the terminal 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices; the server 101 may be one server or a server cluster composed of a plurality of servers, and different computer devices may communicate with each other in a wired or wireless manner, and the wireless manner may be implemented by WIFI, an operator network, NFC (near field communication) or other technologies.
Referring to fig. 2, a flowchart of a server resource protection method provided in an embodiment of the present application is shown, where the server resource protection method may be applied to the server shown in fig. 1. As shown in fig. 2, the server resource protection method may include the following steps:
step 201, if the current application service scene is the first scene type, the server obtains the traffic characteristic information of the received target user request.
Wherein the traffic characteristic information includes at least one of a user region, a user equipment type, and whether the subscriber is a list subscriber. The user region is the region where the user is located, the degree of flow surge is different during the marketing campaign due to different regions where the user is located, and if the region where the user is located is Shanghai, the optimal mode which is possibly used for preventing the server resources from being used up is an extended machine mode; if the user is in the Tibet, other server resource protection modes except the optimal mode may be possible. The user equipment types include small-sized equipment, medium-sized equipment and large-sized equipment, the small-sized equipment mainly comprises equipment such as a mobile phone and a notebook computer of a user, and the medium-sized equipment mainly comprises medium-sized equipment in an enterprise machine room. The list client is a client which is preset in a user list according to user traffic, wherein the user list mainly aims at medium and large internet enterprise users, and the medium and large internet enterprise users are more prone to causing traffic surge compared with other users due to large traffic of the medium and large internet enterprise users, so that server resources are not enough. Alternatively, the first scenario type may be a general marketing campaign scenario, such as a consumption campaign of the "twenty-two" type.
Step 202, the server determines a first server resource protection mode from a plurality of preset server resource protection modes according to the traffic characteristic information.
In order to achieve balance between server resource utilization and operation and maintenance costs, optionally, different traffic characteristic information may correspond to different server resource protection modes, and the server may determine, according to the obtained traffic characteristic information, a corresponding server resource protection mode from a plurality of preset server resource protection modes, where the corresponding server resource protection mode is used as the first server resource protection mode. The preset server resource protection mode is a server resource protection mode preset in the server.
Optionally, the preset server resource protection mode may include a multi-thread and thread pool combined mode, an extended machine mode, a message queue mode, a current limiting degradation mode, and the like. The mode combining the multithreading and the thread pool is a mode for concurrently processing the user request, and under the condition of proficient multithreading development and reasonable thread pool configuration, the multithreading technology of a computer language can be used for concurrently/concurrently processing the user request, so that the processing efficiency of user flow is increased, and the hidden danger that the server is broken down due to low use of server resources and sudden increase of flow during serial processing is avoided; the expansion machine mode is a mode of adding a server, and under the condition that the user flow is increased rapidly, the condition can be dealt with by adding a service machine, so that the aim of protecting the server is fulfilled; the message queue mode is a mode of building a middleware of a message queue and asynchronously sending a user request to the middleware of the message queue, under the condition that the flow of a user is increased rapidly, in order to protect resources of a server from being exhausted, the middleware of the message queue is built, the user request is asynchronously sent to the message queue, and then the user request is consumed through consumer service, so that the effect of asynchronously processing the request is achieved; the traffic limiting degradation mode is a mode for limiting traffic and degrading service when the user traffic exceeds a preset threshold, optionally, a preset threshold may be set in the server, where the preset threshold is a value of the user traffic that the server can bear, and when the user traffic exceeds the preset threshold, the mode for limiting traffic and degrading service is started to protect server resources.
It should be noted that in the case of a server that uses only a combination of multithreading and thread pools, there is a risk that server resources will be exhausted; under the condition that the server only uses the extended machine mode, the operation and maintenance cost is higher and higher requirements are imposed on the capital construction of a company; under the condition that the server only uses the message queue mode, additional middleware needs to be deployed, the operation and maintenance cost is high, the user experience is asynchronous notification, and the experience without synchronous notification is good; in the case where the server uses only the limited degradation mode, the user experience may be poor. Therefore, in order to achieve balance of server resource utilization, user experience, and operation and maintenance costs, the embodiment of the present application provides a way of ensuring normal operation of a server through a combination of multiple server resource protection modes, and optionally, the first server resource protection mode may be a combination of multiple server resource protection modes. The combination of the multiple server resource protection modes may be any combination of two, three, or four of a multithreading and thread pool combination mode, an extended machine mode, a message queue mode, a current limiting degradation mode, and the like, and the optional combination mode is not limited in the embodiment of the present application.
Step 203, the server responds to the target user request based on the first server resource protection mode.
According to the above steps, after determining the first server resource protection mode, the server responds to the target user request based on the first server resource protection mode.
In the embodiment of the application, a first server resource protection mode is determined from a plurality of preset server resource protection modes according to the received traffic characteristic information of the target user request, and the target user request is responded based on the first server resource protection mode. In addition, according to the embodiment of the application, one or more server resource protection modes can be selected from a plurality of preset server resource protection modes according to the traffic characteristics requested by a target user, so that the problem of single server resource protection mode in the prior art is solved, the utilization rate of server resources is improved, and the operation and maintenance cost is reduced.
Referring to fig. 3, a flowchart of another server resource protection method provided in an embodiment of the present application is shown, where the server resource protection method may be applied to the server shown in fig. 1. As shown in fig. 3, the server resource protection method may include the following steps:
step 301, if the current application service scene is the second scene type, the server obtains the traffic of the server within the preset time length.
Wherein the second scenario type may be a special marketing campaign scenario, such as a consumption campaign scenario of "twenty-one". The first scene type and the second scene type are divided according to the service function provided by the application, and compared with the first scene type, the second scene type is easier to generate the phenomenon of flow surge. Optionally, the preset duration may be a value obtained after an experiment is performed on a certain platform according to a large amount of experimental data, or may be a value set by an enterprise as needed.
Step 302, the server determines a second server resource protection mode from a plurality of preset server resource protection modes according to the traffic.
In order to achieve balance between server resource utilization and operation and maintenance costs, optionally, different traffic sizes of the server within a preset time duration may correspond to different server resource protection modes, and the server may determine, according to the traffic sizes, a corresponding server resource protection mode from among a plurality of preset server resource protection modes, where the corresponding server resource protection mode is used as a second server resource protection mode.
In an optional embodiment of the present application, the server determines, according to the traffic size, a second server resource protection mode from a plurality of preset server resource protection modes, where an optional manner is as follows: if the flow size is in the first flow interval, taking the extended machine mode as a second server resource protection mode; if the flow size is in a second flow interval, taking the message queue mode as a second server resource protection mode; if the flow size is in a third flow interval, taking the current-limiting degradation mode as a second server resource protection mode; if the flow size is in the fourth flow interval, taking a mode of combining multithreading and a thread pool as a second server resource protection mode; wherein, the lower bound of the first flow interval is larger than the upper bound of the second flow interval, the lower bound of the second flow interval is larger than the upper bound of the third flow interval, and the lower bound of the third flow interval is larger than the upper bound of the fourth flow interval. Because additional equipment is required to be added in both the expansion machine mode and the message queue mode, the operation and maintenance cost is higher, and therefore, the two types of server resource protection modes can be used in a larger traffic interval. Meanwhile, since the resource utilization rate of the mode combining the multithreading and the thread pool is higher than that of other modes, the mode combining the multithreading and the thread pool can be used in a smaller traffic interval.
Step 303, the server responds to each user request received by the server based on the second server resource protection mode.
According to the above steps, after determining the second server resource protection mode, the server may respond to each user request received by the server based on the second server resource protection mode.
In the embodiment of the application, a second server resource protection mode is determined from a plurality of preset server resource protection modes according to the flow of the server within the preset time, and each user request received by the server is responded based on the second server resource protection mode. Because the preset server resource protection mode can prevent the phenomenon that the server resources are used up due to the surge of user traffic, the second server resource protection mode determined from the preset server resource protection mode can ensure the normal work of the server under the surge of user traffic.
In the embodiment of the present application, a technical process for determining a server resource protection mode is provided, and optional processes are as follows: firstly, a server receives configuration information of a user; secondly, the server determines a server resource protection mode according to the received configuration information. Since the server resource protection mode in the embodiment of the present application includes the first server resource protection mode and the second server resource protection mode, the technical process of determining the server resource protection mode includes a technical process of determining the first server resource protection mode and a technical process of determining the second server resource protection mode.
Referring to fig. 4, a technical process for determining a first server resource protection mode according to an embodiment of the present application is shown. As shown in fig. 4, the technical process may include the following steps:
step 401, the server provides a second configuration page, where the second configuration page includes a second configuration information input box.
The second configuration interface can be displayed through the server so that the target user can be visible, and the target user can input corresponding information through the visible second configuration interface.
Step 402, the server receives second configuration information input by the user in the second configuration information input box.
The second configuration information indicates server resource protection modes corresponding to different traffic characteristic information.
Step 403, the server queries the second configuration information according to the traffic characteristic information, so as to determine the first server resource protection mode according to the query result.
In an optional embodiment of the present application, the server may provide the second configuration interface, or the terminal may provide the second configuration interface, if the terminal provides the second configuration interface, after the terminal receives the second configuration information input by the user in the second configuration information input box, the terminal sends the second configuration information to the server, and the server queries the second configuration information according to the traffic characteristic information, so as to determine the first server resource protection mode according to the query result.
Referring to fig. 5, a technical process for determining a resource protection mode of a second server according to an embodiment of the present application is shown. As shown in fig. 5, the technical process may include the following steps:
step 501, a server provides a first configuration interface, and the first configuration interface comprises a first configuration information input box.
The first configuration interface can be displayed through the server so that the target user can be visible, and the target user can input corresponding information through the visible first configuration interface.
Step 502, the server receives first configuration information input by a user in a first configuration information input box.
The first configuration information indicates server resource protection modes corresponding to different traffic intervals.
Step 503, the server queries the first configuration information according to the traffic size, so as to determine a second server resource protection mode according to the query result.
In an optional embodiment of the present application, the server may provide the first configuration interface, or the terminal may provide the first configuration interface, and if the terminal provides the first configuration interface, after the terminal receives the first configuration information input by the user in the first configuration information input box, the terminal sends the first configuration information to the server, and then the server queries the first configuration information according to the traffic size, so as to determine the resource protection mode of the second server according to the query result.
Referring to fig. 6, a flowchart of another server resource protection method provided in an embodiment of the present application is shown, where the server resource protection method may be applied to the server shown in fig. 1. As shown in fig. 6, the server resource protection method may include the following steps:
601, the server judges the current application service scene, if the current application service scene is the first scene type, step 602 is executed, if the current application service scene is the second scene type, step 605 is executed
Step 602, if the current application service scenario is of a first scenario type, the server obtains the received traffic characteristic information of the target user request.
Step 603, the server determines a first server resource protection mode from a plurality of preset server resource protection modes according to the traffic characteristic information.
Step 604, the server responds to the target user request according to the first server resource protection mode, and a process is skipped.
Step 605, if the current application service scenario is the second scenario type, acquiring the traffic of the server within the preset duration.
Step 606, the server determines a second server resource protection mode from a plurality of preset server resource protection modes according to the flow size.
Step 607, responding to each user request received by the server based on the second server resource protection mode, and jumping out of the process.
In an alternative embodiment of the present application, a schematic diagram of a server resource protection method is provided. As shown in fig. 7, the user traffic is input into the management platform server through the network manager, and the management platform server may select the passive setting mode or the active setting mode according to the current application service scenario, and optionally, if the current application service scenario is the first scenario type, the passive setting mode is selected; and if the current application service scene is the second scene type, selecting the active setting mode. In the case that the current application service scenario is the first scenario type and the current application service scenario is the second scenario type, the server resource protection method has been described in detail above, and is not described herein again. It should be noted that any other mode in fig. 7 is one, two, or any combination of three other modes except the selected server resource protection mode.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
Referring to fig. 8, a block diagram of a server resource protection device 800 according to an embodiment of the present application is shown, where the server resource protection device may be configured in the server. As shown in fig. 8, the server resource protection apparatus 800 includes a first obtaining module 801, a first determining module 802, and a first responding module 803.
The first obtaining module 801 is configured to obtain traffic characteristic information of a received target user request if a current application service scenario is a first scenario type, where the traffic characteristic information includes at least one of a user area, a user equipment type, and whether the current application service scenario is a client in a list; a first determining module 802, configured to determine, according to the traffic characteristic information, a first server resource protection mode from a plurality of preset server resource protection modes; a first response module 803, configured to respond to the target user request based on the first server resource protection mode.
In one embodiment, the plurality of preset server resource protection modes comprise a multithreading and thread pool combined mode, an extended machine mode, a message queue mode and a current limiting downgrade mode; the mode combining the multithreading and the thread pool is a mode for concurrently processing the user request; expanding the machine mode into a mode of adding a server; the message queue mode is a mode of establishing a middleware of a message queue and asynchronously sending a user request to the middleware of the message queue; the limited traffic degradation mode is a mode in which traffic and service degradation is limited if user traffic exceeds a preset threshold.
In one embodiment, the first server resource protection scheme is comprised of a combination of a plurality of server resource protection schemes.
Referring to fig. 9, which shows a block diagram of another server resource protection apparatus 900 according to an embodiment of the present application, the server resource protection apparatus 900 includes, in addition to modules of the server resource protection apparatus 800, a second obtaining module 804, a second confirming module 805, a second responding module 806, a first providing module 807, a first receiving module 808, a second providing module 809, and a second receiving module 810.
The second obtaining module 804 is configured to obtain, if the current application service scenario is of a second scenario type, a traffic size of the server within a preset time duration, where the first scenario type and the second scenario type are divided according to a service function provided by the application; a second determining module 805, configured to determine, according to the traffic, a second server resource protection mode from among multiple preset server resource protection modes; a second response module 806, configured to respond to each user request received by the server based on the second server resource protection mode; a first provisioning module 807 for providing a first configuration interface, the first configuration interface including a first configuration information input box; a first receiving module 808, configured to receive first configuration information input by a user in a first configuration information input box, where the first configuration information indicates server resource protection modes corresponding to different traffic intervals; a second provisioning module 809 for providing a second configuration page, the second configuration page including a second configuration information input box; a second receiving module 810, configured to receive second configuration information input by the user in the second configuration information input box, where the second configuration information indicates server resource protection modes corresponding to different traffic characteristic information.
In an optional embodiment of the present application, the second confirming module 805 is specifically configured to: if the flow size is in the first flow interval, taking the extended machine mode as a second server resource protection mode; if the flow size is in the second flow interval, the message queue mode is used as a second server resource protection mode; if the flow size is in a third flow interval, taking the current-limiting degradation mode as a second server resource protection mode; if the flow size is in the fourth flow interval, taking a mode of combining multithreading and a thread pool as a second server resource protection mode; the lower bound of the first flow interval is larger than the upper bound of the second flow interval, the lower bound of the second flow interval is larger than the upper bound of the third flow interval, and the lower bound of the third flow interval is larger than the upper bound of the fourth flow interval; inquiring the first configuration information according to the flow size so as to determine a second server resource protection mode according to the inquiry result; and querying the second configuration information according to the flow characteristic information to determine a first server resource protection mode according to a query result.
The server resource protection device provided in the embodiment of the present application can implement the method embodiments described above, and the implementation principle and technical effect are similar, which are not described herein again.
The modules in the server resource protection device may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 10. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a server resource protection method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 10 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment of the present application, there is provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the following steps when executing the computer program: if the current application service scene is a first scene type, acquiring traffic characteristic information of a received target user request, wherein the traffic characteristic information comprises at least one of a user area, a user equipment type and whether the current application service scene is a list client; determining a first server resource protection mode from a plurality of preset server resource protection modes according to the traffic characteristic information; the target user request is responded to based on the first server resource protection mode.
In one embodiment of the application, the processor when executing the computer program further performs the steps of: if the current application service scene is a second scene type, acquiring the flow of the server within a preset time length, wherein the first scene type and the second scene type are divided according to the service function provided by the application; determining a second server resource protection mode from a plurality of preset server resource protection modes according to the flow; each user request received by the server is responded to based on the second server resource protection mode.
In one embodiment, the plurality of preset server resource protection modes comprise a multithreading and thread pool combined mode, an extended machine mode, a message queue mode and a current limiting downgrade mode; the mode combining the multithreading and the thread pool is a mode for concurrently processing the user request; expanding the machine mode into a mode of adding a server; the message queue mode is a mode of establishing a middleware of a message queue and asynchronously sending a user request to the middleware of the message queue; the limited traffic degradation mode is a mode in which traffic and service degradation is limited if user traffic exceeds a preset threshold.
In one embodiment of the application, the processor when executing the computer program further performs the steps of: if the flow size is in the first flow interval, taking the extended machine mode as a second server resource protection mode; if the flow size is in the second flow interval, the message queue mode is used as a second server resource protection mode; if the flow size is in a third flow interval, taking the current-limiting degradation mode as a second server resource protection mode; if the flow size is in a fourth flow interval, taking a mode of combining multithreading and a thread pool as a second server resource protection mode; the lower bound of the first flow interval is greater than the upper bound of the second flow interval, the lower bound of the second flow interval is greater than the upper bound of the third flow interval, and the lower bound of the third flow interval is greater than the upper bound of the fourth flow interval.
In one embodiment of the application, the processor when executing the computer program further performs the steps of: providing a first configuration interface, wherein the first configuration interface comprises a first configuration information input box; receiving first configuration information input by a user in a first configuration information input box, wherein the first configuration information indicates server resource protection modes corresponding to different traffic intervals; correspondingly, according to the flow size, determining a second server resource protection mode from a plurality of preset server resource protection modes, including: and inquiring the first configuration information according to the flow size so as to determine a second server resource protection mode according to the inquiry result.
In one embodiment, the first server resource protection scheme is comprised of a combination of a plurality of server resource protection schemes.
In one embodiment of the application, the processor when executing the computer program further performs the steps of: providing a second configuration page, wherein the second configuration page comprises a second configuration information input box; receiving second configuration information input by a user in a second configuration information input box, wherein the second configuration information indicates server resource protection modes corresponding to different traffic characteristic information; correspondingly, according to the traffic characteristic information, determining a first server resource protection mode from a plurality of preset server resource protection modes, including: and querying the second configuration information according to the flow characteristic information to determine a first server resource protection mode according to a query result.
The implementation principle and technical effect of the computer device provided by the embodiment of the present application are similar to those of the method embodiment described above, and are not described herein again.
In an embodiment of the application, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, performs the steps of: if the current application service scene is a first scene type, acquiring traffic characteristic information of a received target user request, wherein the traffic characteristic information comprises at least one of a user area, a user equipment type and whether the current application service scene is a list client; determining a first server resource protection mode from a plurality of preset server resource protection modes according to the traffic characteristic information; the target user request is responded to based on the first server resource protection mode.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: if the current application service scene is a second scene type, acquiring the flow of the server within a preset time length, wherein the first scene type and the second scene type are divided according to the service function provided by the application; determining a second server resource protection mode from a plurality of preset server resource protection modes according to the flow; each user request received by the server is responded to based on the second server resource protection mode.
In one embodiment, the plurality of preset server resource protection modes comprise a multithreading and thread pool combined mode, an extended machine mode, a message queue mode and a current limiting downgrade mode; the mode combining the multithreading and the thread pool is a mode for concurrently processing the user request; expanding the machine mode into a mode of adding a server; the message queue mode is a mode for constructing a middleware of a message queue and asynchronously sending a user request to the middleware of the message queue; the limited traffic degradation mode is a mode in which traffic and service degradation is limited if user traffic exceeds a preset threshold.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: if the flow size is in the first flow interval, taking the extended machine mode as a second server resource protection mode; if the flow size is in the second flow interval, the message queue mode is used as a second server resource protection mode; if the flow size is in a third flow interval, taking the current-limiting degradation mode as a second server resource protection mode; if the flow size is in the fourth flow interval, taking a mode of combining multithreading and a thread pool as a second server resource protection mode; the lower bound of the first flow interval is greater than the upper bound of the second flow interval, the lower bound of the second flow interval is greater than the upper bound of the third flow interval, and the lower bound of the third flow interval is greater than the upper bound of the fourth flow interval.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: providing a first configuration interface, wherein the first configuration interface comprises a first configuration information input box; receiving first configuration information input by a user in a first configuration information input box, wherein the first configuration information indicates server resource protection modes corresponding to different traffic intervals; correspondingly, according to the flow size, determining a second server resource protection mode from a plurality of preset server resource protection modes, including: and inquiring the first configuration information according to the flow size so as to determine a second server resource protection mode according to the inquiry result.
In one embodiment, the first server resource protection scheme is comprised of a combination of a plurality of server resource protection schemes.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: providing a second configuration page, wherein the second configuration page comprises a second configuration information input box; receiving second configuration information input by a user in a second configuration information input box, wherein the second configuration information indicates server resource protection modes corresponding to different traffic characteristic information; correspondingly, according to the traffic characteristic information, determining a first server resource protection mode from a plurality of preset server resource protection modes, including: and querying the second configuration information according to the flow characteristic information to determine a first server resource protection mode according to a query result.
The implementation principle and technical effect of the computer-readable storage medium provided in this embodiment are similar to those of the above method embodiments, and are not described herein again.
In an embodiment of the application, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the steps of: if the current application service scene is a first scene type, acquiring traffic characteristic information of a received target user request, wherein the traffic characteristic information comprises at least one of a user area, a user equipment type and whether the current application service scene is a list client; determining a first server resource protection mode from a plurality of preset server resource protection modes according to the traffic characteristic information; the target user request is responded to based on the first server resource protection schema.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: if the current application service scene is a second scene type, acquiring the flow of the server within a preset time length, wherein the first scene type and the second scene type are divided according to the service function provided by the application; determining a second server resource protection mode from a plurality of preset server resource protection modes according to the flow; each user request received by the server is responded to based on the second server resource protection mode.
In one embodiment, the plurality of preset server resource protection modes comprise a multithreading and thread pool combined mode, an extended machine mode, a message queue mode and a current limiting downgrade mode; the mode of combining multithreading and the thread pool is a mode of processing the user request concurrently; expanding the machine mode into a mode of adding a server; the message queue mode is a mode for constructing a middleware of a message queue and asynchronously sending a user request to the middleware of the message queue; the limited traffic degradation mode is a mode in which traffic and service degradation is limited if user traffic exceeds a preset threshold.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: if the flow size is in the first flow interval, taking the extended machine mode as a second server resource protection mode; if the flow size is in the second flow interval, the message queue mode is used as a second server resource protection mode; if the flow size is in a third flow interval, taking the current-limiting degradation mode as a second server resource protection mode; if the flow size is in a fourth flow interval, taking a mode of combining multithreading and a thread pool as a second server resource protection mode; the lower bound of the first flow interval is greater than the upper bound of the second flow interval, the lower bound of the second flow interval is greater than the upper bound of the third flow interval, and the lower bound of the third flow interval is greater than the upper bound of the fourth flow interval.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: providing a first configuration interface, wherein the first configuration interface comprises a first configuration information input box; receiving first configuration information input by a user in a first configuration information input box, wherein the first configuration information indicates server resource protection modes corresponding to different traffic intervals; correspondingly, according to the flow size, determining a second server resource protection mode from a plurality of preset server resource protection modes, including: and inquiring the first configuration information according to the flow size so as to determine a second server resource protection mode according to the inquiry result.
In one embodiment, the first server resource protection scheme is comprised of a combination of a plurality of server resource protection schemes.
In one embodiment of the application, the computer program when executed by the processor further performs the steps of: providing a second configuration page, wherein the second configuration page comprises a second configuration information input box; receiving second configuration information input by a user in a second configuration information input box, wherein the second configuration information indicates server resource protection modes corresponding to different traffic characteristic information; correspondingly, according to the traffic characteristic information, determining a first server resource protection mode from a plurality of preset server resource protection modes, including: and querying the second configuration information according to the flow characteristic information to determine a first server resource protection mode according to a query result.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include a Read-Only Memory (ROM), a magnetic tape, a floppy disk, a flash Memory, an optical Memory, a high-density embedded nonvolatile Memory, a resistive Random Access Memory (ReRAM), a Magnetic Random Access Memory (MRAM), a Ferroelectric Random Access Memory (FRAM), a Phase Change Memory (PCM), a graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (11)

1. A method for protecting server resources, the method comprising:
if the current application service scene is a first scene type, acquiring traffic characteristic information of a received target user request, wherein the traffic characteristic information comprises at least one of a user area, a user equipment type and whether the current application service scene is a list client;
determining a first server resource protection mode from a plurality of preset server resource protection modes according to the traffic characteristic information; the preset server resource protection modes comprise a multithreading and thread pool combined mode, an extended machine mode, a message queue mode and a current limiting degradation mode; the mode of combining the multiple threads and the thread pool is a mode of processing user requests concurrently; the extended machine mode is a mode of adding a server; the message queue mode is a mode of setting up a middleware of a message queue and asynchronously sending a user request to the middleware of the message queue; the current limiting degradation mode is a mode for limiting the flow and degrading the service under the condition that the user flow exceeds a preset threshold value;
responding to the target user request based on the first server resource protection mode;
if the current application service scene is a second scene type, acquiring the flow size of the server within a preset time length, wherein the first scene type and the second scene type are divided according to the service function provided by the application;
determining a second server resource protection mode from the preset server resource protection modes according to the flow;
responding to each user request received by the server based on the second server resource protection mode;
wherein, the determining a second server resource protection mode from the plurality of preset server resource protection modes according to the traffic includes: if the flow size is in a first flow interval, taking the extended machine mode as the second server resource protection mode; if the flow size is in a second flow interval, taking the message queue mode as the second server resource protection mode; if the flow size is in a third flow interval, taking the current-limiting degradation mode as the second server resource protection mode; if the flow size is in a fourth flow interval, taking a mode of combining the multithreading and the thread pool as a second server resource protection mode; wherein a lower bound of the first flow interval is greater than an upper bound of the second flow interval, a lower bound of the second flow interval is greater than an upper bound of the third flow interval, and a lower bound of the third flow interval is greater than an upper bound of the fourth flow interval.
2. The method of claim 1, further comprising:
providing a first configuration interface, the first configuration interface including a first configuration information input box;
receiving first configuration information input by a user in the first configuration information input box, wherein the first configuration information indicates server resource protection modes corresponding to different traffic intervals;
correspondingly, the determining a second server resource protection mode from the plurality of preset server resource protection modes according to the traffic includes:
and inquiring the first configuration information according to the flow so as to determine the second server resource protection mode according to the inquiry result.
3. The method of claim 1, wherein the first server resource protection schema comprises a combination of a plurality of server resource protection schemas.
4. The method of claim 1, further comprising:
providing a second configuration page, the second configuration page including a second configuration information input box;
receiving second configuration information input by a user in the second configuration information input box, wherein the second configuration information indicates server resource protection modes corresponding to different traffic characteristic information;
correspondingly, the determining a first server resource protection mode from the preset server resource protection modes according to the traffic characteristic information includes:
and querying the second configuration information according to the flow characteristic information to determine the first server resource protection mode according to a query result.
5. The method according to claim 1, wherein the preset server resource protection mode is a server resource protection mode preset in a server.
6. The method of claim 1, wherein the user region is a user region, wherein the user regions are different and the corresponding traffic surges are different;
the list clients are clients which are preset in the user list according to the user flow.
7. The method according to claim 1, wherein the preset threshold is a value of user traffic that the server can tolerate.
8. An apparatus for server resource protection, the apparatus comprising:
the system comprises a first obtaining module, a second obtaining module and a third obtaining module, wherein the first obtaining module is used for obtaining the traffic characteristic information of a received target user request if the current application service scene is a first scene type, and the traffic characteristic information comprises at least one of a user area, a user equipment type and whether the current application service scene is a list client;
the first determining module is used for determining a first server resource protection mode from a plurality of preset server resource protection modes according to the flow characteristic information; the preset server resource protection modes comprise a multithreading and thread pool combined mode, an extended machine mode, a message queue mode and a current limiting degradation mode; the mode of combining the multiple threads and the thread pool is a mode of processing user requests concurrently; the extended machine mode is a mode of adding a server; the message queue mode is a mode for constructing a middleware of a message queue and asynchronously sending a user request to the middleware of the message queue; the current limiting degradation mode is a mode for limiting the flow and degrading the service under the condition that the user flow exceeds a preset threshold value;
a first response module for responding to the target user request based on the first server resource protection mode;
the second obtaining module is used for obtaining the flow size of the server within a preset time length if the current application service scene is a second scene type, and the first scene type and the second scene type are divided according to the service function provided by the application;
the second confirmation module is used for determining a second server resource protection mode from the preset server resource protection modes according to the flow;
a second response module, configured to respond to each user request received by the server based on the second server resource protection mode;
the second determining module is specifically configured to, if the traffic size is within a first traffic interval, use the extended machine mode as the second server resource protection mode; if the flow size is in a second flow interval, taking the message queue mode as the second server resource protection mode; if the flow size is in a third flow interval, taking the current-limiting degradation mode as the second server resource protection mode; if the flow size is in a fourth flow interval, taking a mode of combining the multithreading and the thread pool as a second server resource protection mode; wherein a lower bound of the first flow interval is greater than an upper bound of the second flow interval, a lower bound of the second flow interval is greater than an upper bound of the third flow interval, and a lower bound of the third flow interval is greater than an upper bound of the fourth flow interval.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
11. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 7 when executed by a processor.
CN202211040104.6A 2022-08-29 2022-08-29 Server resource protection method, apparatus, device, medium, and program product Active CN115118785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211040104.6A CN115118785B (en) 2022-08-29 2022-08-29 Server resource protection method, apparatus, device, medium, and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211040104.6A CN115118785B (en) 2022-08-29 2022-08-29 Server resource protection method, apparatus, device, medium, and program product

Publications (2)

Publication Number Publication Date
CN115118785A CN115118785A (en) 2022-09-27
CN115118785B true CN115118785B (en) 2023-01-06

Family

ID=83335967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211040104.6A Active CN115118785B (en) 2022-08-29 2022-08-29 Server resource protection method, apparatus, device, medium, and program product

Country Status (1)

Country Link
CN (1) CN115118785B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116662016B (en) * 2023-07-25 2023-10-20 太平金融科技服务(上海)有限公司 Port switching method, device, computer equipment, storage medium and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110351357A (en) * 2019-07-08 2019-10-18 中国平安人寿保险股份有限公司 Server current-limiting method, device, computer equipment and storage medium
CN110896382A (en) * 2019-12-13 2020-03-20 北京奇艺世纪科技有限公司 Flow control method, device, equipment and computer readable storage medium
CN113765980A (en) * 2020-11-20 2021-12-07 北京沃东天骏信息技术有限公司 Current limiting method, device, system, server and storage medium
CN114666272A (en) * 2022-03-11 2022-06-24 平安国际智慧城市科技股份有限公司 Current limiting processing method, device, equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100010965A1 (en) * 2008-07-08 2010-01-14 International Business Machines Corporation Query Management Systems
US10116534B2 (en) * 2015-08-11 2018-10-30 Txmq, Inc. Systems and methods for WebSphere MQ performance metrics analysis
CN109885399A (en) * 2019-01-17 2019-06-14 平安普惠企业管理有限公司 Data processing method, electronic device, computer equipment and storage medium
CN112422450B (en) * 2020-05-09 2023-05-23 上海哔哩哔哩科技有限公司 Computer equipment, and flow control method and device for service request
CN112187505B (en) * 2020-08-17 2023-04-18 杭州安恒信息技术股份有限公司 Adaptive service degradation method, electronic device and storage medium
CN112612618B (en) * 2020-12-30 2022-07-19 深圳我家云网络科技有限公司 Interface current limiting method and device, computer equipment and storage medium
CN113285883A (en) * 2021-05-25 2021-08-20 挂号网(杭州)科技有限公司 Access request current limiting method and device, electronic equipment and storage medium
CN113794650B (en) * 2021-09-16 2024-06-21 深圳平安智慧医健科技有限公司 Concurrent request processing method, computer device and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110351357A (en) * 2019-07-08 2019-10-18 中国平安人寿保险股份有限公司 Server current-limiting method, device, computer equipment and storage medium
CN110896382A (en) * 2019-12-13 2020-03-20 北京奇艺世纪科技有限公司 Flow control method, device, equipment and computer readable storage medium
CN113765980A (en) * 2020-11-20 2021-12-07 北京沃东天骏信息技术有限公司 Current limiting method, device, system, server and storage medium
CN114666272A (en) * 2022-03-11 2022-06-24 平安国际智慧城市科技股份有限公司 Current limiting processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN115118785A (en) 2022-09-27

Similar Documents

Publication Publication Date Title
US10970085B2 (en) Resource management with dynamic resource policies
EP3220269B1 (en) Mobile terminal and resource management method thereof
CN105190555B (en) Centralized task schedule
US20110264704A1 (en) Methods and Systems for Deleting Large Amounts of Data From a Multitenant Database
JP2017510864A (en) Method, terminal and system for pushing information
CN109587200A (en) A kind of block chain, that is, service platform and system
CN102495857A (en) Load balancing method for distributed database
CN105530306A (en) Hyper-converged storage system supporting data application service
CN115118785B (en) Server resource protection method, apparatus, device, medium, and program product
CN112925607A (en) System capacity expansion and contraction method and device and electronic equipment
CN110968603A (en) Data access method and device
CN113392863A (en) Method and device for acquiring machine learning training data set and terminal
CN104021029A (en) Spatial information cloud computing system and implementing method thereof
EP3422186A1 (en) Method, device and system for preventing memory data loss
CN112286930A (en) Method, device, storage medium and electronic equipment for resource sharing of redis business side
CN105323320B (en) A kind of method and device of content distribution
CN114493598A (en) Computing resource management method, device, computer equipment and storage medium
CN103685359A (en) Data processing method and device
CN117435129A (en) Storage cluster expansion method and device, computer equipment and storage medium
CN117009080A (en) Resource adjustment method, apparatus, device, medium and computer program product
CN118018552B (en) Cluster service deployment method and device based on middleware and computer equipment
CN116541145A (en) Data calling method, device, computer equipment and computer storage medium
CN116594770A (en) Data processing method, device, computer equipment and storage medium
CN116560841A (en) Volunteer computing method, device, computer equipment and storage medium
CN117193959A (en) Task scheduling method, device, computer equipment and storage medium

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