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

Reactive programming and Hystrix fault tolerance

Reactive programming and Hystrix fault tolerance

Reactive programming is a new paradigm that provides asynchronous event-based flow control. Java implementation is called rxJava and is being developed by Netfix. They have also released Hystrix - a non-functional layer that provides fault tolerance and latency features which also exposes reactive API.
At first, this talk will make you familiar with Reactive programming and introduce you to Hystrix. Then we will combine the two in effort of making a type-safe resilient Java API for REST services.

Max Myslyvtsev

September 25, 2015
Tweet

More Decks by Max Myslyvtsev

Other Decks in Programming

Transcript

  1. Temperature Cold • Lazy • Does not emit until subscribed

    • Whole sequence Hot • Eager • Emits regardless of subscriptions • Partial sequence 26
  2. Command Hystrix Fragile Operation API Observable Future Sync Execute Remote

    Service Metrics Dashboard Configuration Fallback 29
  3. How we use it 30 Server REST Resources Client Maven

    Plugin Generated Client Hystrix generate during build REST API RX API same API