Lightning Fast Deployment of Your Rails-backed JavaScript app
summary
Claims deployment time drops from more than five minutes to under fifteen seconds with zero downtime by separating static assets from Rails, uploading fingerprinted JS/CSS to S3 + CloudFront, storing the boot HTML in Redis and serving it via a lightweight controller, using manifest-diff uploads and Rake tasks for differential S3 deploys and deploy JavaScript in <15 seconds. Adds preview-by-manifest-id, injects per-user JSON into the HTML, and enables branch A/B tests (redesign gave ~9% lift).
AI-written summary · about
chapters (9)
- 0:00Start
- 6:44Initial request
- 9:03When traffic starts routing to the new app
- 12:37Sketching out the idea, il
- 15:42Refining the approach
- 20:28Preview sample deployment session
- 24:17Dynamic HTML Rewriting: Controller Example
- 27:32A/B Testing: Controller Example 1
- 29:22A/B Testing: Controller Example 2
related talks
33mSpeeding Up Your Front-End: 2016 Version
05mLighting Thoughts on Lighting Deploy
39mZero downtime deploys for Rails apps
36mContinuous Deployment with Rails
40mDeploying any Rails application to any cloud in minutes
34mGuide to Continuous Deployment with Rails
35mTen Years of Rails Deployment
45mLarge-Scaled Deploy Over 100 Servers in 3 Minutes
