~/talk

Applying Reactive Programming to Existing Applications

slides:none on file

Shows how to retrofit RxJava observables as an async facade over a blocking Java codebase, wrapping JDBC and HTTP calls with create/defer/from and scheduling them on a subscribeOn/io scheduler so results stream instead of returning lists, adding Reactive Streams backpressure and TestSubscriber/TestScheduler-based tests. Uses Hystrix for isolation, bulkheading and automatic request collapsing, reduces cross-service calls and end-to-end latency in production but creates thread-count tuning, mixed-sync pitfalls and harder step‑through debugging to manage.

AI-written summary · about

  1. 0:00Start
  2. 10:03IPC via Apache HTTP Memcached Cassandra
  3. 10:40Many things could not realistically change
  4. 43:59easy to block async code
  5. 46:03green threads, native threads, fibers, actors, event loops, theoretically equivalent, OS kernels, etc, etc, etc...
  6. 52:22Event loop architecture ⚫ reduced thread migrations ⚫ cache warmth → memory locality → instructions per cycle → lower cpu consumption per request
  7. 53:15With current JVM and Linux, event loops have efficiency benefits.
  8. 53:31Simpler But Not Easier
  9. 56:36Concurrency via Async Service Composition
  10. 58:22Leverage RxJava Schedulers and Threads
~/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.