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

Don't lose your marbles over reactive programmi...

Wendy Kong
November 30, 2019

Don't lose your marbles over reactive programming! (Penang Devfest&Bizfest19)

Presented at Penang DevFest and BizFest 2019

KL version here:
https://speakerdeck.com/wendko/dont-lose-your-marbles-over-reactive-programming-kl-devfest-2019

Reactive programming and marble diagrams - they always seem to come together! Marble diagrams are meant to help visualize reactive programming, which can be hard to work with especially when the amount of data streams and operators start to increase. Well, these marbles and straight lines and observables are great and all, but at the end of the day, I just want my data! Let's take a light-hearted approach on reading these diagrams and make sense of this whole reactive programming thing. After all, guli is supposed to be fun, right?

Wendy Kong

November 30, 2019
Tweet

More Decks by Wendy Kong

Other Decks in Programming

Transcript

  1. 1) What is Reactive Programming 2) How to implement Reactive

    Programming 3) How marble diagrams can assist you
  2. (Reactive systems) are responsive, resilient, elastic and message-driven. - Reactive

    Manifesto (2014) Source: https://www.reactivemanifesto.org/
  3. Reactive programming with RxJava has enabled Netflix developers to leverage

    server-side concurrency without the typical thread-safety and synchronization concerns. Source: Reactive Programming in the Netflix API with RxJava Netflix: “ ”
  4. - Concurrency - Non-blocking I/O - Caching - No need

    to change client code Source: Reactive Programming in the Netflix API with RxJava Netflix Service layer, after going reactive:
  5. Source: http://reactivex.io/intro.html Live Coding with RxJS - Create an observable

    - An observer subscribes to it - Observer does stuff - Observer stops subscribing
  6. Thank you! @wendko References • learnrxjs.io/ • reactivex.io • rxmarbles.com

    • kgoralski.gitbook.io/wiki/reactive • en.wikipedia.org/wiki/Observer_pattern • Reactive Programming in Netflix (link) • Reactive Programming origins and ecosystem (link) • The introduction to Reactive Programming you've been missing (link) • The Reactive Landscape (link)