엔진엑스 로드밸런싱1 5. Load Balancing 방식 및 가중치 설정 [Nginx의 로드밸런싱 설정 방법]nginx.conf 파일에 설정 1. Round Robin (default)upstream tomcat { server backend1.example.com; server backend2.example.com;} 2. Least Connectionsupstream tomcat {least_conn; server backend1.example.com; server backend2.example.com;} 가장 클라이언트 연결이 적은 서버로 전달 3. IP Hashupstream tomcat {ip_hash; server backend1.example.com; server backend2.example.com;} client ip를 hash하여 한 번.. 2024. 11. 7. 이전 1 다음 728x90