Performance Testing for Modern Apps
summary
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
chapters (25)
- 0:00Intro
- 0:17Performance Testing Modern Apps
- 0:57Why does performance matter?
- 1:40Performance directly impacts the bottom line
- 3:29Treat performance as a feature!
- 3:39Understand your baseline performance
- 4:38Apache Bench
- 9:08Benchmark traffic across all unique urls with siege
- 10:00Multi-Mechanize is an open source framework for performance and load testing
- 10:24pip install multi-mechanize
- 13:09multimech-run demo
- 14:19A utility for arming (creating) many bees (micro EC2 instances) to attack (load test) targets (web applications)
- 14:52pip install beeswithmachineguns
- 16:18bees report
- 19:13bees down
- 23:00What about the client side?
- 25:39npm install psi
- 26:51gem install wbench
- 28:16Use Bower (for dependencies), Grunt/Gulp (for automation), and Yeoman (for bootstrapping)
- 29:21Track performance in development and production
- 29:45Instrument everything = code, databases, caches, queues, third party services, and infrastructure.
- 31:08Track performance of end users
- 36:19Load testing services from the cloud
- 41:11Integrate automated performance testing into continuous integration for server-side and client-side
- 41:23Monitor end user experience from end to end in production
related talks
18mWebsite performance from user perspective
33mPerformance Testing in Agile and DevOps
26mLoad testing websites following the steps of a user journey
41mMartijn Goossens: Become a Performance Test Master - the Non-Technical Side of Things
26mIntroduction to Load Testing
20mReal metrics for front-end performance
35mWeb Application Performance Testing from Users Perspective
30mBeat the rush! Designing effective load tests for your web application
