code performance means business performance (presented by christophe dujarric at ez conference 2016)

44
blackfire.io @blackfireio #blackfireio Code Performance Means Business Performance eZ Conference 2016 - Paris

Upload: ez-systems

Post on 19-Jan-2017

186 views

Category:

Business


2 download

TRANSCRIPT

Page 1: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

Code Performance Means Business Performance

eZ Conference 2016 - Paris

Page 2: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

Christophe Dujarric @Chris_Dujarric Product guy. Loves simple things that solve real problems.

Paris, France

Blackfire.io/SensioLabs

christophedujarric.wordpress.com

/christophedujarric

Page 3: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

Page 4: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

Page 5: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

53% of mobile site visits are abandonned if pages

take longer than 3 seconds to load

https://www.doubleclickbygoogle.com/articles/mobile-speed-matters/

Page 6: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

« @SFR, I’d love to get an Internet connection so I can work. Your quality of service is even worse than @SNCF »

Page 7: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

« @Mchaumier You can get free and unlimited Wifi in all major French train stations »

Page 8: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

« @SNCF Sorry for the delayed response @Mchaumier, my train was late. More seriously,…»

Page 9: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

« @SFR @Mchaumier Wow, a joke on late trains… That’s unusual! Almost as exceptional as getting 4G coverage on your network! »

Page 10: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

Average homepage load time on 3G networks: 19 seconds on 4G networks: 14 seconds

https://www.doubleclickbygoogle.com/articles/mobile-speed-matters/

Page 11: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

Page 12: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

Page 13: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

https://blog.radware.com/applicationdelivery/applicationaccelerationoptimization/2013/10/case-study-slow-load-times-shopping-cart-abandonment/

2-second delay during checkout increases the abandonment rate by

up to 30%

Page 14: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

Publishers whose mobile sites load in 5 seconds earn

up to 2x more mobile ad revenue than those whose sites load in 19 seconds.

https://www.doubleclickbygoogle.com/articles/mobile-speed-matters/

Page 15: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

Why is an app slow?

Page 16: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

Your business Your customers

Page 17: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

Page 18: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

-100ms+1%revenue

-2.2s+15%downloads

Page 19: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

16 years ago...

Page 20: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

Our highest priority is to satisfy the customer through early and continuous delivery of valuable software.

Principle behind the Agile Manifesto (1/12)

Page 21: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

Continuous attention to technical excellence and good design enhances agility.

Principle behind the Agile Manifesto (9/12)

Page 22: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

Solving issues in production costs a lotmore than solving them in development

Page 23: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

There is no flawless software

Page 24: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

Simplicity--the art of maximizing the amount of work not done--is essential.

Principle behind the Agile Manifesto (10/12)

Page 25: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

So, you need tools?

Page 26: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

You cannot optimize what you cannot measure

Page 27: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

Measuring performance impacts performance

Page 28: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

Metrics should be actionable

Page 29: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

There is no stand-alone performance solution

Page 30: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

What tool for what purpose?Performance Analysis / Performance Monitoring / Active performance management

Code / Server / Network / User terminal

Development / Test/Staging /Production

Page 31: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

APM is

Application. Performance. Management.

Page 32: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

ProfilingLoad Balancing

Monitoring

Code User

CDNTesting EUEM

UDTP

FEO

Page 33: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

Front End Optimization

Reducing HTTP calls number

Reducing image sizes

Optimizing page rendering sequence (most important to least important content)

FEO & CDNContent Delivery Network

Reducing the distance between content and user

Caching heavy content

Distributed network of proxy servers + load balancing

Page 34: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

End-user Experience Mangement

From the server to the user device

Business analytics tied to performance KPIs

Various technical implementations with pros and cons

EUEM & UDTPUser-Defined Transaction Profiling

Overview of performance of a business transaction across infrastructure components

Analytical view to determine the slowest/mot error prone part of your infrastructure

Page 35: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

Production Supervision

Infrastructure monitoring

Analytics and trends

Alerts and 1st level of insight (DB queries, errors,…)

Monitoring & Load Balancing

Load balancing

Optimize resource use, maximize throughput, minimize response time, and avoid overload

Redirecting user sessions to other servers

Page 36: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

Testing

Load testing

Code performance testing

Unit testing

Testing & ProfilingProfiling

Understanding code behaviour

Detailing resources consumption at code level

Comparing code changes

Page 37: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

Id eos hinc vituperata liberavisse, persecuti philosophia ius cu, ea ubique corpora nec. Eam liber postulant no, at has graeco maluisset, qui purto graeco democritum ne. Pri id dolor fabulas utroque, eros omnes vix ne.

The right tool

for the right purpose

Page 38: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

Good performance starts with good code

Page 39: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

Low hanging fruits-13.475 SQL queries resulting in - 4.2 s

Production configuration issue 15 s load time down to <2 s

Third party extension optimization, -500 SQL queries and -35% load time

Page 40: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

This is not

what you want

Page 41: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

You want this

from the top to the end

Page 42: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

blackfire.io @blackfireio #blackfireio

An optimal blend?Profiling and performance testing

Content delivery network & front end optimization

Application Performance Monitoring

Cutting edge PaaS

Page 43: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

Learn more on blackfire.io/docs/24-days

Page 44: Code Performance Means Business Performance (presented by Christophe Dujarric at eZ Conference 2016)

Stay tuned on blog.blackfire.io

for more news on upcoming features