Computer and Modernization ›› 2022, Vol. 0 ›› Issue (04): 58-64.

Previous Articles     Next Articles

Dynamic Load Balancing Strategy of DRC Cluster Based on Nginx

  

  1. (1. School of Computer and Network Security, Chengdu University of Technology, Chengdu 610059, China;

    2. Big Data Research Institute, Chengdu University, Chengdu 610106, China)
  • Online:2022-05-07 Published:2022-05-07

Abstract: The data-oriented architecture (DOA) provides a new effective solution for the circulation and sharing of massive heterogeneous data. The data registration center (DRC) is the core component of DOA, and its access performance is particularly critical. Aiming at the problem of DRC cluster service overload caused by high concurrent access, Nginx reverse proxy load balancing technology is used to handle high concurrent access. We analyze and optimize the load strategy of Nginx, propose a dynamic load balancing strategy consisting of dynamic configuration, load collection, and algorithm scheduling, and improve the Nginx weighted least connection scheduling algorithm (WLC) in the load scheduling module. The adaptive weight continuously schedules the node with the best performance in the next cycle to process the request. The high concurrency performance test verifies that the proposed load balancing strategy can more effectively deal with the access demand of large traffic in the DRC cluster, improve the resource utilization of the cluster and shorten the request response time.

Key words: DRC cluster, minimum weighted connection, dynamic load balancing, adaptive weight, Nginx