~/talk

`bundle install` Y U SO SLOW: Server Edition

Talkat Ruby on Ales 2013 · 2013-03-07..03-08· [ruby-on-rails, ruby]
slides:none on file

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

  1. 0:00Start
  2. 26:396 dynos (unicorn) 1 Ronin Database (master) 1 lka Database (follower)
  3. 31:44community usage metrics integrating with rubygems data
  4. 37:47MRI 1.9.3, 6 dynos, thin JRuby 1.7.2 (1.9.3 mode), 1 dyno, trinidad
~/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.