Transcript

You’re here becausePERFORMANCE MATTERS

I’m here to convince youSPEED IS A FEATURE

Chris Kelly@amateurhuman

Start with the

FACTS

Loss inconversions

1s = 7%Additional pageload time

Fewerpage views

1s = 11%Additional pageload time

-100ms Page Load

+1%Revenue=

AMAZON+$480M per year

Pause for a

CLICHÉ

Time isMoney

per • for • mance (noun)

1. a way to make more money2. a way to work on stuff that matters

A performant application has a smaller footprint.

A smaller footprint means less resources to manage.

Less resource management means more time working on the good stuff.

Built for

SPEED

Where does the time go?

1. Slave to the man2. Slave to the DOM3. Slave to the data4. Slave to the box5. Slave to the network

Business in the

FRONT

The Internet is a distributed system. We’ve become dependent on external services: analytics, ads, trackers, social.

Loading an external service can add over 900ms to your load time.

Synchronous Javascript calls will block your page load.

Facebook doesn’t always go down.

But when it does, it takes down the rest of the Internet.

Get used to theWhite Page of Death

CSS May Be YourNew Worst EnemyBrowsers block rendering until all CSS is downloaded.

Browsers will download all CSS before rendering, even if it is unused.

Does your mobile phone really need to download the print stylesheet?

Party in the

BACK

Death by Database

N+1 queries will bring your database to its knees.

Slow queries will kick it while it is down.

Disk thrashing will finish it off and pick it’s pockets for good measure.

In the Cloud Resources Are Limitless, Right?Resources in the cloud are abundant but inconsistent.

Failing resources create a domino effect of further failures.

Scaling has more to do with people more than any other resource.

There and Back Again,A Network TaleNetwork round-trips can add up quickly, even within the same datacenter.

Browsers will limit simultaneous downloads from the same host.

Service Oriented Architectures are pushing more data through the network.

So, now what’s

NEXT

If you aren’t monitoring, start!

Put performance in your backlog.

Make performance into a hack day.

Turn performance into a feature.

Oh yeah, install New Relic.

Get In Touch With Us

http://support.newrelic.com

support@newrelic.com

@newrelic

Sources and credit:Some content for this presentation was graciously provided by:

http://www.readwriteweb.com/enterprise/2012/05/the-fastest-online-payment-processor-its-google.php

http://blog.newrelic.com/2011/12/22/are-external-services-slowing-you-down-new-relic-infographic-reveals-the-fastest-and-most-popular-external-apis/

http://www.webperformancetoday.com/2012/05/29/browser-innovation-14-web-performance-rules-faster-loading-websites/

http://blogs.keynote.com/the_watch/2012/06/facebook-failed-did-you-.html

http://www.phpied.com/css-and-the-critical-path/

http://dtrace.org/blogs/brendan/2012/02/29/the-use-method/

http://highscalability.com/blog/2012/5/16/big-list-of-20-common-bottlenecks.html

https://gist.github.com/2841832

top related