Servlet or Reactive Stacks: The Choice is Yours. Oh No... The Choice is Mine! - Rossen Stoyanchev

December 14, 2017
Spring Framework 5.0 provides a choice of two web stack. One is the existing Servlet based Spring MVC and the other is the Reactive Streams (and Reactor) based Spring WebFlux that also supports non-Servlet containers such as Netty and Undertow. To make the choice even more interesting in 5.0 Spring MVC also supports the use of reactive libraries for orchestrating remote HTTP service calls, using reactive data repositories, and so on. In this session we'll try and make sense of these options by comparing the execution models of each stack in the context of several common web application scenarios as well as some additional scenarios that have been harder to do on a traditional Servlet stack. The session will you help you to understand just how much reactive mileage you can get out of your Servlet stack and what more you can do with a reactive stack. We'll use sample code to demonstrate reactive features and behavior (e.g. back pressure) on each stack. Knowledge of using reactive libraries such as Reactor or RxJava is very helpful but not required for this session. Rossen Stoyanchev, Spring Framework Developer, Pivotal Filmed at SpringOne Platform 2017
Previous
Reactive Applications on Apache Tomcat and Servlet 3.1 Containers - Violeta Georgieva
Reactive Applications on Apache Tomcat and Servlet 3.1 Containers - Violeta Georgieva

Scalability and resilience are important key goals, characteristics for modern applications. To achieve thi...

Next Video
Spring Cloud Gateway - Spencer Gibb, Sree Tummidi
Spring Cloud Gateway - Spencer Gibb, Sree Tummidi

What is an API Gateway and how can your microservices architecture benefit by using one? What are the types...

Enter curious. Exit smarter.

Learn More