| Campus network system in Colleges and universities is not only an important window for schools to publicize and display,but also the main platform for teachers,students and staff to handle campus affairs.Most of the traditional campus network platforms are built in a single architecture.The old development technology leads to high system coupling and poor scalability.At the same time,the backward system architecture makes it impossible for developers to optimize it.In the face of high concurrent scenarios such as class selection and library occupancy,it is easy to downtime,which seriously affects the system experience.This paper designs and implements a campus network system based on the microservice architecture.With the idea of the micro-service architecture,the campus network system is reconstructed at the interface level,and the core load balancing algorithm in the system is improved,which greatly improves the overall performance of the system.The main research contents are as follows:(1)Introduce the theoretical basis of the micro-service architecture,and design the campus network system according to the design guidelines of the micro-service.By introducing the design idea and architecture of large-scale system into the design of small and medium-sized system such as campus network,the feasibility of its application is discussed.(2)Infrastructure construction of micro-services in the system is achieved through services registration and discovery,message bus,configuration center,fuser,load balancer and other components integrated by Spring Cloud framework.On the basis of infrastructure construction,the core requirements of the campus network are coded.(3)For the specific scenarios of high concurrent access in the campus network environment,the built-in load balancing algorithm of Nginx server is improved.Based on the minimum connection strategy,a quantitative weighting load balancing strategy is proposed,and it is successfully applied in the reconstructed system.After testing,the campus network system based on the micro-service architecture has significantly improved in the system average corresponding rate,system scalability,security and other dimensions,and the overall performance of the system has been greatly improved.Figure[52] table[18] reference[62]... |