In recent years, the LXC (Linux Container)-based Docker technology has attracted great attention due to its lightweight and convenient features. Because of the performance differences among the hosts and the network complexity, it's necessary to improve the resource utilization of WEB application clusters. This paper analyzes the WEB application deployment architecture based on container technology, calculates the host load metrics combined the host's performance indicates and status of the operating containers, including CPU utilization, memory utilization, network utilization, and the proportion of unused memory that has been allocated for the containers, and proposes a Dynamic Weighted Least-Connection Algorithm (DWLC). The experiment shows that, the DWLC algorithm helps the WEB application response 52.6% and 46.4% faster than the ordinary Round-Robin and Least-Connection algorithm.
展开▼