Extreme Makeover: Rubygems Edition
summary
Accidental DDOS raised rubygems.org load by 15–20×, prompting a rebuilt Bundler dependency API as a Sinatra app on Heroku (many dynos + large Postgres) and later a full rubygems.org rebuild on EC2 with multi-server automation after a YAML-based compromise. New work replaces Marshal blobs with a plain-text append-only index (versions file + per-gem depths), prototypes in Bundler already work, and serving via Fastly CDN mirrors plus local gem mirrors and parallel installs reduces requests and transfer dramatically. Ruby Central funds the effort.
AI-written summary · about
chapters (13)
- 0:00Introduction and speaker intro
- 2:21DDOS attack on rubygems.org
- 3:46RubyGems.org security breach
- 5:51Travis CI network issues
- 7:59SSL certificate problems
- 10:28Current state and future plans
- 14:26Problems with current gem index
- 18:00New index format for speed
- 21:12Ruby Central grant and progress
- 26:11Bundler improvements and features
- 29:44New resolver in Bundler
- 31:08Future merger of Bundler and RubyGems
- 32:15How to contribute to Bundler
related talks
01mExtreme Makeover - Rubygems Edition
25mRebuilding the heart of the Ruby community in 60 hours
37mDeathmatch Bundler vs Rubygems.org
35mState of the RubyGems
45m`bundle install` Y U SO SLOW: Server Edition
37m`bundle install` Y U SO SLOW: Server Edition
29mFaster Bundler, Happier Developers
48mPolishing Rubygems
