Top Banner
Performance is a Feature!
33
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Performance is a feature! - Developer South Coast - part 1

Performance is a Feature!

Page 2: Performance is a feature! - Developer South Coast - part 1

Performance is a Feature!

Matt Warrenca.com/apm

www.mattwarren.org@matthewwarren

Page 3: Performance is a feature! - Developer South Coast - part 1
Page 4: Performance is a feature! - Developer South Coast - part 1

Why does performance matter?

What do we need to measure?

How we can fix the issues?

Page 5: Performance is a feature! - Developer South Coast - part 1

Why?

Save moneySave powerBad perf == brokenLost customers

Half a second delay caused a 20% drop in traffic (Google)

Internal L.O.B apps

Page 6: Performance is a feature! - Developer South Coast - part 1

Why?

“The most amazing achievement of the computer software industry is its continuing cancellation of the steady and staggering gains made by the computer hardware industry.”

- Henry Peteroski

Page 7: Performance is a feature! - Developer South Coast - part 1

Why?

Premature optimization is the root of all evil v.

Backing yourself into a corner

Page 8: Performance is a feature! - Developer South Coast - part 1

“We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%.“

- Donald Knuth

Page 9: Performance is a feature! - Developer South Coast - part 1

Never give up your performance accidentally

Rico Mariani, Performance Architect @ Microsoft

Page 10: Performance is a feature! - Developer South Coast - part 1

What?

Averages are bad

Page 11: Performance is a feature! - Developer South Coast - part 1
Page 12: Performance is a feature! - Developer South Coast - part 1

"most people have more than the average number of legs"

- Hans Rosling

Page 13: Performance is a feature! - Developer South Coast - part 1
Page 14: Performance is a feature! - Developer South Coast - part 1
Page 15: Performance is a feature! - Developer South Coast - part 1
Page 16: Performance is a feature! - Developer South Coast - part 1

Based on an original idea by Gil Tene from “How NOT to Measure Latency”

Page 17: Performance is a feature! - Developer South Coast - part 1
Page 18: Performance is a feature! - Developer South Coast - part 1
Page 19: Performance is a feature! - Developer South Coast - part 1
Page 20: Performance is a feature! - Developer South Coast - part 1
Page 21: Performance is a feature! - Developer South Coast - part 1
Page 22: Performance is a feature! - Developer South Coast - part 1
Page 23: Performance is a feature! - Developer South Coast - part 1
Page 24: Performance is a feature! - Developer South Coast - part 1
Page 25: Performance is a feature! - Developer South Coast - part 1
Page 26: Performance is a feature! - Developer South Coast - part 1
Page 27: Performance is a feature! - Developer South Coast - part 1
Page 28: Performance is a feature! - Developer South Coast - part 1
Page 29: Performance is a feature! - Developer South Coast - part 1
Page 30: Performance is a feature! - Developer South Coast - part 1
Page 31: Performance is a feature! - Developer South Coast - part 1

What?

Only part of the story

Page 32: Performance is a feature! - Developer South Coast - part 1

When?

In production

You won't see ANY perf issues during unit tests

You won't see ALL perf issues in Development

Page 33: Performance is a feature! - Developer South Coast - part 1

Questions?

@matthewwarren

www.mattwarren.org