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
Example Embodiment
[0028] Initialize the load balancing service:
[0029] Read the server node configuration file, 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] Where i refers to the current server node, with a value ranging 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. α, β, and γ are weight coefficients. The value of α is 0.4, the value of β is 0.2, and the value of γ is 0.4.
[0033] among them, That is, the total weight is 1.
[0034] The load balancing method in the Nginx cluster configuration is set to: consistent_hash. Through consul and nginx-upsync-module to realize the dynamic adjustment of weight. Add the ip address and initial weight of the back-end server in...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap