You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
시나리오
비교군
Apache
A. HTTP 실패량 & 응답 시간 추이
B. 활성 스레드 상태
C. 원인 요약
MaxRequestWorkers
(또는ServerLimit
) 도달 → 더 이상 워커(프로세스/스레드) 생성 불가ListenBacklog
부족, Keep-Alive 연결이 해제되지 않아 큐가 채워짐CPU·메모리는 여유(최대 CPU 12.7%)였으므로, 리소스 부족이 아닌 스레드/MPM 설정·TCP 큐 설계 한계가 핵심 병목입니다.
Nginx
1. Throughput (req/s)
/metrics
엔드포인트)2. CPU Usage
3. Network Traffic
비교 Nginx vs Apache
1. 처리량 (Throughput)
결론: nginx가 Apache 대비 10배 이상의 높은 요청·대역폭 처리율을 보였습니다.
2. 지연 시간 (Latency)
3. 실패율 & 스레드 상태
4. 서버 리소스
5. 원인 요약
sendfile
최적화 덕분에 NIC 대역폭까지 채움6. 예상 웹서버 튜닝
1. Apache 튜닝
2. HTTP/2 시행
3. 로드밸런싱 비교
향후 계획
1. Apache MPM/Event 모드 전환
위 설정을 적용하여 워커 수 확장 및 TCP 큐 개선을 진행합니다.
2. HTTP/2 도입
Nginx와 Apache에서 HTTP/2 성능 비교 테스트를 수행합니다.
3. 로드밸런싱
Docker 기반 Express 애플리케이션을 대상으로 로드밸런싱 성능 테스트를 진행합니다.
Beta Was this translation helpful? Give feedback.
All reactions