Configuration method and device of sliding window, computer equipment and storage medium

A technology of sliding window and configuration method, which is applied in computing, multi-programming device, resource allocation, etc., and can solve the problem of inability to accurately configure the number of divisions.
CN112346867APending Publication Date: 2021-02-09PING AN TECH (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN Β· China
Patent Type
Applications(China)
Current Assignee / Owner
PING AN TECH (SHENZHEN) CO LTD
Publication Date
2021-02-09

Smart Images

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

Abstract

The invention discloses a configuration method and device of a sliding window, computer equipment and a storage medium, and relates to the technical field of safety protection, and the method comprises the steps: employing a current-limiting burr factor to quantize the probability of current-limiting burrs of the sliding window, wherein the current-limiting burr factor represents the product of the request density of the sliding window and the burr coverage degree; quantifying the influence of a memory factor on the division number of a sliding window on memory occupation, with the memory factor representing the memory occupied by a target project determined based on the division number of the sliding window; determining intersection point information of the current-limiting burr factor and the memory factor; and taking the coordinate data representing the horizontal ordinate value of the intersection point in the intersection point information as the optimal segmentation number of thesliding window. The optimal segmentation number can be obtained, so that the probability of occurrence of current-limiting burrs is effectively reduced. The occupied memory is reduced, and the optimal current-limiting effect is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of safety protection, in particular to a configuration method, device, computer equipment and storage medium of a sliding window. Background technique

[0002] In the prior art, a rate limiting strategy is often used to prevent the server from being paralyzed due to the explosive growth of requests, and sliding window rate limiting is a rate limiting method that is often adopted. However, in actual development and testing, developers do not know the most reasonable parameters of window current limiting in advance, so they cannot evaluate the actual effect of this current limiting strategy on the project well. If it is necessary to wait until the subsequent production process for verification, the rationality evaluation of the current limiting parameter configuration will lag behind; at the same time, the preliminary test can only test the effect at the functional level, and the configuration effect of the cu...

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