'

DevOps and Performance Why, How & Best Practices @grabnerandi http://apmblog.compuware.com

Понравилась презентация – покажи это...





Слайд 0

DevOps and Performance Why, How & Best Practices @grabnerandi http://apmblog.compuware.com


Слайд 1


Слайд 2

What you may have heard about Austrians


Слайд 3

And just very recently @ Euro Song Contest


Слайд 4

How we would like the world to see us ?


Слайд 5

What we are also proud of ?


Слайд 6

What you should check out …


Слайд 7

Tonight we are here for …


Слайд 8

Others Call It The stuff we did when we were a Start Up and we All were Devs, Testers and Ops


Слайд 9

Or – The Evolution of Software Engineering


Слайд 10

YOU ARE NOT ALONE: Popularity on Google


Слайд 11

Who is doing it? How many successful deployments can they do? 300 Deployments / Year 50-60 Deployments / Day 10+ Deployments / Day Every 11.6 seconds


Слайд 12

More on Amazons Story 75% fewer outages since 2006 90% fewer outage minutes ~0.001% of deployments cause a problem Instantaneous automatic rollback Deploying every 11.6s


Слайд 13


Слайд 14


Слайд 15


Слайд 16


Слайд 17

Testing is Important – and gives Confidence


Слайд 18

But are we ready for “The Real” world?


Слайд 19

Measure Performance during the game Ball Possession: 40 : 60 Fouls: 0 : 0 Score: 0 : 0 Minute 1 - 5


Слайд 20

Measure Performance during the game Minute 6 - 35 Ball Possession: 80 : 20 Fouls: 2 : 12 Score: 0 : 0


Слайд 21

Deep Dive Analysis


Слайд 22

Options “To Fix” the situation


Слайд 23

Not always a happy ending ? Minute 90 Ball Possession: 80 : 20 Fouls: 4 : 25 Score: 3 : 0


Слайд 24

FRUSTRATED FANS!! 25


Слайд 25

How does that relate to Software?


Слайд 26

From Deploy to … Deploy Timeline


Слайд 27

The “War Room” – back then 'Houston, we have a problem‘ NASA Mission Control Center, Apollo 13, 1970


Слайд 28

The “War Room” – NOW Facebook – December 2012


Слайд 29

3 Situations on WHY this happens, HOW to avoid it


Слайд 30

Image taken from https://www.scriptrock.com/blog/devops-whats-hype-about/


Слайд 31

#Disconnected Teams


Слайд 32

“Teamwork” between Dev and Ops SEV1 Problem in Production Need access to log files Where are they? Can’t get them Need to increase log level Can’t do! Can’t change config files in prod!


Слайд 33

“Solution”: Implement a Custom “On Demand” Remote Logger


Слайд 34

Implementation and Rollout Implemented Custom Logger Worked well in Load Testing


Слайд 35

What happened? ~ 1Mio Lock Exceptions in 30 mins


Слайд 36

Root Cause: A special WebSphere Setting!


Слайд 37

Metrics: # Log Messages, # Exceptions Share: Same Server Settings DevOps: Agree on Data for Troubleshooting


Слайд 38

12 000 000 $


Слайд 39

#No “Agile” Deployment


Слайд 40

Ad on air Availability dropped to 0% Load Spike resulted in Unavailability


Слайд 41

Alternative: “GoDaddy goes DevOps” Response time improved 4x 1h before SuperBowl KickOff 1h after Game ended


Слайд 42

Behind the Scenes


Слайд 43

Metrics: Availability Page Size, # Objects # Hosts, # Connections DevOps: “Feature” Switches


Слайд 44


Слайд 45

#Push without a Plan


Слайд 46

Mobile Landing Page of Super Bowl Ad 434 Resources in total on that page: 230 JPEGs, 75 PNGs, 50 GIFs, … Total size of ~ 20MB


Слайд 47

m.store.com redirects to www.store.com ALL CSS and JS files are redirected to the www domain This is a lot of time “wasted” especially on high latency mobile connections


Слайд 48

Critical Pages not Optimized! Browse, Search and Product Info performs well … because they don’t follow best practices: 87 Requests, 28 Redirects, … Critical Pages such as Shopping Cart are very slow …


Слайд 49

Metrics: Load Time, # Resources (Images, …), # HTTP 3xx, 4xx, 5xx Dev: Build for Mobile Test: Test on Mobile Ops: Monitor Mobile


Слайд 50


Слайд 51

#1: Culture Change


Слайд 52

#2: Define Measures # of Requests / User # of Log Messages # of Exceptions # Objects Allocated # Objects In Cache Cache Hit Ratio # of Images # of SQLs # SQLs per Request Availability # HTTP 3xx, 4xx Page Size


Слайд 53

54 #3: Share Results


Слайд 54

#4: Automate Commit Stage Compile Execute Unit Test Code Analysis Build installers Automated Acceptance Testing Automated Capacity Testing Manual testing Key showcases Exploratory testing Unit & Integration Tests Functional Tests Performance Tests Production Monitoring Functional Tests


Слайд 55

#5: Integrate


Слайд 56

If we do all that CANCELLED


Слайд 57

Which gives you more time for the real important things in life …


Слайд 58

Want MORE of these and more details? http://apmblog.compuware.com


Слайд 59

Recommended Book https://itrevolution.wufoo.com/forms/phoenix-project-ebook-offer/


Слайд 60

FREE Products & More Info dynaTrace Enterprise Full End-to-End Visibility in your Java, .NET, PHP Apps Sign up for a 15 Days Free Trial on http://compuwareapm.com dynaTrace AJAX Edition Browser Diagnostics for IE + FF Download @ http://ajax.dynatrace.com Our Blog: http://apmblog.compuware.com


×

HTML:





Ссылка: