| Container technique represented by Docker is more lightweight and easier to de-ploy than virtual machines.It can significantly reduce the resource usage in the cloud platform and improve the efficiency of application distribution and deployment.There-fore,the container based cloud computing platform becomes a hot topic in academia and industry.To this end,we implemented a container based cloud computing platform in this thesis,focusing on resource management of multi-host container applications and load balancing component for web applications to improve the flexibility and availability of the platform.The work of this thesis includes:● We studied the resource management technology of multi-host container applica-tions,and designed a mechanism to uniformly manage computing resources,storage resources and network resources in the container based cloud computing platform.● Focusing on the problem that consistent hash is lack of scalability and static weight does not reflect the real-time load of container instances,we studied the load balance component for Web applications,and implemented a weighted local consistency hash algorithm.The weight of each container is recalculated according to dynamic feedback.Thus,the system performance is more stable and balanced.● We implemented a container based cloud computing platform framework(NAP)based on the above key technologies.It integrats some open source components and supports automatic deployment and operation of various applications,such as distributed computing and big data analysis.Moreover,it can provide unified mangement of resources and continual tracking of resources usage.NAP is also equipped with a load balancing component which is based on the weighted local consistency hash algorithm.We verify the effectiveness of NAP by deploying and running a variety of applications.Its efficiency is also demonstrated by load balance experiments of some typical web-based applicaiton. |