Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 762 Bytes

difference.md

File metadata and controls

11 lines (10 loc) · 762 Bytes

ข้อแตกต่าง Servlet vs Reactive (WebFlux)

title Servlet Reactive (WebFlux)
Web Server Tomcat Netty
I/O Blocking Non-Blocking
Request Processing Sychronous (Thread Pool) Asychronous (Event Loop)
Http Request javax.servlet.http.HttpServletRequest org.springframework.http.server.reactive.ServerHttpRequest
Http Response javax.servlet.http.HttpServletResponse org.springframework.http.server.reactive.ServerHttpResponse
Filter org.springframework.web.filter.OncePerRequestFilter org.springframework.web.server.WebFilter
Interceptor org.springframework.web.servlet.HandlerInterceptor N/A