~/talk

50.000 processed records per second: a CRuby & JRuby story

Talkat RubyKaigi 2025 · 2025-04-16..04-18· [ruby, java]
slides:none on file

An ETL microservice runs on JRuby to leverage JRuby + Elasticsearch Java client and Java language detection, processing peaks of 50,000 records/sec, typical peaks ~15,000 and steady ~7,000, executing ~600 million DB queries/day across shards. Pain points include YAML incompatibility (syck vs psych) requiring a transformer, mixed Ruby/Java code and thread-safety bugs in libraries. The JRuby route works at scale but forces extra tooling, JVM debugging and careful library choices.

AI-written summary · about

  1. 0:00Introduction and speaker
  2. 1:51Ruby’s golden age
  3. 7:35The GVL and multi-threading
  4. 10:52Why choose JRuby
  5. 12:22ETL service in production
  6. 13:49Coding style and Java mix
  7. 15:15Sik and Psych YAML parsers
  8. 17:03Thread safety challenges
  9. 18:48Microservices and monoliths
  10. 21:58Modern Ruby performance
  11. 23:22Ruby’s scalability today
  12. 24:50Choosing the right tool
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.