The Importance of Site Performance and Simple Steps To Achieve It
The Importance of Site Performance and Simple Steps To Achieve It
The Importance of Site Performance and Simple Steps To Achieve It
Detroit, MI USA
Todays Topics
Why is site performance important? What should our definition of performance be? Evidence and anecdotes Where do I start? Simple steps to achieving speed Infrastructure Magento Beyond Side-effects of increasing site performance
Anecdotal Evidence
Just think about it... slow.means.frustrating. Metrics aside - you know slow when you see it! Theres rarely an upside to a site loading slow
Unless its your competitors Mobile adds a new variable (3G is essentially dial-up) An un-optimized Magento Enterprise is slow out-of-the-box ~3 second load times are typical before adding extensions
Where to Start?
Start simple how does the site feel? Gather metrics Web Page Test (http://www.webpagetest.org/) Google Analytics Yahoos Yslow (browser plug-in) New Relic & other paid tools Tackle one issue at a time, test, repeat Big gains are possible with targeted optimization Remember Paretos Principal (the 80/20 rule)
isare only .36 seconds! (was .75) RepeatTTFB pages served at just over a second! (was ~1)
FPC DISABLED
FPC ENABLED
Edge Tuning
CDN configured
Simple server-side Image compression is changes make best these done by your perform design team
TTFB largely The unaffected second was(as largely expected) gained here (was 1.6)
Performance Step #4
Make use of good 3rd party extensions
Performance isnt always simple Nexcess/Turpentine can be part of the answer Beware of bad 3rd party extensions May induce slowness (complex or non-optimal queries) May include slow off-server content Test all extensions for performance before using in production! Strike a usability balance between performance and features
Pushing It Further
Our lowest TTFB yet! (was .38) Even with all optimizations ON there is still variance
~550 transactions/sec
~120 transactions/sec
Dont Forget
Performance is not a one-time activity (monitor often) The 80/20 rule is a good guide Make performance part of your design/development process Choose extensions based on a performance SLA Make sure your developers understand how to design/code for performance All 3rd party extensions are not created equal! Software/code optimization can only go so far hardware can help Dedicated admin, database and web servers may be needed
Final Thoughts
Performance matters and ROI can be considerable Slow = frustrating The biggest sites on the Internet have seen measurable bottom-line gains when focusing on performance Tune: The environment (find the right Magento Hosting Partner) Magento The edge 3rd party extensions Many optimization techniques are easy/free
More Information
Our Magento Performance Whitepaper is available at: http://www.nexcess.net/magento-best-practices-whitepaper
Thank you!
Questions?
References
http://www.nexcess.net/magento-best-practices-whitepaper http://blog.kissmetrics.com/loading-time/ http://blog.mozilla.org/metrics/category/website-optimization/ http://www.webperformancetoday.com/2012/02/28/4-awesomeslides-showing-how-page-speed-correlates-to-business-metrics-atwalmart-com/ http://programming.oreilly.com/2009/07/velocity-making-your-sitefast.html