Overload protection method and device for server

An overload protection and server technology, which is applied in the Internet field, can solve problems such as easy inaccuracy of the threshold of the number of users, poor effect of server overload protection, etc., and achieve a better effect of overload protection

Active Publication Date: 2014-11-12
TENCENT TECH (SHENZHEN) CO LTD +1
View PDF2 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Since there are generally multiple network applications on the same server, the business logic of different network applications is differ

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Overload protection method and device for server
  • Overload protection method and device for server
  • Overload protection method and device for server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] Due to the limitation of the server's own processing capacity, the number of requests that any server can process within a certain period of time is limited. When the server receives more than a certain number of pending requests, it will cause the server to be overloaded and may cause downtime And other adverse consequences, resulting in huge economic losses. Therefore, in order to prevent the above situation, an embodiment of the present invention provides a server overload protection method. In order to better protect the server from overload, this embodiment uses the system load information of the server as a basis for judging whether the server is overloaded, and uses an example to describe the method provided in this embodiment. see figure 1 , the method flow provided by this embodiment includes:

[0027] 101: Receive pending requests, and obtain the current system load information of the server;

[0028] Among them, obtain the current system load information o...

Embodiment 2

[0050] An embodiment of the present invention provides a server overload protection method. Combining with the content of the first embodiment above, this embodiment takes the server as an example to illustrate the method provided by this embodiment. see figure 2 , the method flow provided by this embodiment includes:

[0051] 201: Receive pending requests and obtain the current system load information of the server;

[0052] Specifically, this embodiment does not specifically limit the types of received requests to be processed, including but not limited to connection requests, service acquisition requests, and the like. This embodiment also does not specifically limit the content of the server's current system load information, including but not limited to at least one of the server's current CPU (Central Processing Unit, central processing unit) usage rate, memory usage rate, network bandwidth usage rate, etc. kind. This embodiment also does not specifically limit the w...

Embodiment 3

[0086] An embodiment of the present invention provides a server overload protection method. Combining with the content of the first embodiment above, this embodiment takes the server as an example to illustrate the method provided by this embodiment. see image 3 , the method flow provided by this embodiment includes:

[0087] 301: Receive pending requests and obtain the current system load information of the server;

[0088] Specifically, the implementation principle of this step is the same as the implementation principle of step 201 in the above-mentioned embodiment 2. For details, refer to the content of step 201 in the above-mentioned embodiment 2, which will not be repeated here.

[0089] 302: Compare the current system load information of the server with a preset system load threshold;

[0090] Specifically, the implementation principle of this step is the same as the implementation principle of step 202 in the above-mentioned embodiment 2. For details, refer to the c...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an overload protection method and device for a server, and belongs to the technical field of internet. The method comprises the steps as follows: a to-be-processed request is received, and current system load information of the server is acquired; the current system load information of the server is compared with a preset system load threshold, and whether the server is overloaded is determined according to a comparison result; and if the server is overloaded, the processing for the to-be-processed request is rejected. The device comprises a first receiving module, a first acquisition module, a first determination module and a processing module. The system load information of the server has determinacy and can reflect whether the server is overloaded truly, so that the acquired current system load information of the server is compared with the preset system load threshold, and the processing for the to-be-processed request is rejected when the overload of the server is determined according to the comparison result, accordingly, whether the server is overloaded can be accurately judged, and better overload protection can be performed on the server.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a server overload protection method and device. Background technique [0002] With the rapid development of Internet technology, the server needs to process more and more user access requests. However, due to the limitation of the server's own processing capability, the number of user access requests that any server can process within a certain period of time is limited. When the number of users connected to the server exceeds a certain number, if the server does not have enough capacity to handle the subsequent user access requests, the server will be overloaded and may cause downtime and other adverse consequences, resulting in huge economic losses. Therefore, in order to prevent the above situation, it is generally necessary to adopt certain methods to protect servers that may be overloaded. [0003] A server overload protection method is provided in the prior art. In t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/50H04L29/08
CPCG06F9/5083G06F2209/5022
Inventor 苏士杰
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products