~/talk

Towards blocking streams

Talkat JDD 2024 · 2024-10-22..10-23· [concurrency, java]
slides:none on file

Shows how to build blocking, back-pressured local streams using Java 21 virtual threads and channel primitives reimplementing the Kotlin algorithm, with a runtime-free model called Ox / jocks that preserves full stack traces. Demonstrations include creating 10 million threads in under 2s, a benchmark of 10k pairs × 100k messages per pair comparing jocks, Kotlin and Java queues (all similar; Go slightly faster), and working examples of merge, zip, throttling and blocking IO that run and propagate errors cleanly.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:58Reactive streams refresher
  3. 8:16Java 21 virtual threads
  4. 12:08Blocking stream processing
  5. 22:45Scala Ox library overview
  6. 28:28Blocking operations with flows
  7. 33:58Flow integration with channels
  8. 37:51Reimplementation of Akka example
  9. 40:42About Software Mill
  10. 41:25Comparison of streaming approaches
  11. 44:55Closing 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.