~/talk

Processing data at scale with Rails

Talkat RailsConf 2021 · 2021-04-12..04-15· [ruby-on-rails, databases]
links:none on file
slides:none on file

Builds a real Rails pipeline that ingests ~1M lobbying records by scraping zipped XMLs, unzipping to S3, fanning out jobs so each Sidekiq worker handles a single filing, and loading parsed fields into Postgres with ActiveRecord. Uses Nokogiri, HTTParty, rubyzip, the AWS SDK and Redis for last-modified caching, normalizes company names to avoid duplicates, and relies on a Postgres unique index plus Sidekiq horizontal scaling so most records load successfully while a handful fail for manual inspection.

AI-written summary · about

  1. 0:00Intro
  2. 0:38Data pipeline use cases
  3. 2:25Open data is empowering to developers
  4. 3:28Data pipelines and ETL's
  5. 6:49Chipotle and DLA Piper in Lobby Focus
  6. 13:34Download and unzip
  7. 17:33Fanning out
  8. 22:16Write filing to database
  9. 24:16Idempotent pipelines
  10. 25:50Normalizing data
  11. 27:26Stuff changes
  12. 28:55Scaling
  13. 30:48Data pipeline options
  14. 32:12Data pipeline opportunities
~/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.