‹ Blog Home

Speed as a Feature, Part 1

This is the first of my posts on Speed as a Feature. It was inspired by a talk I recently gave to the CTO Forum in San Diego. As both a former CTO and emeritus member, I was humbled by the invitation and excited to find out what keeps some of the brightest technology leaders up at night. If you’re interested, you can jump directly to the slidedeck that accompanied the session.

When describing your application to users, peers, VCs or potential new hires, which features do you list? Do you talk about the latest social sharing integration? How about the API you built? Or maybe you can’t stop glowing over your Cloud-based real time local big data feed? But when was the last time you talked to someone about how fast your application is?

I’m sure this isn’t because you don’t care about performance. (You just haven’t had time to fix that memory leak yet.) But building performant web applications rarely happens by chance. At some point, you need to make performance a priority.

Unlike adding a tradition feature (such as photo uploading), adding performance to your feature list isn’t nearly as straightforward. Simply writing good code doesn’t guarantee your app will be fast. (Thought it certainly won’t hurt!) And you can’t just bolt performance on to your application by adding a new library or changing a flag in your configuration. Performance needs to built into your app from the start and become part of your development culture.

Performance Benefits Your Business
Still not convinced? I’ve got some cold hard metrics for you. According to a report by the Aberdeen group, a page that takes an additional second to load sees a 7% drop in conversions. That same second also costs you 11% fewer page views. Amazon is famous for their page load optimization and for good reason. For every 100ms delay that Amazon has in their load times, it sees a 1% decrease in its annual revenue. That’s $480M in 2011!

Performance Benefits Your Developers
As engineers, we want to work on interesting and hard problems. I’ve never met a developer yet that enjoyed firefighting more than creating something new. In our lean development cycles, we’re supposed to build, measure and learn. But that’s really hard to do when you are regularly going back to refactor code that’s dragging down your performance. With enough neglect, all your time is spent mired in fixing performance problems rather than writing that new feature.

You don’t call the plumber when your house is under water — you call them when you see a leak. Likewise, performance problems are something you need to anticipate or you should plan on keeping your goulashes handy. Make performance a feature of your application. If you aren’t monitoring apps already, you need to start. Put performance on your backlog and try turning it into a hack day.

The more work you put into performance, the more time you’ll have to work on the stuff that matters. An application built with a disposition towards performance will have a smaller footprint and utilize fewer resources. And the less resources you have to manage, the more time you can spend working on adding new features

In the next installment, we’ll take a look at what’s going on in the frontend of your application that might be causing a serious performance hit without you even knowing.

Want to use New Relic and get an awesome Nerd Life tee?
Sign up here. It's free, so why not?

Comments

RSS feed for comments on this post.


  1. how much fast should a page load? is 4 seconds too much? my app does 150-200ms server side (is that a lot?), but it slows down because of the network (1-1.5 sec), dom processing and rendering


    Chris Kelly Reply:

    @eric

    That is a good question, and one that comes with a “that depends” answer.

    A good load time, and how willing a user is to wait, is a complex problem. While your 4 second load is just about average for the sites monitored by New Relic (3.8s), it really depends on what your application does.

    If you have an ecommerce application, then you are right on average with other ecommerce sites but if you have a SaaS app then you’re running a bit behind.

    Check out our App Speed Index to see how where your app fits in. Then you’ll have some definitive goals to work towards.


    eric Reply:

    Hi Chris, thanks for the reply. Any advice on how improve the performance client side? Also network is still high, but I’m not sure I can do a lot with that (already running on a cdn). And I’m also using pjax to avoid the reparsing of the page every time. Next I’m thinking about going with the http streaming too




    Andrea Reply:

    I think the question is not how fast is in absolute…the question is how the user perceive the load time.


    louise lalande Reply:

    *



    Posted: 9 July 2012 at 12:36 pm by eric

  2. Can’t agree more! Just thinking of the comparison between the Facebook android app and the Google+ Android app. The former’s loading times are exceptionally long – so much so that I will close the app in frustration and do something else. I don’t have time to sit and wait for someone else’s poorly designed app to steal my precious seconds and minutes. Thanks for a great article.

    Posted: 17 July 2012 at 2:01 am by Ken E Baker

  3. Great article. We wholeheartedly agree. Particularly relevant to the app world (which happens to be our world..)

    Posted: 17 July 2012 at 4:25 am by Matt

  4. Thanks for this article it raises lots of questions. Speed does matter and the website design definitely has an effect on this. For example look at website coding which use div containers, for content and for navigation bars and optimised css style layouts, fit for your purpose, and those which do not. See how the download speed is actually affected by your design. Also by optimising your design for all browsers, and mobile apps, including ie9, ipad and iphone, your content will display correctly which is just as important as download speed. Really important to check your website regularly and in all browsers.

    Posted: 23 July 2012 at 1:23 am by Angela Nolan

  5. True, im NEVER using the facebook app for iphone because of it’s hilarous speed

    Posted: 24 July 2012 at 3:25 am by Carl Hjerpe


Sign up for New Relic’s twice monthly super nerdy newsletter!

It's free, it's fast. Get the insights you need to improve your application's performance.

Create Free Account