Welcome to PGS
PERFORMANCE BENCHMARKING
How is my app performing and how does that compare with the past?
4
Slide 5
Slide 5 text
Welcome to PGS
LOAD TESTING
How does my app’s behavior change with a lot of users?
5
Slide 6
Slide 6 text
Welcome to PGS
STRESS TESTING
What happens when my app gets swamped?
6
Slide 7
Slide 7 text
Welcome to PGS
LOAD TESTING - WHY?
7
Slide 8
Slide 8 text
Welcome to PGS
▪ Improve site speed and server performance
▪ Knowing the limits and bottlenecks
WHY?
8
Slide 9
Slide 9 text
Welcome to PGS
LOAD TESTING - WHERE?
9
Slide 10
Slide 10 text
Welcome to PGS 10
Source: https://memegenerator.net/instance/22605665
Slide 11
Slide 11 text
Welcome to PGS 11
Source: https://memegenerator.net/instance/63826237
Slide 12
Slide 12 text
Welcome to PGS
LOAD TESTING - HOW?
12
Slide 13
Slide 13 text
Welcome to PGS
APACHE BENCH
https://httpd.apache.org/docs/2.2/programs/ab.html
13
Slide 14
Slide 14 text
ab -n 10 -c 3 http://www.pgs-soft.com/
Slide 15
Slide 15 text
POST request
Slide 16
Slide 16 text
Cookie
Slide 17
Slide 17 text
Welcome to PGS
API BOMB
https://github.com/vasilakisfil/api_bomb
17
Slide 18
Slide 18 text
Welcome to PGS
▪ Written in Ruby
▪ Multiple configuration options
▪ Dynamic parameters
▪ Still in development
API BOMB
18
Slide 19
Slide 19 text
Global settings
Slide 20
Slide 20 text
Single and multiple request
Slide 21
Slide 21 text
Output
Slide 22
Slide 22 text
Dynamic endpoints
Slide 23
Slide 23 text
Dynamic probability
Slide 24
Slide 24 text
Welcome to PGS
▪ Load testing is required to check performance and find bottlenecks
▪ ApacheBench is simple and powerful
▪ ApiBomb for Rubyists ;)
Summary
24