~/talk

Performance Testing for Modern Apps

Talkat DjangoCon US 2015 · 2015-09-06..09-11· [web-performance, devops-and-delivery]
slides:none on file

Shows concrete numbers and runnable tools: baseline tests using ApacheBench and Siege hit about 65 requests/sec at ~150ms, distributed tests with Bees with Machine Guns scale to ~306 rps at 163ms and up to 502 requests/sec with latency rising to ~360ms, scripted user-flows with Multi-Mechanize and Locust.io (the latter includes a web UI and distributed runners), client-side metrics via Google PageSpeed, WebPageTest and SiteSpeed.io, and failure drills like Chaos Monkey to see what actually breaks.

AI-written summary · about

  1. 0:00Intro
  2. 0:17Performance Testing Modern Apps
  3. 0:57Why does performance matter?
  4. 1:40Performance directly impacts the bottom line
  5. 3:29Treat performance as a feature!
  6. 3:39Understand your baseline performance
  7. 4:38Apache Bench
  8. 9:08Benchmark traffic across all unique urls with siege
  9. 10:00Multi-Mechanize is an open source framework for performance and load testing
  10. 10:24pip install multi-mechanize
  11. 13:09multimech-run demo
  12. 14:19A utility for arming (creating) many bees (micro EC2 instances) to attack (load test) targets (web applications)
  13. 14:52pip install beeswithmachineguns
  14. 16:18bees report
  15. 19:13bees down
  16. 23:00What about the client side?
  17. 25:39npm install psi
  18. 26:51gem install wbench
  19. 28:16Use Bower (for dependencies), Grunt/Gulp (for automation), and Yeoman (for bootstrapping)
  20. 29:21Track performance in development and production
  21. 29:45Instrument everything = code, databases, caches, queues, third party services, and infrastructure.
  22. 31:08Track performance of end users
  23. 36:19Load testing services from the cloud
  24. 41:11Integrate automated performance testing into continuous integration for server-side and client-side
  25. 41:23Monitor end user experience from end to end in production
~/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.