NGINX와 Apache의 차이는 디자인 아키텍쳐이다.
NGINX
- event-driven achiecture
- handles multiple request within one thread
Apache
- process-driven approach
- create a new thread for each request
항목 | NGINX | Apache | 비고 |
성능(STATIC CONTENT) | PHP 사용 없이 정적 리소스 서비스 | file-baed method 사용하여 서비스 | |
성능(Dynamic Content) | 처리 않음 | Dynamic Content 처리 | |
OS 지원 | 윈도우 지원에 부분적 | Linux, BSD, MS-Windows | |
Request Interpretation | URI to Interret requests | File system location |