Server load prediction method and device, electronic equipment and storage medium

A prediction method and server technology, applied in the field of data processing, can solve the problem that the server is difficult to balance cost and stability, and achieve the effect of avoiding inaccurate load prediction

CN113535530APending Publication Date: 2021-10-22GUANGZHOU HUYA TECH CO LTD
3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2021-10-22

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention provides a server load prediction method and device, electronic equipment and a storage medium, and relates to the technical field of server loads. The method comprises the following steps: collecting current operating parameters, and determining a current average load coefficient, wherein the operation parameters comprise the number of current processing requests; determining a current processing request variable quantity according to the current processing request number and the historical processing request number; comparing the current processing request variable quantity with a historical processing request variable quantity, and updating a first wave queue used for storing the processing request variable quantity to obtain an updated second wave queue; and extracting an extreme value of a processing request variable quantity in the second wave queue, and predicting a server load according to the extreme value of the processing request variable quantity, the current average load coefficient and the current processing request number. According to the technical scheme, the technical purposes of predicting and judging the load of the server in real time and controlling the cost can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the technical field of data processing, and specifically, the embodiments of the present application relate to a server load prediction method, device, electronic device, and storage medium. Background technique

[0002] For Internet websites, the number of online user visits is in a state of fluctuation. During busy periods, especially when large-scale activities are launched on the website, such as shopping festivals and large-scale competitions, there are often a large number of user visits, and the sudden increase in user visits can easily lead to server crashes.

[0003] In view of the above situation, the existing solution is to manually perform load prediction for each server in advance before the event. In order for the server to run stably, redundant resources are usually over-reserved, because the storage cost of big data is relatively high, and more human maintenance and computing costs are required; moreo...

Examples

Embodiment Construction

[0057] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present application, and should not be construed as limiting the present invention.

[0058] Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and / or groups thereof....