With the rapid development of the Internet,the number of netizens exploded,causing the web application load pressure,and the load volatility is also more significant,and the web system of the traditional fixed cluster is difficult to ensure good service quality.Combined with the dynamic resource application of the cloud service,the elastic web system utilization can automatically increase the hardware resources according to the current load level,the dynamic adjustment system cluster size,always maintain good service quality,and become an important research direction in the field of Internet technology.With the iteration of technology,micro service architecture and container technology becomes the mainstream software architecture and deployment scheme of the web system.Microservices and container technology have the advantages of small telescopic particle size,high telescopic speed and high resource utilization,and significantly improve the elastic telescopic performance of the system.So this paper will design elastic telescopic web systems based on Spring Cloud micro-service framework and Docker container technology.This paper mainly studies three aspects:(1)Research the load prediction model.Research and Improvement of Combined Prediction Models Based on Self-regression Model and Load Sequence Match Algorithm.By adding dynamic weight adjustment,the self-regression model can better adapt to the multiple seasonality of the load sequence,and improve the load prediction accuracy.By adding critical point detection and segmentation mode,the load sequence matching algorithm increases the efficiency of similar sequence matching,which reduces the influence of instantaneous disturbance on load sequence matching.(2)Research service registration discovery mechanism.In order to improve the elastic telescopic effectiveness of the micro-service architecture,this paper is designed a message-propagated service registration discovery mechanism.Compared to the traditional registered discovery mechanism,it improves the topology,the message propagation mechanism applied to the service list synchronization is designed,and the health testing mechanism based on logical loop structure is added,which improves the system service discovery and downtime.Efficiency,but also guarantees that the registration center will not overload.(3)Study the frame structure of the elastic web system.Designed for the overall architecture of the elastic web system,the system uses a hierarchical structure,and the service logic layer program and the elastic telescopic control layer program are used to decouple,and the core module of the elastic telescopic control layer is detailed.Design distributed host monitoring modules,achieving efficient,reliable data acquisition aggregation and telescopic decision implementation;design elastic telescopic decision modules,integrating multiple telescopic strategies and container scheduling strategies,improving decision efficiency and system resource utilization.Therefore,this paper has been fully designed for the elastic web system.Distributed Host Monitoring System For elastic telescopic,data basis and elastic telescopic execution capabilities,load prediction models to solve when telescopic,telescopic,service registration finding mechanism guarantees the flexibility of the micro-service architecture.Finally,this paper applies the elastic telescopic design to a hazardous chemical vehicle management system to verify the elastic telescopic effect of the web system. |