A qps control method, device and electronic device for a server

A control method and technology of a control device, which are applied to electrical components, digital transmission systems, data exchange networks, etc., can solve the problems of difficulty in controlling cluster QPS and high cost of synchronizing data, and achieve the effects of cost savings, multiple benefits, and increased utilization.

Active Publication Date: 2021-06-18
BEIJING KINGSOFT INTERNET SECURITY SOFTWARE CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But in the case of server clusters, it is very difficult to control the QPS of the cluster, because the cost of synchronizing data between different servers is high, and there is a delay. At present, there is no good way to control the QPS of the servers in the server cluster

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
  • A qps control method, device and electronic device for a server
  • A qps control method, device and electronic device for a server
  • A qps control method, device and electronic device for a server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] A QPS control method, device, and electronic equipment for a server according to an embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

[0057] It should be clear that the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0058] figure 1 It is a flow chart of Embodiment 1 of a QPS control method for a server of the present invention, such as figure 1 As shown, the method of this embodiment may include:

[0059] Step 101, receiving the total number of server cluster requests within a specified time counted in advance.

[0060] In this embodiment, for example, a pre-set summation program can be used to receive the number of requests received by each serve...

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 embodiment of the invention discloses a server QPS control method, device and electronic equipment, which relate to the technical field of computers and networks, and can solve the problem of QPS control under large-scale server clusters. The QPS control method of the server is used for the server in the server cluster, including: receiving the total number of server cluster requests within a specified time counted in advance; calculating the number of requests received locally within the specified time within the total number of server cluster requests According to the ratio and the QPS limit value of the cluster query rate per second required by the demand-side platform, calculate the first QPS control value. The invention can improve network usage rate and is suitable for QPS control of various server clusters.

Description

technical field [0001] The invention relates to the technical field of computers and networks, in particular to a QPS control method, device and electronic equipment of a server. Background technique [0002] The Internet server acts as the service provider of the client's request, and also sends requests to the third-party server in the role of the client. For example, the server of an Internet advertising trading platform (Ad Exchange, ADX) will send a request to a third-party server, that is, a Demand-Side Platform (DSP) while accepting an advertisement request from a client. Since the third-party DSP server serves numerous ADX servers, the amount of requests handled by the DSP server is quite large. A large number of requests will lead to a relatively high cost. In order to solve this problem, the DSP server usually asks the ADX server to limit the query rate per second (Queries-per-second, QPS), such as limiting the ADX server in one second. A maximum of one hundred r...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08H04L12/24
CPCH04L41/142H04L67/10H04L67/60
Inventor 沈晔
Owner BEIJING KINGSOFT INTERNET SECURITY SOFTWARE 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