~/talk

Reactive web services

Talkat Jfokus 2018 · 2018-02-05..02-07· [web-performance, frontend-architecture]
slides:none on file

Live code shows Spring WebFlux with Reactor and Netty, plus servlet 3.1 async and a simple siege benchmark: a blocking endpoint returns ~1s latency and 5 TPS with 5 concurrent clients, hitting a thread-pool bottleneck; moving blocking work off request threads restores throughput. Blocking Netty event loops on a 4‑core laptop caps throughput (≈40 TPS) until using subscribeOn schedulers. Streaming large 1GB documents as a Flux (not a JSON array) drops heap needs from 9GB to 1GB and lowers latency, while backpressure via Flux stream requires streaming queries (Hibernate stream or JDBC cursor) or careful request(n)/batching to avoid materializing all rows.

AI-written summary · about

  1. 0:00Start
  2. 0:32About Myself
  3. 19:43Spring Magic
  4. 24:30Document Repository
  5. 31:28Hibernate Implementation
  6. 33:06Jdbc Implementation
~/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.