~/talk

Testing Rails at Scale

Talkat RailsConf 2016 · 2016-05-04..05-06· [devops-and-delivery, testing]
slides:none on file

Shopify replaces a slow hosted CI with a Buildkite scheduler and self-managed compute on AWS, using autoscaled EC2, spot/reserved instances, and a custom allocator called Scrooge, plus Locutus for container builds. The result builds Shopify in under 5 minutes, runs 700 builds a day against ~42,000 tests each, and distributes work across 30,000 docker containers while swallowing docker failures, deduplicating test runs via Redis, and treating machines as cattle not pets to keep costs steady.

AI-written summary · about

  1. 0:00Intro
  2. 0:55Scheduler
  3. 2:59Beginning of a Journey
  4. 4:28Instances
  5. 5:33Optimizing Cost
  6. 7:12Docker
  7. 7:57Building Containers with Locutus
  8. 8:51Test Distribution Tests allocated based on container index
  9. 9:31Artifacts
  10. 10:32Battling Confusion
  11. 11:08Clustering Locutus
  12. 12:19Test Distribution v2
  13. 13:35Handling Infrastructure Failures
  14. 14:38Treating Servers as Cattle
  15. 15:26Test Distribution v3
  16. 16:21Don't build your own CI
  17. 17:16Lessons Learned
~/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.