
Web Server
HTML, CSS, 자바스크립트 등 정적인 리소스를 제공하는 서버이다. 아파치나 NGINX가 그 예이다.
HTTP프로토콜 기반으로 동작하며 정적인 리소스만 전달하기 때문에 사용자의 어떤 요청에 반응하여 실시간으로 바뀌는 페이지를 제공할 수 없다. 하지만 요즘은 플러그인 등을 통해 이것이 가능하다고 한다.
Welcome! - The Apache HTTP Server Project
The Number One HTTP Server On The Internet The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems including UNIX and Windows. The goal of this project is to provide a secure, efficient an
httpd.apache.org
Advanced Load Balancer, Web Server, & Reverse Proxy - NGINX
NGINX accelerates content and application delivery, improves security, and facilitates availability and scalability for the busiest websites on the Internet.
www.nginx.com
Web Application Server
어플리케이션 로직을 수행하여 동적인 웹페이지를 제공하는 서버이다. 보통 줄여서 WAS라고 많이들 부른다. Web Server와 동일하게 HTTP 프로토콜 기반으로 동작하며 서블릿&JSP, 스프링&타임리프 등을 통해서 동적인 HTML를 생성해 사용자에게 전달하고 사용자는 해당 페이지에서 동적인 경험을 할 수 있다. Tomcat, Jetty, Undertow가 그 예이다.
동적인 리소스만 제공하는 것이 아닌 정적인 리소스도 제공 가능하다. 어떤 경우에는 Web Server와 WAS를 동시에 두어 Web Server에 정적인 정보만 전달하는 페이지를 처리하게 하고 WAS에 문제가 생겼을 때 정적인 해당 페이지를 전달할 수도 있다. 이벤트가 있을 때에도 사용자에게 정적인 페이지를 먼저 접근하게 하고 이후에 동적인 페이지로 이동할 수 있도록 하여 트래픽을 조절하는 방법도 있다.
Apache Tomcat® - Welcome!
The Apache Tomcat® software is an open source implementation of the Jakarta Servlet, Jakarta Server Pages, Jakarta Expression Language, Jakarta WebSocket, Jakarta Annotations and Jakarta Authentication specifications. These specifications are part of the
tomcat.apache.org
Eclipse Jetty | The Eclipse Foundation
The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 415 open source projects, including runtimes, tools and frameworks.
eclipse.dev
Undertow · JBoss Community
Ok then. Here is a simple Hello World server using Async IO: public class HelloWorldServer { public static void main(final String[] args) { Undertow server = Undertow.builder() .addHttpListener(8080, "localhost") .setHandler(new HttpHandler() { @Override p
undertow.io
'공부 > 네트워크' 카테고리의 다른 글
| [네트워크] TCP / IP (0) | 2024.04.02 |
|---|---|
| [네트워크] REST API와 성숙도 모델 (0) | 2024.03.08 |
| [네트워크] OSI 7계층 (0) | 2024.01.12 |