~/talk

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

Talkat SpringOne Platform 2017 · 2017-12-04..12-07· [java, web-platform]
slides:none on file

Compares Spring MVC (Servlet) and Spring WebFlux (Reactive) by running a car-reservation demo that actually works: a MongoDB Flux of cars, a WebClient making nested POSTs with a 2–5 second simulated booking delay, and a Netty server using four Reactor Netty threads to handle both server and client work. Shows Servlet apps can use reactive clients and stream responses but must block on the servlet layer, while WebFlux supports true non-blocking I/O and functional endpoints only on WebFlux, including bidirectional streaming and backpressure.

AI-written summary · about

  1. 0:00Introduction
  2. 2:04Change
  3. 2:54Synchronicity
  4. 6:43Misconceptions
  5. 8:42Event Loop
  6. 9:37Reactive Libraries
  7. 12:18Java 8 Lambda
  8. 13:10Why Choice Matters
  9. 14:39How Weve Created Choice
  10. 16:11Tomcat Jetty
  11. 17:26Demo Application
  12. 29:29Async Support
  13. 30:33Nonblocking IO
  14. 31:35Nonblocking Frameworks
  15. 33:19surveyed API
  16. 33:32internal processing
  17. 35:07concurrency
  18. 36:21nonblocking
  19. 37:19flux
  20. 38:35codecs
  21. 43:33Switching Threads
  22. 44:09Collector List Operator
  23. 45:34Application Stream JSON
  24. 47:04Reactive Streams Demo
  25. 48:45Reactive Data Report Demo
  26. 49:48Reactive Web Client Demo
  27. 51:11Flux Interval Demo
  28. 53:14The Choice is Mine
  29. 54:00Spring MVC and Spring Wet Flux
  30. 54:22Consistency and continuity
  31. 55:23The range of options
  32. 55:51The obvious
  33. 56:23This is a game
  34. 57:18Using reactive clients
  35. 57:56When to consider web flex
  36. 59:29Functional programming model
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.