~/talk

Level Up Your Java Streams with Gatherers

Talkat Øredev 2025 · 2025-11-05..11-07· [web-performance]
slides:none on file

Java 24 adds Stream Gatherers and the session shows concrete code: five default gatherers—window fixed and window sliding, scan and fold, plus mapConcurrent uses virtual threads—with demos on temperature sensor streams that compute hourly averages (windows of 60) and running averages. Examples include a zip-with-index gatherer using mutable state, IntelliJ’s “trace current stream chain” debugging, mapConcurrent with maxConcurrency=3 preserving order, and guidance to start with sequential gatherers before adding parallel support.

AI-written summary · about

  1. 0:00From heat wave to Java streams
  2. 3:15Java streams recap
  3. 7:11Stream pipeline demo
  4. 11:24Limitations of standard streams
  5. 12:30Java 24 gatherers intro
  6. 15:19Fixed window gatherer
  7. 19:37Sliding window gatherer
  8. 21:24Scan and fold gatherers
  9. 27:51Map concurrent gatherer
  10. 29:15Custom gatherers from scratch
  11. 33:48Zip with index gatherer
  12. 38:23Sensor data challenges
  13. 39:25Gatherers summary
  14. 40:37Q&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.