Undertow 맛보기

Preview:

DESCRIPTION

JBoss Undertow 맛보기

Citation preview

Undertow 맛보기Jeff Lee

Undertow?

Undertow has a composition based architecture that allows you to build a web server by combining small single purpose handlers.

- Full Java EE servlet 3.1 container- Low level non-blocking handler

http://undertow.io

https://github.com/undertow-io

Why Undertow

LightweightHTTP Upgrade Support (101-Switching Protocols)

Web Socket SupportServlet 3.1EmbeddableFlexible

Undertow Features

High PerformanceEmbeddableServlet 3.1Web SocketsReverse Proxy

Show me the code

Undertow Architecture

XNIO비동기 통신 라이브러리 (ex:Netty)SSL 지원http://xnio.jboss.org/

Undertow Architecture

ListenersHTTPHTTPSAJPSPDY(지원 예정)

Undertow Architecture

Handlers - Handler Chaining

Built in Handlers

PathVirtual HostPath TemplateDateResourcePredicateHTTP ContinueWebsocketRedirect

TraceHeaderIP Access ControlACLURL DecodingSet AttributeRewriteGraceful ShutdownProxy Peer Address

Error Handling

Reverse Proxy

SimpleProxyClientProvider서버 하나의 요청을 처리실제 서버를 외부에 숨길 때 사용

LoadBalancingProxyClient여러 서버의 요청을 처리부하 분산할 때 사용

Servlet Deployment

Recommended