Container resource allocation method and device
A resource allocation device and resource allocation technology, applied in the field of container resource allocation methods and devices, can solve problems such as poor network connectivity, prolonging the execution time of big data jobs, and small available bandwidth of containers, and achieve the effect of optimizing performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] Such as figure 1 As shown, this embodiment provides a container resource allocation method, including the following steps:
[0034] S1. According to the available bandwidth between containers of N containers in the network, using containers as nodes and using the available bandwidth between two containers as edge weights, construct an undirected weighted complete graph.
[0035] Such as figure 2 As shown, each container can be regarded as a node in the graph. Since the containers are connected in pairs, and the communication between two containers does not need to be forwarded by other containers, the network topology of all containers can be regarded as an undirected complete graph. At the same time, the bandwidth between any two container nodes can be passed The bandwidth measurement unit such as IPerf measures periodically, and then gives the statistical available bandwidth within a certain time interval. Can be figure 1 The weight of the middle edge is set to t...
Embodiment 2
[0073] Such as image 3 As shown, this embodiment provides a device for allocating container resources, which can adopt the method for allocating container resources in Embodiment 1. The device for allocating container resources in this embodiment includes: a complete graph construction module, an optimal cluster node acquisition module, and a communication module; wherein, the complete graph construction module is used to base the available bandwidth between containers of N containers in the network , with the container as the node and the available bandwidth between the two containers as the edge weight, construct an undirected weighted complete graph; the optimal cluster node acquisition module is used to calculate each cluster node according to the complete graph , the one with the smallest bandwidth between any two nodes, compare the one with the smallest bandwidth between any two nodes in all clusters to obtain a cluster of nodes with the largest bandwidth, where each cl...
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