+ All Categories
Home > Technology > Performance test - YaJUG Octobre 2012

Performance test - YaJUG Octobre 2012

Date post: 04-Jun-2015
Category:
Upload: claude-falguiere
View: 2,523 times
Download: 0 times
Share this document with a friend
Description:
talk at the YaJUG - 31 Octobre 2012
Popular Tags:
43
YAJUG - Octobre 2012 Claude Falguière @cfalguiere goo.gl/4mmJQ DES TESTS DE PERFORMANCES ... MAIS POURQUOI ? DES TESTS DE PERFORMANCES ... MAIS POURQUOI ? mercredi 7 novembre 12
Transcript
Page 1: Performance test - YaJUG Octobre 2012

YAJUG - Octobre 2012Claude Falguière @cfalguiere goo.gl/4mmJQ

DES TESTS DE PERFORMANCES ...MAIS POURQUOI ?

DES TESTS DE PERFORMANCES ...MAIS POURQUOI ?

mercredi 7 novembre 12

Page 3: Performance test - YaJUG Octobre 2012

performance

how to persuade your boss

design relevant tests

be aware of bias

prepare for the go live

mercredi 7 novembre 12

Page 4: Performance test - YaJUG Octobre 2012

marathon

Performance ?

sprintou

mercredi 7 novembre 12

Page 5: Performance test - YaJUG Octobre 2012

speedcapacity

volumeor

or

mercredi 7 novembre 12

Page 6: Performance test - YaJUG Octobre 2012

and availability

mercredi 7 novembre 12

Page 7: Performance test - YaJUG Octobre 2012

and efficiency

mercredi 7 novembre 12

Page 8: Performance test - YaJUG Octobre 2012

2 s 6 s 8 sattente constaté

distance between happy and unhappy

It can be measured ...

mercredi 7 novembre 12

Page 9: Performance test - YaJUG Octobre 2012

assumed complexity

rendering order

performance stability

... and it depends on users

mercredi 7 novembre 12

Page 10: Performance test - YaJUG Octobre 2012

We use the most performing frameworks !

Let’s upgrade the CPU

Let’s go to the Cloud

1

2

3

mercredi 7 novembre 12

Page 11: Performance test - YaJUG Octobre 2012

Performance enhancement

costsrevenues

Faster

Amazon :+100 ms -1% sales

Google : +500 ms –20% pages seen

mercredi 7 novembre 12

Page 12: Performance test - YaJUG Octobre 2012

Less calls to the call centerLess customers in the office

savings

Performanceenhancement

costs

mercredi 7 novembre 12

Page 13: Performance test - YaJUG Octobre 2012

savings

Less resources

Performance enhancement

costs

mercredi 7 novembre 12

Page 14: Performance test - YaJUG Octobre 2012

Performance enhancement

temps

costs

revenues

More turnover

Less costs

mercredi 7 novembre 12

Page 15: Performance test - YaJUG Octobre 2012

An endless struggle

mercredi 7 novembre 12

Page 16: Performance test - YaJUG Octobre 2012

Individual Group Crowd

Behavior under stress

mercredi 7 novembre 12

Page 17: Performance test - YaJUG Octobre 2012

Crowd

«unit» Test

breakdown

Individual Group

Slowness

Iterations

Volume

Wait and timeouts

mercredi 7 novembre 12

Page 18: Performance test - YaJUG Octobre 2012

YSlow Page Speed

HTTP Proxy

mercredi 7 novembre 12

Page 19: Performance test - YaJUG Octobre 2012

mercredi 7 novembre 12

Page 20: Performance test - YaJUG Octobre 2012

Crowd

mimic a few concurrent users

Individual Grouprace conditioncontentionlive/dead locks

mercredi 7 novembre 12

Page 21: Performance test - YaJUG Octobre 2012

Foule

Load test Peak stress test

Individu GroupeCapacity bounds

Overloading Leaks

Aging test Failure simulation

iso-prod

mercredi 7 novembre 12

Page 22: Performance test - YaJUG Octobre 2012

Sizing according to the capacity

mercredi 7 novembre 12

Page 23: Performance test - YaJUG Octobre 2012

REQ-1234 : High performance is required

mercredi 7 novembre 12

Page 24: Performance test - YaJUG Octobre 2012

Who ?

What ?

Where ?

When ?

How ?

Why ?

mercredi 7 novembre 12

Page 25: Performance test - YaJUG Octobre 2012

Essential

Frequent

High-Risk

FrequentFrequent

FrequentWhat are they doing ?

mercredi 7 novembre 12

Page 26: Performance test - YaJUG Octobre 2012

mercredi 7 novembre 12

Page 27: Performance test - YaJUG Octobre 2012

mercredi 7 novembre 12

Page 28: Performance test - YaJUG Octobre 2012

REQ-5678 : Landpage should show up in less than 600 ms

mercredi 7 novembre 12

Page 29: Performance test - YaJUG Octobre 2012

Time Serie

and distribution

mercredi 7 novembre 12

Page 30: Performance test - YaJUG Octobre 2012

Moyenne 1,2s 90% des relevés sont < 3,5s

Unaware of

StrikingRare

Quantile 90% = 3,5s

mercredi 7 novembre 12

Page 31: Performance test - YaJUG Octobre 2012

Some bad response time

Unstable response time

Bimodal !? ...

mercredi 7 novembre 12

Page 32: Performance test - YaJUG Octobre 2012

Goals and drivers

Indicators

Scenarios

Volumes

Datasets

Types of test and duration

Target platform

mercredi 7 novembre 12

Page 33: Performance test - YaJUG Octobre 2012

Garbage in - Garbage outrepresentativeness

mercredi 7 novembre 12

Page 34: Performance test - YaJUG Octobre 2012

bias

mercredi 7 novembre 12

Page 35: Performance test - YaJUG Octobre 2012

Find biases to improve the result

Find biases to degrade the result

mercredi 7 novembre 12

Page 36: Performance test - YaJUG Octobre 2012

volumesscenario, data, search phrases

cachestest duration and rate

ignore errorsignore uncommon use cases

SimplifyArrange

mercredi 7 novembre 12

Page 37: Performance test - YaJUG Octobre 2012

Which show better results ?

A B

mercredi 7 novembre 12

Page 38: Performance test - YaJUG Octobre 2012

Which shows more errors ?

A B

mercredi 7 novembre 12

Page 39: Performance test - YaJUG Octobre 2012

Iso-prod not required

algorithmscontentionsrobustnessscalability

agingfailure simulation

Anticipate

Iso-prod

load test (capacity)response time

reliability on load

mercredi 7 novembre 12

Page 40: Performance test - YaJUG Octobre 2012

Design for failure

mercredi 7 novembre 12

Page 41: Performance test - YaJUG Octobre 2012

Test to learn

mercredi 7 novembre 12

Page 42: Performance test - YaJUG Octobre 2012

Prepare monitoring

mercredi 7 novembre 12

Page 43: Performance test - YaJUG Octobre 2012

Claude Falguiè[email protected]/4mmJQ

Thank you

"Reality is merely an illusion, albeit a very persistent one. "- Albert Einstein

mercredi 7 novembre 12


Recommended