~/talk

Ruby in the Billions

Talkat Friendly.rb 2024 · 2024-09-18..09-19· [ruby, ruby-on-rails]
links:none on file
slides:none on file

ClickFunnels moves a reindexing job that used to hit ElasticSearch for billions of rows into a Kafka pipeline written in Ruby so batch reads from Aurora MySQL publish JSON to Kafka and small Ruby consumers built with racecar and ruby-kafka push to multiple ES clusters in parallel while ActiveSupport instrumentation and New Relic track consumer lag Redis handles Redis throttling between stages and the process shrinks from 7 days to 20 hours saving IO cost and enabling replayable, real time sync.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 2:29Ruby for processing billions of records
  3. 4:36Problem with database synchronization
  4. 8:51Introducing Kafka for scaling
  5. 15:03Ruby gems for Kafka integration
  6. 16:51Elasticsearch cluster basics
  7. 17:34Designing the search kick parallel process
  8. 20:50Recap of the solution and benefits
  9. 21:14Challenges and testing in Ruby
  10. 24:06Instrumentation and monitoring
  11. 27:22Lessons learned and results
  12. 28:03Why Ruby remains the best choice
~/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.