~/talk

Rack based web apps with JRuby and TorqueBox

Talkat Rubyfuza 2013 · 2013-02-01..02-03· [ruby, java]
slides:none on file

JRuby runs on the JVM and delivers concrete speedups: Fibonacci 40: MRI ~53s, JRuby 10.4s. A Sinatra + Puma JSON-encode benchmark shows MRI ~25s, JRuby first 8.5s then warm <3s while using all CPU cores because JRuby uses native threads (no GIL). TorqueBox provides queues, topics, scheduled jobs, HornetQ, Infinispan and Quartz, STOMP-backed WebSockets, and background processors with on_message/on_error; deploy as a WAR or via Capistrano. Example: generate PDFs with the Flying Saucer + iText Java libraries.

AI-written summary · about

  1. 0:00Introduction and speaker
  2. 1:19What is JRuby
  3. 2:23JRuby performance benchmarks
  4. 7:21Threads vs processes in JRuby
  5. 8:27Using Java libraries in Ruby
  6. 10:53JRuby ecosystem benefits
  7. 11:58Rails app scaling challenges
  8. 12:20TorqueBox overview
  9. 14:32TorqueBox background jobs
  10. 17:45Topics and messaging
  11. 18:50WebSockets with TorqueBox
  12. 21:30Personal experience with JRuby
  13. 22:24Q&A: Multi-app TorqueBox
  14. 24:15Q&A: Deployment strategies
  15. 25:38Q&A: JRuby gem compatibility
  16. 27:34Q&A: Java integration
  17. 28:51Q&A: Performance comparison
~/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.