Font Size: a A A

Research And Implementation Of Distributed Web Platform Based On Docker

Posted on:2019-01-23Degree:MasterType:Thesis
Country:ChinaCandidate:Z P LiFull Text:PDF
GTID:2358330548955630Subject:Engineering
Abstract/Summary:PDF Full Text Request
Compared to traditional virtual machines,Docker reduces the resource consumption of the Guest OS layer and aims to provide a more lightweight process-based software service.It also provides developers with a rapid development,testing and implementation platform environment.For the distribution of distributed Web platforms,Docker also provides a clustered management publishing solution.Currently,Docker still has a lot of room for improvement in terms of continuous integration release,comprehensive monitoring and scheduling of resource performance logs in containers,elastic scaling of container resources,and grayscale publishing of applications.In terms of continuous integration,although it can be achieved with the continuous integration tool Jenkins,it has a higher technical operation requirement for the user than the operation of the integrated software.In addition,application performance monitoring and logging for intra-cluster applications has always been a challenge for container operation and maintenance vendors.This makes it all the more important to establish comprehensive monitoring and logging solutions.The application of container elasticity scaling and application-based version upgrades to the platform production environment to achieve the container application life cycle management has always been a difficult point to restrict the promotion and application of the container.How to effectively solve these problems,the Docker-based distributed Web platform designed and implemented in this paper will explore continuous integration,performance monitoring,grayscale publishing,and log retrieval.The work and innovation of this article are as follows:First,the one-click continuous integration in the distributed Web platform designed by this project effectively solves the inconsistencies in the development,testing,and implementation of the distributed Web application environment,weakening the differences in the platform,and making development and testing more effective.Focus on the realization of the business and simplify the application release cycle.One-button continuous integration enables an integrated collection of SVN code management tools and Jenkins continuous integration tools,which saves a lot of maintenance costs and also reduces the difficulty of continuous integration operations.Second,this article provides a performance monitoring solution for collecting,summarizing,and analyzing resource performance data for container applications after using the Docker platform.Utilizing the features of Kubernetes,the real-time usage rate of container resources is added to the elastic scaling policy,which implements container-based resource monitoring and dynamic self-adaptive resource allocation.This ensures that the application's elastic scalability adapts.The solution can flexibly control the application nodes in real time,solve the problem that the Docker container cannot access self-adaptation based on performance,enable the application to provide services flexibly,and at the same time introduce the audit of scheduling logs on the scheduling trigger to ensure the effective scheduling.Then,we explore the mechanism of grayscale release for upgrading version of software project.Introduce grayscale publishing through project practice to reduce business interruptions and increase customer satisfaction.At the same time,it also saves a lot of upgrade wait time for developers and operation and maintenance personnel,and reduces the error rate during version upgrade.Finally,an integrated log collection and analysis platform was established for a large number of performance information and logs in the container,and resource management of the nodes,applications,and the interface of the container was implemented.On the one hand,the platform provides a rich query interface,which can adapt to the multi-dimensional query requirements of log retrieval;on the other hand,it reduces the complexity of the operation and maintenance of Docker container resources and saves the operation and maintenance labor costs.This article tests the continuous integration,performance monitoring,gray-scale publishing,and log retrieval functions in a distributed Web platform and verifies its effectiveness.The design and implementation of the platform provide a perfect solution for the continuous integration,performance monitoring,gray-scale distribution,and log retrieval of Docker virtualization applications and software projects,and has a strong practical significance.
Keywords/Search Tags:Continuous integration, Elastic scaling, Grayscale publishing, Log retrieval, Docker, Jenkins, Kubernetes
PDF Full Text Request
Related items