`bundle install` Y U SO SLOW: Server Edition
summary
A concrete post‑mortem: on October 17, 2012 rubygems.org disables the Dependency API after it soaks the site with traffic and CPU; Bundler 1.1+ had relied on that endpoint to avoid fetching the full specs index. The fix is a separate bundle API service that serves marshalled dependency responses from a read replica of rubygems Postgres, uses webhook‑driven sync and a worker queue to stay current, and instruments with Librato/Papertrail/PagerDuty; result: client installs that once spent ~18s fetching an index now drop to about 3s in typical cases.
AI-written summary · about
chapters (4)
- 0:00Start
- 26:396 dynos (unicorn) 1 Ronin Database (master) 1 lka Database (follower)
- 31:44community usage metrics integrating with rubygems data
- 37:47MRI 1.9.3, 6 dynos, thin JRuby 1.7.2 (1.9.3 mode), 1 dyno, trinidad








