Dynamic period media server load balancing algorithm
A load balancing algorithm and media server technology, applied in the direction of instruments, computing, resource allocation, etc., can solve the problems of reducing the processing capacity of server nodes, unable to meet real-time load balancing, and judging the remaining load capacity, so as to achieve good self-adaptive adjustment, The effect of small sample requirement and consistency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0028] Initialize the load balancing service:
[0029] Read the server node configuration file, and use the original static parameters such as the server's CPU, memory, and bandwidth as the load capacity to calculate the initial weight vector K0.
[0030] K0=[K(1) K(2) ... K(N)]
[0031] K(k)=α×P_cpu(i)+β×P_mem(i)+γ×P_net(i)
[0032] Among them, i refers to the current server node, and the value ranges from 1 to N, and N is the total number of server nodes. P_cpu(i) is the CPU parameter of the current server node, P_mem(i) is the memory parameter, and P_net(i) is the bandwidth parameter. α, β, γ are weight coefficients. The value of α is 0.4, the value of β is 0.2, and the value of γ is 0.4.
[0033] in, That is, the sum of the weights is 1.
[0034] The load balancing method in the Nginx cluster configuration is set to: consistent_hash. The dynamic adjustment of weight is realized through consul and nginx-upsync-module. Add the ip address and initial weight of the ba...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com