continuous performance testing

34
Continuous Performance Testing Mairbek Khadikov

Upload: mairbek-khadikov

Post on 25-Jun-2015

1.339 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Continuous Performance Testing

Continuous Performance Testing

Mairbek Khadikov

Page 2: Continuous Performance Testing

Story #1

Performance, we are

losing it

Page 3: Continuous Performance Testing

Story #1

DeliveryManager

New version goes live soon

Let's check performance

Page 4: Continuous Performance Testing

Story #1

Performance Tester

Performance degraded

=

Page 5: Continuous Performance Testing

Story #1

Developer

Let's profile our app

Page 6: Continuous Performance Testing

Story #1

Performance Tester

Performance increased on 10%

But it's still worse than the previous release

Page 7: Continuous Performance Testing

Story #1

DeliveryManager

We can't wait much longer

CPU utilization is 50%

Page 8: Continuous Performance Testing

Story #1

Alert is rased

too late

Page 9: Continuous Performance Testing

Story #2

It's all tested, but...

Page 10: Continuous Performance Testing

Story #2

Operations

We deployed new release

It passed all smoke tests

Works incorrect with load balancer

Page 11: Continuous Performance Testing

Story #2

QA

We tested all this features

Page 12: Continuous Performance Testing

Story #2

PerformanceTester

System has acceptable throughput

Page 13: Continuous Performance Testing

Story #2

Developer

Doh, one singleton unit is not thread safe

Page 14: Continuous Performance Testing

Story #2

Performance test

does not check that system works

correctly

Page 15: Continuous Performance Testing

Story #3

Forgotten branches

Page 16: Continuous Performance Testing

Story #3

PerformanceTester

Performance degraded in the last release candidate

Page 17: Continuous Performance Testing

Story #3

Developer

What branch exactly impacted performance?

Page 18: Continuous Performance Testing

Story #3

PerformanceTester

I've never heard about the half of this branches

Page 19: Continuous Performance Testing

Story #3

Large projects need a comprehensive

performance testing process

Page 20: Continuous Performance Testing

Story #4

Did you test that?

Page 21: Continuous Performance Testing

Story #4

VP of Engineering

Production system failed this morning

Page 22: Continuous Performance Testing

Story #4

Developer

Two nodes were restarted

simultaneously

Page 23: Continuous Performance Testing

Story #4

Operations

Those nodes consumed to much memory

Page 24: Continuous Performance Testing

Story #4

QA Lead

This is a complex scenario we can't do it continuously

Page 25: Continuous Performance Testing

Story #4

Simulation of

maintenance operations and failures was not a

part of testing

Page 26: Continuous Performance Testing

Performance Testing

Revised

Page 27: Continuous Performance Testing

Performance Testing

Automatically test builds

Continuous

Page 28: Continuous Performance Testing

Performance Testing

Rise alert flag in case of performance degradation

Continuous

Page 29: Continuous Performance Testing

Performance Testing

Store all testing results

Traceable

Page 30: Continuous Performance Testing

Performance Testing

Guaranty that system works correctly under workload

Validated

Page 31: Continuous Performance Testing

Performance Testing

Result should include monitoring and profiling information

Transparent

Page 32: Continuous Performance Testing

Performance Testing

Modules should be tested in isolation where possible

Transparent

Page 33: Continuous Performance Testing

Performance Testing

Simulate potential maintenance

operations and failure

Pessimistic

Page 34: Continuous Performance Testing

Thank you

@mairbek

[email protected]

mairbek.github.com