~/talk

Reactive web services

Talkat Build Stuff 2017 · 2017-11-15..11-19· [web-platform, reactive-programming]
slides:none on file

Live Java examples use Spring and Project Reactor to show practical gains: moving blocking I/O to async servlets or wrapping with Mono and using subscribeOn(elastic) restores throughput (benchmarked with siege: 8 TPS with an 8-thread Tomcat limit, 16 TPS after moving work off request threads). Switching to Flux and streaming JSON avoids buffering nine 1GB documents (no 9GB heap), and backpressure via request(n) (and a JDBC iterator/hibernate stream demo) lets the producer emit only as much as the consumer can handle.

AI-written summary · about

  1. 0:00Introduction
  2. 2:02Reactive web services
  3. 6:56Threat limit
  4. 7:28Thread limit
  5. 8:24Latencies
  6. 13:32Mono
  7. 14:39Project Reactor
  8. 53:44Batch Bulk Scheduler
  9. 54:22Operators
~/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.