Taming the Dragon: Conquering non blocking code with RxJava

Taming the Dragon: Conquering non blocking code with RxJava

Non blocking communication can boost the performance and stability of your system enormously. The thing is, non blocking communication in classic, imperative code can quickly turn into a unmaintainable swamp of threads and callbacks.

Reactive Functional programming promises to make that more palatable, but introducing a totally new framework can be very invasive and may only be feasible for green field projects.

Is there a way around that? Rx ‘Reactive eXtensions’ was initially developed by Microsoft and subsequently ported to many JVM languages by Netflix. RxJava and it’s brethren like RxScala and RxClojure are regular libraries and do not require a new framework or methodology to be introduced all across the board.

We’ll look into some examples where we can add some non-blocking, reactive goodness without needing to trash our existing code.

back to top