~/talk

`bundle install` Y U SO SLOW: Server Edition

Talkat Rubyfuza 2013 · 2013-02-01..02-03· [ruby, devops-and-delivery]
slides:none on file

Explains extracting the dependency endpoint into a separate Sinatra service and running the Bundler API on Heroku that serves marshalled dependency payloads from a local Postgres cache built from rubygems tables; replaces the slow specs. Sync moves from a 16-minute run to 2–3 minutes after switching the sequential updater to a consumer thread pool and adding webhook support; initial polling used the 1.2MB modern index and consumed ~380% CPU on the original box. Prototypes a replay service using Heroku HTTP log drains to replay production traffic and compare MRI vs JRuby (95th‑percentile latency spikes observed).

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 3:57Why bundler exists and its slowness
  3. 9:59Bundler API speed improvements
  4. 12:03RubyGems.org downtime analysis
  5. 14:36Extracting API into separate service
  6. 17:44Syncing code and caching metadata
  7. 21:15Polling and webhooks updates
  8. 25:16Bundler API replay project
  9. 33:26Q&A on gem signing and performance
~/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.