~/talk

Your own 'Images as a Service'

Talkat RubyConf 2015 · 2015-11-15..11-17· [web-performance]
slides:none on file

Pages average over 2MB and images dominate that growth, so a tiny service that resizes on demand can cut bytes dramatically: a Sinatra app using Dragonfly and ImageMagick on Heroku fetching originals from S3 and serving via CDN, written as 100 lines of code, produces responsive srcset/picture images and can save ~85% over naïve resizes. Benchmarks (ab -n1000 -c20) show transforms cost ~2–2.5× time but give much smaller transfers; very large originals (6MB) can overload simple instances, so aggressive CDN caching is required.

AI-written summary · about

  1. 0:00Intro
  2. 1:13Images are service
  3. 3:29History Animation
  4. 5:17The Future
  5. 14:08Image Sizes
  6. 19:16Performance
  7. 26:11Alternatives
~/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.