12
Undertow 맛보기 Jeff Lee

Undertow 맛보기

Embed Size (px)

DESCRIPTION

JBoss Undertow 맛보기

Citation preview

Page 1: Undertow 맛보기

Undertow 맛보기Jeff Lee

Page 2: Undertow 맛보기

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

Page 3: Undertow 맛보기

Why Undertow

LightweightHTTP Upgrade Support (101-Switching Protocols)

Web Socket SupportServlet 3.1EmbeddableFlexible

Page 4: Undertow 맛보기

Undertow Features

High PerformanceEmbeddableServlet 3.1Web SocketsReverse Proxy

Page 5: Undertow 맛보기

Show me the code

Page 6: Undertow 맛보기

Undertow Architecture

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

Page 7: Undertow 맛보기

Undertow Architecture

ListenersHTTPHTTPSAJPSPDY(지원 예정)

Page 8: Undertow 맛보기

Undertow Architecture

Handlers - Handler Chaining

Page 9: Undertow 맛보기

Built in Handlers

PathVirtual HostPath TemplateDateResourcePredicateHTTP ContinueWebsocketRedirect

TraceHeaderIP Access ControlACLURL DecodingSet AttributeRewriteGraceful ShutdownProxy Peer Address

Page 10: Undertow 맛보기

Error Handling

Page 11: Undertow 맛보기

Reverse Proxy

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

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

Page 12: Undertow 맛보기

Servlet Deployment