基于Nginx的负载均衡集群设计与实现
Design and implementation of load balancing cluster based on Nginx
-
摘要: 为了实现服务器架构成本与性能的平衡,设计了一种基于Nginx的负载均衡集群。将用户请求进行分类,用加权轮询算法和IP_HASH算法将用户请求交由后端服务器处理。通过集群的搭建验证了其高效性及稳定性。Abstract: In order to make Internet companies cope with high concurrent users traffic situation, a kind of load balancing cluster based on Nginx is designed. Users' requests are classified by URL, by using WRR algorithm and IP_HASH algorithm, users' requests are sent to back-end real server clusters. Its high efficiency and stability are verified by constructing the cluster.