SlideShare a Scribd company logo
1 of 68
11 Best Practices to Optimize
      Commerce Site Performance
                                                 Bob Buffone
                                          CTO & Co-Founder, Yottaa, Inc.

                                                 Ilya Mirman
                                            VP Marketing, Yottaa, Inc.

Yottaa Inc.
http://www.yottaa.com



© 2012 Yottaa Inc. All Rights Reserved.
Agenda
1.        Does performance matter?
2.        Commerce web: performance challenges
3.        Key Metrics & reliable measurements
4.        Common performance bottlenecks
5.        Optimization techniques

                                              Bob: @rockstarapps



                                              Ilya: @IlyaMirman
                                                                  2
© 2012 Yottaa Inc. All Rights Reserved.
We want to change
the way ecommerce
retailers will operate in
      the future
By becoming the
  trusted resource
 that merchants use
each day to manage
    and grow their
      business
Retailers don’t need
  more charts and
 graphs. They need
real intelligence that
   drives revenue.
We Capture 100% of the Data
 And Have 100% Accuracy
• Exact, not approximate data
•  Account for returns, exchanges
   and cancelled orders
• Access to all ecommerce data
• Historical orders
• Customer database
Over 6000 merchants trust us to help
 them build their online businesses



  Across many of the most powerful
       ecommerce platforms
Agenda
1.        Does performance matter?
2.        Commerce web: performance challenges
3.        Key Metrics & reliable measurements
4.        Common performance bottlenecks
5.        Optimization techniques

                                              Bob: @rockstarapps



                                              Ilya: @IlyaMirman
                                                                  11
© 2012 Yottaa Inc. All Rights Reserved.
User Experience:
Does it Matter?



© 2012 Yottaa Inc. All Rights Reserved.   © 2011 Yottaa Inc. All Rights Reserved. 12
© 2012 Yottaa Inc. All Rights Reserved.
The Impact of Speed
                       Average Impact of One Second Delay in Response Time
                                                                            Customer
                                           Page Views        Conversions   Satisfaction
                           0%


                           -2%


                           -4%


                           -6%
                                                                -7%
                           -8%


                         -10%                -11%
                         -12%


                         -14%
                                               •   Lost revenues
                                                                             -16%
                         -16%                  •   Brand damage
                         -18%
                                               •   More support calls
                                               •   Increase costs


Source: Why Web Performance Matters – Gomez, Inc. / Aberdeen Group

© 2012 Yottaa Inc. All Rights Reserved.
Impact of Page Load Delay…




© 2012 Yottaa Inc. All Rights Reserved.
Today’s Performance Challenges
for Commerce Sites



© 2012 Yottaa Inc. All Rights Reserved.   © 2011 Yottaa Inc. All Rights Reserved. 16
Delivering a Good Experience is Challenging
 Data                    Major                                      Last
                                          CDNs    Geography                  Browsers   Users
Centers                  ISPs                                       Mile


                                                              3rd Party Content




                                                 Performance Uncertainty


                 100+ factors can create issues for end-users
© 2012 Yottaa Inc. All Rights Reserved.                                                         17
The Web Has Evolved…
Webpages yesterday = Text +                Webpages today = highly distributed applications
Images from the same domain                          that execute in a browser

                                          Most modern Web pages are complex creations -The
                                          CNN home page, for instance, is built by the browser from
                                          53 static images, 39 dynamic images, 3 Flash files, 30
                                          JavaScript files, 29 HTML files and 7 CSS files - to be
                                          loaded from 18 domains

                                                                       − Jeff Bezos on Amazon Silk

                                          80%+ web performance is on the front end
                                                        − Steve Souders, Google Web Performance expert

     Yesterday: Web client = IE           Today web client > 4 browsers + smart phones + tablets




                                          Today’s bottleneck: the execution of this distributed
      Yesterday’s bottleneck:               application (webpage) in a browser that spans
      The delivery of the bits                           across 10+ domains


© 2012 Yottaa Inc. All Rights Reserved.                                                        18
Commerce Platforms
                                                                              Site Performance:
  • Powerful, flexible,                                                    Magento vs. Avg Web Site
                                                                               Time-to-Interact
    extensible                                                      10.0

                                                                     9.0
  • If not managed                                                   8.0
                                                                           >90% Slower
    properly, challenges                                             7.0




                                           Time-to-Interact (sec)
    with:                                                            6.0

                                                                     5.0
           – Performance                                             4.0

           – Scaling                                                 3.0

                                                                     2.0
           – Visibility                                              1.0

                                                                      0
                                                                           Avg Web Site    Avg Magento Site
                                                                            (Sample of        (Sample of
                                                                            3,500 Sites)     2,000 Sites)

© 2012 Yottaa Inc. All Rights Reserved.
Commerce Sites:
                                   Optimization Opportunities
                          • Server-side Tuning
                                   – Database and server configuration,
                                     PHP acceleration, compiling
                                     options, add hardware, etc.

                          • But plenty of performance
                            gains left on the table through:
                                   – Front-end Optimization
  This
                                   – Optimized Traffic Routing
 Webinar                           – Edge Caching and Delivery
                                     of Content
© 2012 Yottaa Inc. All Rights Reserved.
nytimes.com – 91.2% Page Execution




                     www.nytimes.com loads in 5.16 Seconds:
                     • Page delivery = 0.456/5.16= 8.8%
                     • Page execution = 91.2%

Source: http://www.yottaa.com/url/www-nytimes-com-4bdad0b4425bdb0c0300025e/page_load

© 2012 Yottaa Inc. All Rights Reserved.
Best Practice
            Establish a Performance Baseline          #1




                    “If you cannot measure it,
                    you cannot improve it.”
                                          Lord Kelvin



© 2012 Yottaa Inc. All Rights Reserved.
Best Practice
                                               #1




                Front End User Experience




© 2012 Yottaa Inc. All Rights Reserved.
Characterizing User Experience




© 2012 Yottaa Inc. All Rights Reserved.
Front End Metrics: A Slice of the Web…
                                          50th percentile                 80th percentile                 95th percentile
Time to Title (msec)                            1,259                            2,368                           4,647
Time to Render (msec)                           2,420                            4,071                           7,160
Time to Display (msec)                          5,168                            8,780                          15,254
Time to Interact (msec)                         6,263                           10,643                          18,494


                   500
                                                    Time to Interact                                      100%

                   450                                                                                    90%

                   400                                                             Frequency              80%

                   350                                                             Cumulative %           70%

                   300                                                                                    60%

                   250                                                                                    50%

                   200                                                                                    40%

                   150                                                                                    30%

                   100                                                                                    20%

                    50                                                                                    10%

                     0                                                                                    0%



                                                       Time to Interact (sec.)


                                                                                  Source: Yottaa measurement of 3,500 websites, Aug. 2012

© 2012 Yottaa Inc. All Rights Reserved.
Visualizing the User Experience
Page loading screenshots




    Video of page loading sequence




© 2012 Yottaa Inc. All Rights Reserved.
FREE TOOL: websitetest.com




© 2012 Yottaa Inc. All Rights Reserved.
Visualizing the User Experience
Yottaa’s Interactive Waterfall




© 2012 Yottaa Inc. All Rights Reserved.
Statistically Significant Testing: Why bother?

    • Everyone else is not 10 feet away from
      your server 

    • The internet is a dynamic beast

    • If you want confidence in your decisions,
      you need confidence in your measurements



© 2012 Yottaa Inc. All Rights Reserved.
Variability Across the World

    Example: Amazon.com




© 2012 Yottaa Inc. All Rights Reserved.
Variability in Connectivity




         Connectivity makes a big difference. Think about your experience on your
         phone compared to your office.




© 2012 Yottaa Inc. All Rights Reserved.
Variability in Browser




         Browser differences can create surprising differences
             • Connection Management
             • JavaScript Engines
             • Rendering Speed




© 2012 Yottaa Inc. All Rights Reserved.
Back End Performance




© 2012 Yottaa Inc. All Rights Reserved.
Back End Performance Metrics




    • DNS time (~60 msec):
            – The length of time the browser required to resolve host name(s) to IP
              addresses
    • Connect time (~140 msec):
            – The length of time spent creating the initial connection to the site
    • Waiting time (~400 msec):
            – The length of time spent waiting for the server to begin sending data.
    • Time to First byte (~500 msec):
            – The length of time before the first byte of data is received from the
              server.
    • Time to last byte (~700 msec):
            – The length of time before the last byte of the initial request is delivered.
© 2012 Yottaa Inc. All Rights Reserved.
A Sample of the Web…



                          50th percentile     80th percentile                95th percentile
DNS Time (msec)                     60                  149                            413
Connect Time (msec)               144                   188                            227
Time to First Byte (msec)         533                1,090                          2,418
Time to Last Byte (msec)          721                1,412                          3,105




                                                      Source: Yottaa measurement of 3,500 websites, Aug. 2012

© 2012 Yottaa Inc. All Rights Reserved.
Example: Bad DNS Lookup Times

    • Reasons
            – Bad DNS Provider (Not use IP Anycast)
            – Misconfigured TTL or Records
    • Finding the problem
            – Continuous Monitoring
            – Online DNS Tools (www.dnsstuff.com/)
    • Fixing it
            – Choose a good DNS Provider


© 2012 Yottaa Inc. All Rights Reserved.
Content Size & Complexity




© 2012 Yottaa Inc. All Rights Reserved.
Summary Metrics: A Sample of the Web…

                                          50th percentile   80th percentile                 95th percentile
Domains                                              6                 17                              33
Asset Count                                         47                 84                             152
Asset Weight (Bytes)                        690,779          1,557,812                       3,393,192
JS Count                                             8                 19                              33
JS Size (Bytes)                             119,378             346,852                         586,442
CSS Count                                            3                   8                             16
CSS Size (Bytes)                              18,134              60,265                        120,000
Image Count                                         25                 48                              87
Image Size (Bytes)                          318,788             895,948                      2,056,237




                                                                    Source: Yottaa measurement of 3,500 websites, Aug. 2012

© 2012 Yottaa Inc. All Rights Reserved.
Continuous Monitoring   Best Practice
                                                        #1




© 2012 Yottaa Inc. All Rights Reserved.
Continuous Monitoring   Best Practice
                                                        #1




© 2012 Yottaa Inc. All Rights Reserved.
THINGS THAT MAKE YOUR
         WEBSITE SLOW



© 2012 Yottaa Inc. All Rights Reserved.   © 2011 Yottaa Inc. All Rights Reserved. 41
Lots of Requests

    • Product owners want rich websites
            – Rich in User Experience
            – Rich in Visual Presentation
    • Achieving richness requires more
      resources to be downloaded to the client
            – CSS
            – HTML
            – JavaScript
            – Images

© 2012 Yottaa Inc. All Rights Reserved.
Content Breakdown




© 2012 Yottaa Inc. All Rights Reserved.
More Requests  Slower Performance




© 2012 Yottaa Inc. All Rights Reserved.
Source code of the Website




© 2012 Yottaa Inc. All Rights Reserved.
Combine Scripts & CSS          Best Practice
                                                                              #2
                                           to Reduce Requests




    Before optimization we have 26 JS files!
    After optimization we have one JS file that provides a huge performance benefit




© 2012 Yottaa Inc. All Rights Reserved.
Combine Images with Sprites            Best Practice
                                                                          #3
                                 to Reduce Requests

                                            .arrowbutton{
                                               display: block;
                                               height: 23px;
                                               line-height: 22px;
                                               font-size: 12px;
                                               width: 96px;
                                               background: url("<%=
                                            image_path('icons/ico.png') %>")
                                            no-repeat -49px -8px ;color:
                                            #FFFFFF;cursor: pointer;
                                            }




© 2012 Yottaa Inc. All Rights Reserved.
Sprites in Action…

  CSS sprite




            Yottaa homepage
         that leverages the sprite




© 2012 Yottaa Inc. All Rights Reserved.
Employ Data URIs                Best Practice
                                                                                #4
                                          to Reduce Requests

                                                     Data URI (Uniform Resource
                                                     Identifier) scheme: method for
                                                     including data in-line in web
                                                     pages – allows normally
                                                     separate elements
                                                     (e.g., images, style sheets) to
                                                     be fetched in a single HTTP
                                                     request rather than multiple.




© 2012 Yottaa Inc. All Rights Reserved.
Large Resources

    Ways to make your site slow:
    • Many of the resources that you need to
      load can be made fatter than required
            – HTML, CSS, JavaScript – Add lots of
              comments and white space
            – Images
                     • Use images that are larger than displayed on the
                       webpage
                     • Always use the highest quality settings
    • Turn off gzip compression on your server
© 2012 Yottaa Inc. All Rights Reserved.
Large Assets  Slower Performance




© 2012 Yottaa Inc. All Rights Reserved.
Large assets take longer to download




© 2012 Yottaa Inc. All Rights Reserved.
Large assets take longer to download




                                          776KB




© 2012 Yottaa Inc. All Rights Reserved.
Use Lossless Image Compression    Best Practice
                                                                    #7
                                 to Reduce Asset Weight




                               459 KB                 400 KB




© 2012 Yottaa Inc. All Rights Reserved.
Use Lossy Image Compression     Best Practice
                                                                       #8
                                     to Reduce Asset Weight




                               459 KB                     98 KB




© 2012 Yottaa Inc. All Rights Reserved.
Large assets take longer to download




© 2012 Yottaa Inc. All Rights Reserved.
Best Practice
                              Gzip to Reduce Asset Weight        #5




© 2012 Yottaa Inc. All Rights Reserved.
Minify Scripts                      Best Practice
                                                                                      #6
                                          to Reduce Weight
    //Get the name of the person
    var full_name = “Bob Buffone”;                     Browsers don’t
    //Now make it awesome
                                                          care about
    full_name += “ is awesome”;
    //Everyone must know this fact                      comments and
    $(document).ready(function(){                     easy to read code.
      alert(full_name);
    });


      var n=“Bob Buffone”;n+=“ is awesome”;$(document).read(function(){alert(full_name);});




© 2012 Yottaa Inc. All Rights Reserved.
Problem: Serialization
                                          (e.g., 3rd Party Plugins)

    • Bloggers love to make their websites slow
      using plugins.
            – Twitter, Facebook, Google Plus, LinkedIn
            – Photo plugins…
    • Not utilizing asynchronous loading of 3rd
      party resources.




© 2012 Yottaa Inc. All Rights Reserved.
Marketing Loves Social




     Social adds LOTS of resources -> 86 JavaScript, images
     and CSS.




© 2012 Yottaa Inc. All Rights Reserved.
One Facebook Image…




© 2012 Yottaa Inc. All Rights Reserved.
Best Practice
            Load 3rd Party Assets Asynchronously              #9



       <script src=“connect.facebook.net/en_US/all.js”></script>




© 2012 Yottaa Inc. All Rights Reserved.
Use Domain Sharding for   Best Practice
                                                                   #10
                                       Parallel Processing




                                                3 domains for
                                                asset loading




© 2012 Yottaa Inc. All Rights Reserved.
Use Intelligent Script Loaders   Best Practice
                                                                    #11
                                 for Parallel Processing




© 2012 Yottaa Inc. All Rights Reserved.
Summary: Problems & Resolutions

     Issue                                Resolution
     Lots of Requests                     Reduce # of Requests:
                                             • Combine Scripts and Images
                                             • Combine images with Sprites
                                             • Employ data URIs

     Large Assets                         Reduce Asset Weight:
                                             • Use Gzip
                                             • Minify Scripts
                                             • Use Lossy and Lossless Image Compression

     Serialization                        Parallel Processing:
                                              •Load 3rd Party Assets Asynchronously
                                              •Use Domain Sharding
                                              •Use Intelligent Script Loaders


© 2012 Yottaa Inc. All Rights Reserved.
Web Site Challenges
                                                •   Slow web pages
                                                •   Unacceptable user experience
                   Performance                  •   Reduced site conversions
                                                •   Poor search engine rankings



                                                • Site outages and page errors
                   Availability                 • Inability to serve users across geographies, devices,
                                                  browsers, platforms




                                                • Inability to handle high traffic volume, serve users,
                   Scalability                    process transactions
                                                • An overloaded site infrastructure.




                                                • Vulnerability to threats from bots, hackers and
                   Security                       attacks.




© 2012 Yottaa Inc. All Rights Reserved.                                                                   66
The Yottaa Web Optimization Platform
Features:                       Benefits:                                Features:                Benefits:
• Content caching                • Reduce load on                        • Global IP anycast      • High performance
  and edge delivery                your infrastructure                   • Globally distributed     DNS service
• IP Anycast routing             • Reduce network                          data centers           • Enterprise-grade
• 20+ edge locations               latency                               • Globally redirects       traffic management
• Integrates with                • Improve user                            request to closest     • DNS Shield
  any CDN                          experience                              geographic server        for protection




Features:                                                                             Features:
• Payload reduction                                                                   • Traffic blocking and throttling
• Request reduction                                                                   • Resource and bot protection
• Parallel processing                                                                 • Traffic analytics
                                                             Web
Benefits:                                                                             Benefits:
                                                         Optimization
• Improve user experience                                                             • Improve availability, resiliency
                                                          Network                       and security
• Increase conversions
                                                                                      • “Protection as a Service”
• Increase search
  engine rankings                                                                     • Elastic and adaptive



Features:                                                                                             Benefits:
                              Benefits:
                                                                        Features:                     • See what your
• End user experience • Ensure end user                                 • Multivariate testing          users see
  monitoring                experience and SLA                            (locations, browsers,       • Eliminate
• Intuitive data analysis • Problem detection                             connection speeds, time)      sampling error
  and visualizations        and timely response                         • Interactive visualizations: • Deep insights
• Problem detection,      • Actionable intelligence                       page loading sequence,        for tuning site
  alerting and diagnosis                                                  waterfall, assets)            performance

 © 2012 Yottaa Inc. All Rights Reserved.
Thank You for your time!




                       yottaa.com
© 2012 Yottaa Inc. All Rights Reserved.   68

More Related Content

What's hot

2010 Best of the Web Performers: What Makes Them Great?
2010 Best of the Web Performers: What Makes Them Great?2010 Best of the Web Performers: What Makes Them Great?
2010 Best of the Web Performers: What Makes Them Great?Compuware APM
 
Driving Profits with Premium Domain Names - Bob Mountain, SVP – BD & Account...
Driving Profits with Premium Domain Names - Bob Mountain,  SVP – BD & Account...Driving Profits with Premium Domain Names - Bob Mountain,  SVP – BD & Account...
Driving Profits with Premium Domain Names - Bob Mountain, SVP – BD & Account...ResellerClub
 
AIESEC Jordan National Communications Plan 08/09
AIESEC Jordan National Communications Plan 08/09AIESEC Jordan National Communications Plan 08/09
AIESEC Jordan National Communications Plan 08/09Akos Szakaly
 
Really Simple Collaboration with Alfresco Share
Really Simple Collaboration with Alfresco ShareReally Simple Collaboration with Alfresco Share
Really Simple Collaboration with Alfresco ShareAlfresco Software
 
SAP BPC Consolidation (end to-end) Solutions Demo
SAP BPC Consolidation (end to-end) Solutions Demo SAP BPC Consolidation (end to-end) Solutions Demo
SAP BPC Consolidation (end to-end) Solutions Demo Jothi Periasamy
 
HTML5 for Mobile - When and Why
HTML5 for Mobile - When and WhyHTML5 for Mobile - When and Why
HTML5 for Mobile - When and WhyDMI
 
Bi ecm a_shotgun_wedding
Bi ecm a_shotgun_weddingBi ecm a_shotgun_wedding
Bi ecm a_shotgun_weddingQuestexConf
 
Content Management & Web Analytics Theatre; Classy, clowny or crude? How your...
Content Management & Web Analytics Theatre; Classy, clowny or crude? How your...Content Management & Web Analytics Theatre; Classy, clowny or crude? How your...
Content Management & Web Analytics Theatre; Classy, clowny or crude? How your...TFM&A
 

What's hot (14)

Gs Web Marketing Portfolio
Gs Web Marketing PortfolioGs Web Marketing Portfolio
Gs Web Marketing Portfolio
 
2010 Best of the Web Performers: What Makes Them Great?
2010 Best of the Web Performers: What Makes Them Great?2010 Best of the Web Performers: What Makes Them Great?
2010 Best of the Web Performers: What Makes Them Great?
 
Driving Profits with Premium Domain Names - Bob Mountain, SVP – BD & Account...
Driving Profits with Premium Domain Names - Bob Mountain,  SVP – BD & Account...Driving Profits with Premium Domain Names - Bob Mountain,  SVP – BD & Account...
Driving Profits with Premium Domain Names - Bob Mountain, SVP – BD & Account...
 
BT Group BDI
BT Group BDIBT Group BDI
BT Group BDI
 
SharePoint Conference Recap - Business Process Automation Session
SharePoint Conference Recap - Business Process Automation SessionSharePoint Conference Recap - Business Process Automation Session
SharePoint Conference Recap - Business Process Automation Session
 
AIESEC Jordan National Communications Plan 08/09
AIESEC Jordan National Communications Plan 08/09AIESEC Jordan National Communications Plan 08/09
AIESEC Jordan National Communications Plan 08/09
 
Really Simple Collaboration with Alfresco Share
Really Simple Collaboration with Alfresco ShareReally Simple Collaboration with Alfresco Share
Really Simple Collaboration with Alfresco Share
 
51 wix noah sf 2012
51 wix noah sf 201251 wix noah sf 2012
51 wix noah sf 2012
 
SAP BPC Consolidation (end to-end) Solutions Demo
SAP BPC Consolidation (end to-end) Solutions Demo SAP BPC Consolidation (end to-end) Solutions Demo
SAP BPC Consolidation (end to-end) Solutions Demo
 
Hong Kong Web Analytics Wednesday #6
Hong Kong Web Analytics Wednesday #6Hong Kong Web Analytics Wednesday #6
Hong Kong Web Analytics Wednesday #6
 
Web Quality in the Age of Big Content
Web Quality in the Age of Big ContentWeb Quality in the Age of Big Content
Web Quality in the Age of Big Content
 
HTML5 for Mobile - When and Why
HTML5 for Mobile - When and WhyHTML5 for Mobile - When and Why
HTML5 for Mobile - When and Why
 
Bi ecm a_shotgun_wedding
Bi ecm a_shotgun_weddingBi ecm a_shotgun_wedding
Bi ecm a_shotgun_wedding
 
Content Management & Web Analytics Theatre; Classy, clowny or crude? How your...
Content Management & Web Analytics Theatre; Classy, clowny or crude? How your...Content Management & Web Analytics Theatre; Classy, clowny or crude? How your...
Content Management & Web Analytics Theatre; Classy, clowny or crude? How your...
 

Similar to Best practices to optimize commerce site performance [webinar slides]

Performance Measurement and Monitoring for Salesforce Web & Mobile Apps
Performance Measurement and Monitoring for Salesforce Web & Mobile AppsPerformance Measurement and Monitoring for Salesforce Web & Mobile Apps
Performance Measurement and Monitoring for Salesforce Web & Mobile AppsSalesforce Developers
 
Emakina Academy 5 - Know your audience - Webtrends
Emakina Academy 5 - Know your audience -  WebtrendsEmakina Academy 5 - Know your audience -  Webtrends
Emakina Academy 5 - Know your audience - WebtrendsEmakina
 
Striking gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...
Striking gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...Striking gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...
Striking gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...auexpo Conference
 
Collaboration and Productivity with Microsoft SharePoint
Collaboration and Productivity with Microsoft SharePointCollaboration and Productivity with Microsoft SharePoint
Collaboration and Productivity with Microsoft SharePointEdgewater
 
How to See and Resolve Office 365 Performance Challenges
How to See and Resolve Office 365 Performance Challenges How to See and Resolve Office 365 Performance Challenges
How to See and Resolve Office 365 Performance Challenges ThousandEyes
 
Striking Gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...
Striking Gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...Striking Gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...
Striking Gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...affilinet
 
Striking Gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...
Striking Gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...Striking Gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...
Striking Gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...Paul Brown
 
Web Apps vs Web Site
Web Apps vs Web SiteWeb Apps vs Web Site
Web Apps vs Web SiteMatt Evans
 
Web App vs Web Site
Web App vs Web SiteWeb App vs Web Site
Web App vs Web SiteMatt Evans
 
Moving to Web 2.0 - Best Practices for Business and Application Migration
Moving to Web 2.0 - Best Practices for Business and Application MigrationMoving to Web 2.0 - Best Practices for Business and Application Migration
Moving to Web 2.0 - Best Practices for Business and Application Migrationanilmadugula
 
Maximize Your Magento Site for Dramatic Traffic Sites
Maximize Your Magento Site for Dramatic Traffic SitesMaximize Your Magento Site for Dramatic Traffic Sites
Maximize Your Magento Site for Dramatic Traffic SitesIndaba Group
 
Lotusphere 2012: AD105 - Use IBM Domino and Xpages for your social business
Lotusphere 2012: AD105 - Use IBM Domino and Xpages for your social businessLotusphere 2012: AD105 - Use IBM Domino and Xpages for your social business
Lotusphere 2012: AD105 - Use IBM Domino and Xpages for your social businessHerbert Wagger
 
NHS.uk Digital Innovation and Syndication Strategy
NHS.uk Digital Innovation and Syndication StrategyNHS.uk Digital Innovation and Syndication Strategy
NHS.uk Digital Innovation and Syndication StrategySymbio Agency Ltd
 
About Dss 09
About Dss 09About Dss 09
About Dss 09vetmike
 
Turning Mobile Apps Into Real Business Opportunity and Success
Turning Mobile Apps Into Real Business Opportunity and SuccessTurning Mobile Apps Into Real Business Opportunity and Success
Turning Mobile Apps Into Real Business Opportunity and SuccessAntenna Software
 
Performance Management In The New Frontier Of Rich Internet Applications
Performance Management In The New Frontier Of Rich Internet ApplicationsPerformance Management In The New Frontier Of Rich Internet Applications
Performance Management In The New Frontier Of Rich Internet ApplicationsBen Rushlo
 
Reverside Company Overview
Reverside Company OverviewReverside Company Overview
Reverside Company OverviewRajib Gupta
 
Rick Wilson Keynote Miva Merchant Conference 2012
Rick Wilson Keynote Miva Merchant Conference 2012Rick Wilson Keynote Miva Merchant Conference 2012
Rick Wilson Keynote Miva Merchant Conference 2012mm_merchant
 
Beyond CDNs: How to Harness the Next Phase of Innovation in Web Performance
Beyond CDNs: How to Harness the Next Phase of Innovation in Web PerformanceBeyond CDNs: How to Harness the Next Phase of Innovation in Web Performance
Beyond CDNs: How to Harness the Next Phase of Innovation in Web PerformanceYottaa
 

Similar to Best practices to optimize commerce site performance [webinar slides] (20)

Performance Measurement and Monitoring for Salesforce Web & Mobile Apps
Performance Measurement and Monitoring for Salesforce Web & Mobile AppsPerformance Measurement and Monitoring for Salesforce Web & Mobile Apps
Performance Measurement and Monitoring for Salesforce Web & Mobile Apps
 
Emakina Academy 5 - Know your audience - Webtrends
Emakina Academy 5 - Know your audience -  WebtrendsEmakina Academy 5 - Know your audience -  Webtrends
Emakina Academy 5 - Know your audience - Webtrends
 
Striking gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...
Striking gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...Striking gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...
Striking gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...
 
Collaboration and Productivity with Microsoft SharePoint
Collaboration and Productivity with Microsoft SharePointCollaboration and Productivity with Microsoft SharePoint
Collaboration and Productivity with Microsoft SharePoint
 
How to See and Resolve Office 365 Performance Challenges
How to See and Resolve Office 365 Performance Challenges How to See and Resolve Office 365 Performance Challenges
How to See and Resolve Office 365 Performance Challenges
 
Striking Gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...
Striking Gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...Striking Gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...
Striking Gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...
 
Striking Gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...
Striking Gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...Striking Gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...
Striking Gold! How Mobile Marketing Pioneers are Winning the Hearts & Minds o...
 
Web Apps vs Web Site
Web Apps vs Web SiteWeb Apps vs Web Site
Web Apps vs Web Site
 
Web App vs Web Site
Web App vs Web SiteWeb App vs Web Site
Web App vs Web Site
 
Moving to Web 2.0 - Best Practices for Business and Application Migration
Moving to Web 2.0 - Best Practices for Business and Application MigrationMoving to Web 2.0 - Best Practices for Business and Application Migration
Moving to Web 2.0 - Best Practices for Business and Application Migration
 
Maximize Your Magento Site for Dramatic Traffic Sites
Maximize Your Magento Site for Dramatic Traffic SitesMaximize Your Magento Site for Dramatic Traffic Sites
Maximize Your Magento Site for Dramatic Traffic Sites
 
Lotusphere 2012: AD105 - Use IBM Domino and Xpages for your social business
Lotusphere 2012: AD105 - Use IBM Domino and Xpages for your social businessLotusphere 2012: AD105 - Use IBM Domino and Xpages for your social business
Lotusphere 2012: AD105 - Use IBM Domino and Xpages for your social business
 
NHS.uk Digital Innovation and Syndication Strategy
NHS.uk Digital Innovation and Syndication StrategyNHS.uk Digital Innovation and Syndication Strategy
NHS.uk Digital Innovation and Syndication Strategy
 
About Dss 09
About Dss 09About Dss 09
About Dss 09
 
Turning Mobile Apps Into Real Business Opportunity and Success
Turning Mobile Apps Into Real Business Opportunity and SuccessTurning Mobile Apps Into Real Business Opportunity and Success
Turning Mobile Apps Into Real Business Opportunity and Success
 
View - website portfolio
View - website portfolioView - website portfolio
View - website portfolio
 
Performance Management In The New Frontier Of Rich Internet Applications
Performance Management In The New Frontier Of Rich Internet ApplicationsPerformance Management In The New Frontier Of Rich Internet Applications
Performance Management In The New Frontier Of Rich Internet Applications
 
Reverside Company Overview
Reverside Company OverviewReverside Company Overview
Reverside Company Overview
 
Rick Wilson Keynote Miva Merchant Conference 2012
Rick Wilson Keynote Miva Merchant Conference 2012Rick Wilson Keynote Miva Merchant Conference 2012
Rick Wilson Keynote Miva Merchant Conference 2012
 
Beyond CDNs: How to Harness the Next Phase of Innovation in Web Performance
Beyond CDNs: How to Harness the Next Phase of Innovation in Web PerformanceBeyond CDNs: How to Harness the Next Phase of Innovation in Web Performance
Beyond CDNs: How to Harness the Next Phase of Innovation in Web Performance
 

More from Yottaa

2016: The Year to Align Marketing & IT Departments
2016: The Year to Align Marketing & IT Departments2016: The Year to Align Marketing & IT Departments
2016: The Year to Align Marketing & IT DepartmentsYottaa
 
Optimizing Website Performance in the Age of Mobile & Social
Optimizing Website Performance in the Age of Mobile & Social Optimizing Website Performance in the Age of Mobile & Social
Optimizing Website Performance in the Age of Mobile & Social Yottaa
 
NextGen CDNs: Webinar with Dan Rayburn of Frost and Sullivan and Ari Weil of ...
NextGen CDNs: Webinar with Dan Rayburn of Frost and Sullivan and Ari Weil of ...NextGen CDNs: Webinar with Dan Rayburn of Frost and Sullivan and Ari Weil of ...
NextGen CDNs: Webinar with Dan Rayburn of Frost and Sullivan and Ari Weil of ...Yottaa
 
How to Optimize Your Entire Mobile Experience
How to Optimize Your Entire Mobile ExperienceHow to Optimize Your Entire Mobile Experience
How to Optimize Your Entire Mobile ExperienceYottaa
 
Monetizing Mobile: How To Optimize Mobile Engagement and Conversions
Monetizing Mobile: How To Optimize Mobile Engagement and ConversionsMonetizing Mobile: How To Optimize Mobile Engagement and Conversions
Monetizing Mobile: How To Optimize Mobile Engagement and ConversionsYottaa
 
Yottaa State of Web Performance Optimization Group Webinar
Yottaa State of Web Performance Optimization Group WebinarYottaa State of Web Performance Optimization Group Webinar
Yottaa State of Web Performance Optimization Group WebinarYottaa
 
Image-ine That: Image Optimization for Conversion Maximization
Image-ine That: Image Optimization for Conversion MaximizationImage-ine That: Image Optimization for Conversion Maximization
Image-ine That: Image Optimization for Conversion MaximizationYottaa
 
So you want to build a mobile app - HTML5 vs. Native @ the Boston Mobile Expe...
So you want to build a mobile app - HTML5 vs. Native @ the Boston Mobile Expe...So you want to build a mobile app - HTML5 vs. Native @ the Boston Mobile Expe...
So you want to build a mobile app - HTML5 vs. Native @ the Boston Mobile Expe...Yottaa
 
Mobile Optimization Tips from Yottaa - MEGMeetup #1
Mobile Optimization Tips from Yottaa - MEGMeetup #1Mobile Optimization Tips from Yottaa - MEGMeetup #1
Mobile Optimization Tips from Yottaa - MEGMeetup #1Yottaa
 
Managing a Website Performance Optimization (WPO) Project
Managing a Website Performance Optimization (WPO) ProjectManaging a Website Performance Optimization (WPO) Project
Managing a Website Performance Optimization (WPO) ProjectYottaa
 
How GoDaddy Brought Down Millions of Sites – and How to Avoid Being a DNS Out...
How GoDaddy Brought Down Millions of Sites – and How to Avoid Being a DNS Out...How GoDaddy Brought Down Millions of Sites – and How to Avoid Being a DNS Out...
How GoDaddy Brought Down Millions of Sites – and How to Avoid Being a DNS Out...Yottaa
 
An Expert's Guide to Making a Website Slow - Chicago Webmasters Meetup 6/5/2012
An Expert's Guide to Making a Website Slow - Chicago Webmasters Meetup 6/5/2012An Expert's Guide to Making a Website Slow - Chicago Webmasters Meetup 6/5/2012
An Expert's Guide to Making a Website Slow - Chicago Webmasters Meetup 6/5/2012Yottaa
 
Cdn-Summit-2012-mocospace-and-yottaa
Cdn-Summit-2012-mocospace-and-yottaaCdn-Summit-2012-mocospace-and-yottaa
Cdn-Summit-2012-mocospace-and-yottaaYottaa
 
Anti design patterns - an experts guide to making a slow website - yottaa sit...
Anti design patterns - an experts guide to making a slow website - yottaa sit...Anti design patterns - an experts guide to making a slow website - yottaa sit...
Anti design patterns - an experts guide to making a slow website - yottaa sit...Yottaa
 
Yottaa site speed optimizer presentation at mass innovation nights part of fu...
Yottaa site speed optimizer presentation at mass innovation nights part of fu...Yottaa site speed optimizer presentation at mass innovation nights part of fu...
Yottaa site speed optimizer presentation at mass innovation nights part of fu...Yottaa
 
Yottaa website-performance-services-overview-hostingcon-2011-
Yottaa website-performance-services-overview-hostingcon-2011-Yottaa website-performance-services-overview-hostingcon-2011-
Yottaa website-performance-services-overview-hostingcon-2011-Yottaa
 
Mongodb beijingconf yottaa_3.3
Mongodb beijingconf yottaa_3.3Mongodb beijingconf yottaa_3.3
Mongodb beijingconf yottaa_3.3Yottaa
 

More from Yottaa (17)

2016: The Year to Align Marketing & IT Departments
2016: The Year to Align Marketing & IT Departments2016: The Year to Align Marketing & IT Departments
2016: The Year to Align Marketing & IT Departments
 
Optimizing Website Performance in the Age of Mobile & Social
Optimizing Website Performance in the Age of Mobile & Social Optimizing Website Performance in the Age of Mobile & Social
Optimizing Website Performance in the Age of Mobile & Social
 
NextGen CDNs: Webinar with Dan Rayburn of Frost and Sullivan and Ari Weil of ...
NextGen CDNs: Webinar with Dan Rayburn of Frost and Sullivan and Ari Weil of ...NextGen CDNs: Webinar with Dan Rayburn of Frost and Sullivan and Ari Weil of ...
NextGen CDNs: Webinar with Dan Rayburn of Frost and Sullivan and Ari Weil of ...
 
How to Optimize Your Entire Mobile Experience
How to Optimize Your Entire Mobile ExperienceHow to Optimize Your Entire Mobile Experience
How to Optimize Your Entire Mobile Experience
 
Monetizing Mobile: How To Optimize Mobile Engagement and Conversions
Monetizing Mobile: How To Optimize Mobile Engagement and ConversionsMonetizing Mobile: How To Optimize Mobile Engagement and Conversions
Monetizing Mobile: How To Optimize Mobile Engagement and Conversions
 
Yottaa State of Web Performance Optimization Group Webinar
Yottaa State of Web Performance Optimization Group WebinarYottaa State of Web Performance Optimization Group Webinar
Yottaa State of Web Performance Optimization Group Webinar
 
Image-ine That: Image Optimization for Conversion Maximization
Image-ine That: Image Optimization for Conversion MaximizationImage-ine That: Image Optimization for Conversion Maximization
Image-ine That: Image Optimization for Conversion Maximization
 
So you want to build a mobile app - HTML5 vs. Native @ the Boston Mobile Expe...
So you want to build a mobile app - HTML5 vs. Native @ the Boston Mobile Expe...So you want to build a mobile app - HTML5 vs. Native @ the Boston Mobile Expe...
So you want to build a mobile app - HTML5 vs. Native @ the Boston Mobile Expe...
 
Mobile Optimization Tips from Yottaa - MEGMeetup #1
Mobile Optimization Tips from Yottaa - MEGMeetup #1Mobile Optimization Tips from Yottaa - MEGMeetup #1
Mobile Optimization Tips from Yottaa - MEGMeetup #1
 
Managing a Website Performance Optimization (WPO) Project
Managing a Website Performance Optimization (WPO) ProjectManaging a Website Performance Optimization (WPO) Project
Managing a Website Performance Optimization (WPO) Project
 
How GoDaddy Brought Down Millions of Sites – and How to Avoid Being a DNS Out...
How GoDaddy Brought Down Millions of Sites – and How to Avoid Being a DNS Out...How GoDaddy Brought Down Millions of Sites – and How to Avoid Being a DNS Out...
How GoDaddy Brought Down Millions of Sites – and How to Avoid Being a DNS Out...
 
An Expert's Guide to Making a Website Slow - Chicago Webmasters Meetup 6/5/2012
An Expert's Guide to Making a Website Slow - Chicago Webmasters Meetup 6/5/2012An Expert's Guide to Making a Website Slow - Chicago Webmasters Meetup 6/5/2012
An Expert's Guide to Making a Website Slow - Chicago Webmasters Meetup 6/5/2012
 
Cdn-Summit-2012-mocospace-and-yottaa
Cdn-Summit-2012-mocospace-and-yottaaCdn-Summit-2012-mocospace-and-yottaa
Cdn-Summit-2012-mocospace-and-yottaa
 
Anti design patterns - an experts guide to making a slow website - yottaa sit...
Anti design patterns - an experts guide to making a slow website - yottaa sit...Anti design patterns - an experts guide to making a slow website - yottaa sit...
Anti design patterns - an experts guide to making a slow website - yottaa sit...
 
Yottaa site speed optimizer presentation at mass innovation nights part of fu...
Yottaa site speed optimizer presentation at mass innovation nights part of fu...Yottaa site speed optimizer presentation at mass innovation nights part of fu...
Yottaa site speed optimizer presentation at mass innovation nights part of fu...
 
Yottaa website-performance-services-overview-hostingcon-2011-
Yottaa website-performance-services-overview-hostingcon-2011-Yottaa website-performance-services-overview-hostingcon-2011-
Yottaa website-performance-services-overview-hostingcon-2011-
 
Mongodb beijingconf yottaa_3.3
Mongodb beijingconf yottaa_3.3Mongodb beijingconf yottaa_3.3
Mongodb beijingconf yottaa_3.3
 

Best practices to optimize commerce site performance [webinar slides]

  • 1. 11 Best Practices to Optimize Commerce Site Performance Bob Buffone CTO & Co-Founder, Yottaa, Inc. Ilya Mirman VP Marketing, Yottaa, Inc. Yottaa Inc. http://www.yottaa.com © 2012 Yottaa Inc. All Rights Reserved.
  • 2. Agenda 1. Does performance matter? 2. Commerce web: performance challenges 3. Key Metrics & reliable measurements 4. Common performance bottlenecks 5. Optimization techniques Bob: @rockstarapps Ilya: @IlyaMirman 2 © 2012 Yottaa Inc. All Rights Reserved.
  • 3.
  • 4. We want to change the way ecommerce retailers will operate in the future
  • 5. By becoming the trusted resource that merchants use each day to manage and grow their business
  • 6. Retailers don’t need more charts and graphs. They need real intelligence that drives revenue.
  • 7.
  • 8.
  • 9. We Capture 100% of the Data And Have 100% Accuracy • Exact, not approximate data • Account for returns, exchanges and cancelled orders • Access to all ecommerce data • Historical orders • Customer database
  • 10. Over 6000 merchants trust us to help them build their online businesses Across many of the most powerful ecommerce platforms
  • 11. Agenda 1. Does performance matter? 2. Commerce web: performance challenges 3. Key Metrics & reliable measurements 4. Common performance bottlenecks 5. Optimization techniques Bob: @rockstarapps Ilya: @IlyaMirman 11 © 2012 Yottaa Inc. All Rights Reserved.
  • 12. User Experience: Does it Matter? © 2012 Yottaa Inc. All Rights Reserved. © 2011 Yottaa Inc. All Rights Reserved. 12
  • 13. © 2012 Yottaa Inc. All Rights Reserved.
  • 14. The Impact of Speed Average Impact of One Second Delay in Response Time Customer Page Views Conversions Satisfaction 0% -2% -4% -6% -7% -8% -10% -11% -12% -14% • Lost revenues -16% -16% • Brand damage -18% • More support calls • Increase costs Source: Why Web Performance Matters – Gomez, Inc. / Aberdeen Group © 2012 Yottaa Inc. All Rights Reserved.
  • 15. Impact of Page Load Delay… © 2012 Yottaa Inc. All Rights Reserved.
  • 16. Today’s Performance Challenges for Commerce Sites © 2012 Yottaa Inc. All Rights Reserved. © 2011 Yottaa Inc. All Rights Reserved. 16
  • 17. Delivering a Good Experience is Challenging Data Major Last CDNs Geography Browsers Users Centers ISPs Mile 3rd Party Content Performance Uncertainty 100+ factors can create issues for end-users © 2012 Yottaa Inc. All Rights Reserved. 17
  • 18. The Web Has Evolved… Webpages yesterday = Text + Webpages today = highly distributed applications Images from the same domain that execute in a browser Most modern Web pages are complex creations -The CNN home page, for instance, is built by the browser from 53 static images, 39 dynamic images, 3 Flash files, 30 JavaScript files, 29 HTML files and 7 CSS files - to be loaded from 18 domains − Jeff Bezos on Amazon Silk 80%+ web performance is on the front end − Steve Souders, Google Web Performance expert Yesterday: Web client = IE Today web client > 4 browsers + smart phones + tablets Today’s bottleneck: the execution of this distributed Yesterday’s bottleneck: application (webpage) in a browser that spans The delivery of the bits across 10+ domains © 2012 Yottaa Inc. All Rights Reserved. 18
  • 19. Commerce Platforms Site Performance: • Powerful, flexible, Magento vs. Avg Web Site Time-to-Interact extensible 10.0 9.0 • If not managed 8.0 >90% Slower properly, challenges 7.0 Time-to-Interact (sec) with: 6.0 5.0 – Performance 4.0 – Scaling 3.0 2.0 – Visibility 1.0 0 Avg Web Site Avg Magento Site (Sample of (Sample of 3,500 Sites) 2,000 Sites) © 2012 Yottaa Inc. All Rights Reserved.
  • 20. Commerce Sites: Optimization Opportunities • Server-side Tuning – Database and server configuration, PHP acceleration, compiling options, add hardware, etc. • But plenty of performance gains left on the table through: – Front-end Optimization This – Optimized Traffic Routing Webinar – Edge Caching and Delivery of Content © 2012 Yottaa Inc. All Rights Reserved.
  • 21. nytimes.com – 91.2% Page Execution www.nytimes.com loads in 5.16 Seconds: • Page delivery = 0.456/5.16= 8.8% • Page execution = 91.2% Source: http://www.yottaa.com/url/www-nytimes-com-4bdad0b4425bdb0c0300025e/page_load © 2012 Yottaa Inc. All Rights Reserved.
  • 22. Best Practice Establish a Performance Baseline #1 “If you cannot measure it, you cannot improve it.” Lord Kelvin © 2012 Yottaa Inc. All Rights Reserved.
  • 23. Best Practice #1 Front End User Experience © 2012 Yottaa Inc. All Rights Reserved.
  • 24. Characterizing User Experience © 2012 Yottaa Inc. All Rights Reserved.
  • 25. Front End Metrics: A Slice of the Web… 50th percentile 80th percentile 95th percentile Time to Title (msec) 1,259 2,368 4,647 Time to Render (msec) 2,420 4,071 7,160 Time to Display (msec) 5,168 8,780 15,254 Time to Interact (msec) 6,263 10,643 18,494 500 Time to Interact 100% 450 90% 400 Frequency 80% 350 Cumulative % 70% 300 60% 250 50% 200 40% 150 30% 100 20% 50 10% 0 0% Time to Interact (sec.) Source: Yottaa measurement of 3,500 websites, Aug. 2012 © 2012 Yottaa Inc. All Rights Reserved.
  • 26. Visualizing the User Experience Page loading screenshots Video of page loading sequence © 2012 Yottaa Inc. All Rights Reserved.
  • 27. FREE TOOL: websitetest.com © 2012 Yottaa Inc. All Rights Reserved.
  • 28. Visualizing the User Experience Yottaa’s Interactive Waterfall © 2012 Yottaa Inc. All Rights Reserved.
  • 29. Statistically Significant Testing: Why bother? • Everyone else is not 10 feet away from your server  • The internet is a dynamic beast • If you want confidence in your decisions, you need confidence in your measurements © 2012 Yottaa Inc. All Rights Reserved.
  • 30. Variability Across the World Example: Amazon.com © 2012 Yottaa Inc. All Rights Reserved.
  • 31. Variability in Connectivity Connectivity makes a big difference. Think about your experience on your phone compared to your office. © 2012 Yottaa Inc. All Rights Reserved.
  • 32. Variability in Browser Browser differences can create surprising differences • Connection Management • JavaScript Engines • Rendering Speed © 2012 Yottaa Inc. All Rights Reserved.
  • 33. Back End Performance © 2012 Yottaa Inc. All Rights Reserved.
  • 34. Back End Performance Metrics • DNS time (~60 msec): – The length of time the browser required to resolve host name(s) to IP addresses • Connect time (~140 msec): – The length of time spent creating the initial connection to the site • Waiting time (~400 msec): – The length of time spent waiting for the server to begin sending data. • Time to First byte (~500 msec): – The length of time before the first byte of data is received from the server. • Time to last byte (~700 msec): – The length of time before the last byte of the initial request is delivered. © 2012 Yottaa Inc. All Rights Reserved.
  • 35. A Sample of the Web… 50th percentile 80th percentile 95th percentile DNS Time (msec) 60 149 413 Connect Time (msec) 144 188 227 Time to First Byte (msec) 533 1,090 2,418 Time to Last Byte (msec) 721 1,412 3,105 Source: Yottaa measurement of 3,500 websites, Aug. 2012 © 2012 Yottaa Inc. All Rights Reserved.
  • 36. Example: Bad DNS Lookup Times • Reasons – Bad DNS Provider (Not use IP Anycast) – Misconfigured TTL or Records • Finding the problem – Continuous Monitoring – Online DNS Tools (www.dnsstuff.com/) • Fixing it – Choose a good DNS Provider © 2012 Yottaa Inc. All Rights Reserved.
  • 37. Content Size & Complexity © 2012 Yottaa Inc. All Rights Reserved.
  • 38. Summary Metrics: A Sample of the Web… 50th percentile 80th percentile 95th percentile Domains 6 17 33 Asset Count 47 84 152 Asset Weight (Bytes) 690,779 1,557,812 3,393,192 JS Count 8 19 33 JS Size (Bytes) 119,378 346,852 586,442 CSS Count 3 8 16 CSS Size (Bytes) 18,134 60,265 120,000 Image Count 25 48 87 Image Size (Bytes) 318,788 895,948 2,056,237 Source: Yottaa measurement of 3,500 websites, Aug. 2012 © 2012 Yottaa Inc. All Rights Reserved.
  • 39. Continuous Monitoring Best Practice #1 © 2012 Yottaa Inc. All Rights Reserved.
  • 40. Continuous Monitoring Best Practice #1 © 2012 Yottaa Inc. All Rights Reserved.
  • 41. THINGS THAT MAKE YOUR WEBSITE SLOW © 2012 Yottaa Inc. All Rights Reserved. © 2011 Yottaa Inc. All Rights Reserved. 41
  • 42. Lots of Requests • Product owners want rich websites – Rich in User Experience – Rich in Visual Presentation • Achieving richness requires more resources to be downloaded to the client – CSS – HTML – JavaScript – Images © 2012 Yottaa Inc. All Rights Reserved.
  • 43. Content Breakdown © 2012 Yottaa Inc. All Rights Reserved.
  • 44. More Requests  Slower Performance © 2012 Yottaa Inc. All Rights Reserved.
  • 45. Source code of the Website © 2012 Yottaa Inc. All Rights Reserved.
  • 46. Combine Scripts & CSS Best Practice #2 to Reduce Requests Before optimization we have 26 JS files! After optimization we have one JS file that provides a huge performance benefit © 2012 Yottaa Inc. All Rights Reserved.
  • 47. Combine Images with Sprites Best Practice #3 to Reduce Requests .arrowbutton{ display: block; height: 23px; line-height: 22px; font-size: 12px; width: 96px; background: url("<%= image_path('icons/ico.png') %>") no-repeat -49px -8px ;color: #FFFFFF;cursor: pointer; } © 2012 Yottaa Inc. All Rights Reserved.
  • 48. Sprites in Action… CSS sprite Yottaa homepage that leverages the sprite © 2012 Yottaa Inc. All Rights Reserved.
  • 49. Employ Data URIs Best Practice #4 to Reduce Requests Data URI (Uniform Resource Identifier) scheme: method for including data in-line in web pages – allows normally separate elements (e.g., images, style sheets) to be fetched in a single HTTP request rather than multiple. © 2012 Yottaa Inc. All Rights Reserved.
  • 50. Large Resources Ways to make your site slow: • Many of the resources that you need to load can be made fatter than required – HTML, CSS, JavaScript – Add lots of comments and white space – Images • Use images that are larger than displayed on the webpage • Always use the highest quality settings • Turn off gzip compression on your server © 2012 Yottaa Inc. All Rights Reserved.
  • 51. Large Assets  Slower Performance © 2012 Yottaa Inc. All Rights Reserved.
  • 52. Large assets take longer to download © 2012 Yottaa Inc. All Rights Reserved.
  • 53. Large assets take longer to download 776KB © 2012 Yottaa Inc. All Rights Reserved.
  • 54. Use Lossless Image Compression Best Practice #7 to Reduce Asset Weight 459 KB 400 KB © 2012 Yottaa Inc. All Rights Reserved.
  • 55. Use Lossy Image Compression Best Practice #8 to Reduce Asset Weight 459 KB 98 KB © 2012 Yottaa Inc. All Rights Reserved.
  • 56. Large assets take longer to download © 2012 Yottaa Inc. All Rights Reserved.
  • 57. Best Practice Gzip to Reduce Asset Weight #5 © 2012 Yottaa Inc. All Rights Reserved.
  • 58. Minify Scripts Best Practice #6 to Reduce Weight //Get the name of the person var full_name = “Bob Buffone”; Browsers don’t //Now make it awesome care about full_name += “ is awesome”; //Everyone must know this fact comments and $(document).ready(function(){ easy to read code. alert(full_name); }); var n=“Bob Buffone”;n+=“ is awesome”;$(document).read(function(){alert(full_name);}); © 2012 Yottaa Inc. All Rights Reserved.
  • 59. Problem: Serialization (e.g., 3rd Party Plugins) • Bloggers love to make their websites slow using plugins. – Twitter, Facebook, Google Plus, LinkedIn – Photo plugins… • Not utilizing asynchronous loading of 3rd party resources. © 2012 Yottaa Inc. All Rights Reserved.
  • 60. Marketing Loves Social Social adds LOTS of resources -> 86 JavaScript, images and CSS. © 2012 Yottaa Inc. All Rights Reserved.
  • 61. One Facebook Image… © 2012 Yottaa Inc. All Rights Reserved.
  • 62. Best Practice Load 3rd Party Assets Asynchronously #9 <script src=“connect.facebook.net/en_US/all.js”></script> © 2012 Yottaa Inc. All Rights Reserved.
  • 63. Use Domain Sharding for Best Practice #10 Parallel Processing 3 domains for asset loading © 2012 Yottaa Inc. All Rights Reserved.
  • 64. Use Intelligent Script Loaders Best Practice #11 for Parallel Processing © 2012 Yottaa Inc. All Rights Reserved.
  • 65. Summary: Problems & Resolutions Issue Resolution Lots of Requests Reduce # of Requests: • Combine Scripts and Images • Combine images with Sprites • Employ data URIs Large Assets Reduce Asset Weight: • Use Gzip • Minify Scripts • Use Lossy and Lossless Image Compression Serialization Parallel Processing: •Load 3rd Party Assets Asynchronously •Use Domain Sharding •Use Intelligent Script Loaders © 2012 Yottaa Inc. All Rights Reserved.
  • 66. Web Site Challenges • Slow web pages • Unacceptable user experience Performance • Reduced site conversions • Poor search engine rankings • Site outages and page errors Availability • Inability to serve users across geographies, devices, browsers, platforms • Inability to handle high traffic volume, serve users, Scalability process transactions • An overloaded site infrastructure. • Vulnerability to threats from bots, hackers and Security attacks. © 2012 Yottaa Inc. All Rights Reserved. 66
  • 67. The Yottaa Web Optimization Platform Features: Benefits: Features: Benefits: • Content caching • Reduce load on • Global IP anycast • High performance and edge delivery your infrastructure • Globally distributed DNS service • IP Anycast routing • Reduce network data centers • Enterprise-grade • 20+ edge locations latency • Globally redirects traffic management • Integrates with • Improve user request to closest • DNS Shield any CDN experience geographic server for protection Features: Features: • Payload reduction • Traffic blocking and throttling • Request reduction • Resource and bot protection • Parallel processing • Traffic analytics Web Benefits: Benefits: Optimization • Improve user experience • Improve availability, resiliency Network and security • Increase conversions • “Protection as a Service” • Increase search engine rankings • Elastic and adaptive Features: Benefits: Benefits: Features: • See what your • End user experience • Ensure end user • Multivariate testing users see monitoring experience and SLA (locations, browsers, • Eliminate • Intuitive data analysis • Problem detection connection speeds, time) sampling error and visualizations and timely response • Interactive visualizations: • Deep insights • Problem detection, • Actionable intelligence page loading sequence, for tuning site alerting and diagnosis waterfall, assets) performance © 2012 Yottaa Inc. All Rights Reserved.
  • 68. Thank You for your time! yottaa.com © 2012 Yottaa Inc. All Rights Reserved. 68

Editor's Notes

  1. At Jirafe, our goal is to help online retailers understand what makes them money, where they’re losing money and how to increase their revenue by providing intelligence around their marketing and business data.I’m Jesse Middleton:Director of Business Development at JirafePreviously: Founded Backstory and WeWork LabsDirector of Information Technology at LivePerson (NASDAQ: LPSN)
  2. In other words, our software is designed to:-Help merchants understand the information surrounding their businesses-Work with their existing infrastructure and platforms that they already have In place (including Magento, hybris, PrestaShop, Spree, Drupal and more)
  3. -And to provide intelligence and actionable steps to improve marketing and merchandising decision every single day.-This includes: -Web analytics -Ecommerce analytics -Actionable knowledge -Automation (where appropriate) to leave more time for managing the rest of the business-Combine the data from both web analytics (including visits, visitor, referral and bounce pages) and ecommerce data (including customer histories, returned and cancelled orders and abandoned carts).-Both sets of data combined paint the most valid, useful picture of a merchant’s entire business-In addition, our product is designed to be flexible in every way: -API for data and order information that comes direct from the merchant’s backend data store -Multiple users can access Jirafe’s powerful intelligence dashboard -A frontend API for customization of the dashboard and the advanced reports
  4. While most businesses are stuck emailing around each month, pulling together numerous spreadsheets and pouring over them with a fine-toothed comb…
  5. Jirafe provides a simple, elegant interface for understanding and improving a merchant’s business.
  6. By combining the data from the frontend (JavaScript tags) and the backend data store (direct access via our client libraries including PHP, Java and Ruby), merchants get a complete, 100% accurate view, of their orders, returns, revenue and customer data.
  7. -Installed on over 6000 merchant sites around the world including: -Skype -Brooks Brothers -Warner Entertainment -Jennyfer-Supported out of the box by the best ecommerce platforms: -Drupal Commerce -Easy Web Store -hybris -Magento -PrestaShop -Spree