tech talks annual 2015 izzet mustafayev_performance testing - the way to make a true load for your...
TRANSCRIPT
PerformanceTesting
for web-scale
● SA at EPAM Systems
● primary skill is Java
● hands-on-coding with Groovy, Ruby
● exploring FP with Erlang/Elixir
● passionate about agile, clean code and devops
Agenda● Why?● What?● How to..?● Tools● Demo● Summary● References● Q&A
Why... should I Care?..
http://positionly.com/blog/seo/mobile-search-position-boost
$1.6B~10 * $150M
What...is Performance
Testing?
Performance testingis in general testing performed
to determine how a system performs in terms of responsiveness
and stabilityunder a particular workload.
What...are Key
Characteristics?
Availability
Concurrency
Response Time
Throughput
How…to Decide when to
Test?
Readiness
Enough Data
Enough Time
Continuously
How…to Choose what to
Test?
System Load
Test Duration (mins)
Normal Operation
Max Designed Operation Capacity
Stress Test
Soak Test
Peak Load Test
Spike Test
Types
Consensus
Scenarios
How…to Execute Test?
Data Volume
Network
Monitoring
Above Limits
Tool Impact
How…to Collect Results?
Measures
Distributed Log
Tools
Many..
- Iago http://twitter.github.io/iago/index.html
- Tsung https://www.process-one.net/en/tsung/
- Locust http://locust.io/
- Zopkio https://github.com/linkedin/Zopkio
Gatling http://gatling.io/
- load testing framework based on Scala, Akka and Netty
- provides DSL along with UI for recording
- beautiful reports with right measurements
- easy for distributed load
- real-time monitoring
Demotime
Takeaways- Do performance testing continuously
- Do performance testing with right amount of data
- Monitor application during performance tests run
- User right measurements (percentiles)
- Choose right tool to load with less impact
- Automate deployment and testing processes
References- The Art of App Performance Testing http://goo.gl/CEgfSQ
- Performance Testing Crash Course https://goo.gl/jDDcP4
- InfluxDB https://influxdb.com/
- Grafana http://grafana.org/
- Docker Compose https://docs.docker.com/compose/
- Sources https://github.com/webdizz/web-scale-perf-testing
Q&A
http://epam.com/careers
Izzet Mustafayev@EPAM Systems@webdizz webdizz izzetmustafaievhttp://webdizz.name