~/talk

How to build Reactive Server in 50 minutes

Talkat Voxxed Days Cluj-Napoca 2018 · 2018-11-21..11-23· [reactive-programming, java]
slides:none on file

Builds a non‑blocking TCP server from Java NIO selector and ServerSocketChannel, wires it to Project Reactor operators, uses unicast processors for read/write events and Reactor schedulers to pin each connection to one worker. Demonstrates backpressure in practice and survives a 5,000 concurrent connections test without spawning thousands of OS threads. Provides concrete code patterns: register on subscribe, baseSubscriber for writes, publishOn for parallelism, and unit tests that assert backpressure and correctness.

AI-written summary · about

  1. 0:00Introduction
  2. 2:01Reactive server engine goals
  3. 4:41Code example of reactor
  4. 6:02Limitations of blocking I/O
  5. 10:05Thread pool limitations
  6. 14:17Introduction to Java NIO
  7. 17:32NIO data handling
  8. 18:50NIO implementation details
  9. 23:15NIO complexity
  10. 24:52Introduction to Reactive Streams
  11. 27:04Project Reactor components
  12. 30:25Implementing the connection
  13. 34:41Data writing with backpressure
  14. 39:14Efficient data processing
  15. 42:00Reactive server implementation
  16. 46:41Performance demonstration
  17. 50:53Summary and Q&A
~/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.