bundle install Y U SO SLOW: Server Edition
summary
Explains the concrete fixes and measurements that speed bundler installs: extraction of a Dependency API into a separate Bundler API on Heroku, switching marshalling traffic format, building a Sinatra service with a local Postgres cache and a polling sync that becomes a consumer thread pool to process jobs so that sync time cut from 16 to 2–3 mins. Adds webhooks to reduce lag, runs six dynos, uses Librato and PagerDuty for monitoring, and prototypes a replay service to compare MRI vs JRuby under real production traffic.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 4:43Why bundler install is slow
- 12:41Bundler 1.11 API integration
- 16:32RubyGems.org infrastructure
- 19:24Extracting bundler API
- 23:01Building bundler API service
- 27:40Web hooks and synchronization improvements
- 31:16Monitoring bundler API
- 34:28Community metrics and plans
- 37:42Open source opportunities
- 41:47Bundler API replay
related talks
37m`bundle install` Y U SO SLOW: Server Edition
37mDeathmatch Bundler vs Rubygems.org
46mHeroku 2014: A Year in Review
48mPolishing Rubygems
54mBuilding and Managing a Ruby Infrastructure
35mChanging the wheels on the bus at 80 mph: Upgrading to Rails 3
32mLightning Fast Deployment of Your Rails-backed JavaScript app
31mFacepalm to Foolproof: Avoiding Common Production Pitfalls
