Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Reactive Spring Workshop @Javaland

Reactive Spring Workshop @Javaland

Slides introducing reactive programming with Spring and Reactor at the Javaland "Reactive Spring" workshop, given March 2017.

Simon Baslé

March 28, 2017
Tweet

More Decks by Simon Baslé

Other Decks in Programming

Transcript

  1. async & blocking main thread wait & join ! new

    threads, costly ! complex BAD
  2. without sacrifice Callbacks ? Futures ? easy to block hard

    to compose callback hell ! not readable
  3. Flux.range(5, 3) .map(i -> i + 3) .filter(i -> i

    % 2 == 0) .buffer(3) 5, 6, 7 | 8, 9, 10 | 8, 10 | [8,10]|
  4. Credits ! Robot Devil: copyright FOX ! Volume Knob: CC0

    (via Pixabay) ! Camel Shape: CC0 (via Pixabay) ! Dromedary Shape: CC-By-SA USPN,Whidou (via Wikimedia) ! Thread Balls: CC0 (via Pixabay) ! Coding Time: derived from KEMUDA Computer Lab (CC-By-SA Andy.aug, via Wikimedia) ! Sound Table: CC0 (via Pexels) ! Dam: CC-By-SA Matthew Hatton (via geograph.org.uk) ! logos: Pivotal, Spring, Twitter and Github logo copyright their respective companies.