DevOps and PerformanceWhy, How & Best Practices @grabnerandi http://apmblog.compuware.com презентация

Содержание

What you may have heard about Austrians

Слайд 1DevOps and Performance Why, How & Best Practices

@grabnerandi

http://apmblog.compuware.com


Слайд 2


Слайд 3What you may have heard about Austrians


Слайд 4And just very recently @ Euro Song Contest


Слайд 5How we would like the world to see us ☺


Слайд 6What we are also proud of ☺


Слайд 7What you should check out …


Слайд 8Tonight we are here for …


Слайд 9Others Call It
The stuff we did
when we were a Start

Up
and we All were
Devs, Testers and Ops

Слайд 10




Or – The Evolution of
Software Engineering



Слайд 11YOU ARE NOT ALONE: Popularity on Google



Слайд 12Who is doing it? How many successful deployments can they do?

300

Deployments / Year


50-60 Deployments / Day


10+ Deployments / Day


Every 11.6 seconds


Слайд 13More 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


Слайд 18Testing is Important – and gives Confidence


Слайд 19But are we ready for “The Real” world?


Слайд 20Measure Performance during the game
Ball Possession: 40 : 60
Fouls:

0 : 0
Score: 0 : 0

Minute 1 - 5


Слайд 21Measure Performance during the game
Minute 6 - 35
Ball Possession: 80 :

20
Fouls: 2 : 12
Score: 0 : 0

Слайд 22Deep Dive Analysis


Слайд 23Options “To Fix” the situation


Слайд 24Not always a happy ending ☹
Minute 90
Ball Possession: 80 : 20
Fouls:

4 : 25
Score: 3 : 0

Слайд 25FRUSTRATED FANS!!


Слайд 26How does that relate to Software?


Слайд 27
From Deploy to …

Deploy
Timeline


Слайд 28The “War Room” – back then

'Houston, we have a problem‘ NASA Mission

Control Center, Apollo 13, 1970

Слайд 29The “War Room” – NOW

Facebook – December 2012


Слайд 303 Situations on WHY this happens, HOW to avoid it


Слайд 31Image taken from https://www.scriptrock.com/blog/devops-whats-hype-about/


Слайд 32#Disconnected Teams


Слайд 33“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!


Слайд 34“Solution”: Implement a Custom “On Demand” Remote Logger


Слайд 35Implementation and Rollout
Implemented Custom Logger
Worked well in Load Testing


Слайд 36What happened?
~ 1Mio Lock Exceptions in 30 mins


Слайд 37Root Cause: A special WebSphere Setting!


Слайд 38Metrics: # Log Messages,
# Exceptions
Share: Same Server Settings
DevOps: Agree on

Data for Troubleshooting



Слайд 3912 000 000 $


Слайд 40#No “Agile” Deployment


Слайд 41Ad on air
Availability dropped to 0%
Load Spike resulted in Unavailability


Слайд 42Alternative: “GoDaddy goes DevOps”
Response time improved 4x
1h before
SuperBowl KickOff
1h after


Game ended




Слайд 43Behind the Scenes


Слайд 44Metrics: Availability
Page Size, # Objects
# Hosts, # Connections
DevOps: “Feature” Switches


Слайд 46#Push
without a Plan


Слайд 47Mobile Landing Page of Super Bowl Ad
434 Resources in total on

that page:
230 JPEGs, 75 PNGs, 50 GIFs, …

Total size of ~ 20MB


Слайд 48m.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


Слайд 49Critical 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 …


Слайд 50Metrics: Load Time,
# Resources (Images, …),
# HTTP 3xx, 4xx,

5xx

Dev: Build for Mobile

Test: Test on Mobile

Ops: Monitor Mobile



Слайд 52#1: Culture Change


Слайд 53#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



Слайд 54
#3: Share Results


Слайд 55#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



Слайд 56#5: Integrate


Слайд 57If we do all that
CANCELLED


Слайд 58Which gives you more time for the real important things in

life …

Слайд 59Want MORE of these and more details?
http://apmblog.compuware.com


Слайд 60Recommended Book
https://itrevolution.wufoo.com/forms/phoenix-project-ebook-offer/


Слайд 61FREE 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


Обратная связь

Если не удалось найти и скачать презентацию, Вы можете заказать его на нашем сайте. Мы постараемся найти нужный Вам материал и отправим по электронной почте. Не стесняйтесь обращаться к нам, если у вас возникли вопросы или пожелания:

Email: Нажмите что бы посмотреть 

Что такое ThePresentation.ru?

Это сайт презентаций, докладов, проектов, шаблонов в формате PowerPoint. Мы помогаем школьникам, студентам, учителям, преподавателям хранить и обмениваться учебными материалами с другими пользователями.


Для правообладателей

Яндекс.Метрика