Video and slides synchronized, mp3 and slide download available at URL http://bit.ly/2ww8DKs.
Rossen Stoyanchev talks about five common use cases in web application development and explores the impact of building on Servlet and Reactive web application stacks. For reactive programming, he uses RxJava and Reactor. For the web stack, he pits Spring MVC vs Spring WebFlux allowing us to move easily between the Servlet and Reactive worlds and drawing a meaningful, apples-to-apples comparison. Filmed at qconnewyork.com.
Rossen Stoyanchev is a Spring Framework committer at Pivotal in NYC. He is deeply involved in the Spring five effort to enable reactive programming models starting with a reactive foundation for web applications and extending to data, messaging, and more.
2. InfoQ.com: News & Community Site
• 750,000 unique visitors/month
• Published in 4 languages (English, Chinese, Japanese and Brazilian
Portuguese)
• Post content from our QCon conferences
• News 15-20 / week
• Articles 3-4 / week
• Presentations (videos) 12-15 / week
• Interviews 2-3 / week
• Books 1 / month
Watch the video with slide
synchronization on InfoQ.com!
https://www.infoq.com/presentations/
servlet-reactive-stack
3. Presented at QCon New York
www.qconnewyork.com
Purpose of QCon
- to empower software development by facilitating the spread of
knowledge and innovation
Strategy
- practitioner-driven conference designed for YOU: influencers of
change and innovation in your teams
- speakers and topics driving the evolution and innovation
- connecting and catalyzing the influencers and innovators
Highlights
- attended by more than 12,000 delegates since 2007
- held in 9 cities worldwide
4. Servlet Stack
● Servlet container
● Servlet API
● Spring MVC
Reactive Stack
● Netty, Servlet 3.1+, Undertow
● Reactive Streams
● Spring WebFlux
5. Reactive Spring
Reactive starters in Spring Boot 2.0
Spring Framework 5 WebFlux endpoints + reactive WebClient
Reactive Spring Data Kay repositories
Spring Security
and more…
31. HTTP GET with reactive data repository
Designed to work on both Spring MVC and Spring WebFlux
Simply return reactive type (Flux, Observable) from @Controller
41. Servlet 3.1 non-blocking I/O ?
Unlike Servlet 3.0 async, Servlet 3.1 non-blocking is hard to retrofit
Requires deeper change
Mutually exclusive with rest of the Servlet API
55. Servlet stack summary
Reactive data repository
Streaming to the response with back pressure
Reactive orchestration of remote services
Reactive request input
Data ingestion with back pressure
56. Reactive stack summary
Reactive data repository
Streaming to the response with back pressure
Reactive orchestration of remote services
Reactive request input
Data ingestion with back pressure