~/talk

Asynchronous and Non-Blocking IO with JRuby

Talkat RubyKaigi 2017 · 2017-09-18..09-20· [ruby, nodejs]
slides:none on file

Claims JRuby can run true asynchronous non-blocking IO on the JVM using Ratpack on Netty and cut server footprint while increasing throughput; Apple runs 400,000 Netty instances (2015) handling tens of millions req/s and tens of petabytes/day. Demonstrations include a synthetic eBay search app that contrasts blocking, async-serial, and async + parallel promises with measurable latency drops, and a Books app that merges a local DB and ISBNdb using RxJava observables plus Hystrix for caching/fault tolerance. Examples run as JRuby apps, are on GitHub and deployable to Heroku, but require more code and careful concurrency handling.

AI-written summary · about

  1. 0:00Intro
  2. 0:38Overview
  3. 7:34Example Application
  4. 9:52Asynchronous Application
  5. 14:04Demo
  6. 19:13Books Example
  7. 20:38Tools
  8. 21:41Observables
  9. 22:42Sample Application
  10. 29:51Other Methods
  11. 32:11Drawbacks
~/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.