Processing data at scale with Rails
summary
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
chapters (14)
- 0:00Intro
- 0:38Data pipeline use cases
- 2:25Open data is empowering to developers
- 3:28Data pipelines and ETL's
- 6:49Chipotle and DLA Piper in Lobby Focus
- 13:34Download and unzip
- 17:33Fanning out
- 22:16Write filing to database
- 24:16Idempotent pipelines
- 25:50Normalizing data
- 27:26Stuff changes
- 28:55Scaling
- 30:48Data pipeline options
- 32:12Data pipeline opportunities








