Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
Magento Performance Bootcamp
Website Performance Optimization (WPO)
Server Performance Optimization (SPO)
Jira ICT www.jira.nl - @jiraict
Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
Bootcamp itinerary
• SPO• WPO• Magento• Break• Workshop
Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
About me
Ray Bogman• Computer Geek since 1983• Ethical hacker, security specialist• Performance specialist• Founder Jira ICT• Magento Lover since Day One• Joomla/Magento trainer/consultant
Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
My site is getting slower and slower,
what's the problem?
Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
Webmaster Tools - Stress!
Course: http://www.webpagetest.org/forums/showthread.php?tid=10936
Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
What is the problem, how do I fix this?
• Can I fix this myself?• Where do I look?
Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
the Performance Golden Rule [20 - 80%]
“80-90% of the end-user response time is spent on the frontend.Start there.”By Steve Souders
Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
SPOServer Performance Optimization
Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
SPO – Server Performance Optimization
Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
SPO: Update your LAMP stack
• Centos 6.2
• Apache 2.4.1
• Mysql 5.5.23
• PHP 5.3.10
Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
SPO: Setup Caching layer• APC• Memcache• tmpfs• Xcache• Eaccelerator• Zend Optimizer+• Varnish• etc...
Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
SPO: Memcache vs. APC vs. tmpfs• Memcache
– Cache storage– Load balanced– Distributed caching system
• ACP – Non-distributed caching system– Dedicated use, not on shared servers– Opcode cache
• Tmpfs– Temporary file storage– Only “root” can do this– Static files in memory like css/js/html
Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
SPO : Database tuning
• slow_queries_log• Mysqltuner
Known problem:Magento 1.6.1 < older issues w/ Mysql 5.1
Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
WPOWebsite Performance Optimization
Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
WPO: What to do
• Reduce the number of HTTP requests• CSS Sprites● Compress your content (Gzip)● Keep-Alive● Deflate/Expires content● Reduce the image size (WebP, etc...)● Use a Content Delivery Network (CDN)● Optimize .htacces● Cookie free domain for static content
Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
WPO: Before optimized .htaccess
Source:http://www.webpagetest.org/result/120524_F0_CBM/5/performance_optimization/#cache_static_content
Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
WPO: After optimized .htaccess
Source:http://www.webpagetest.org/result/120524_G5_CFZ/4/performance_optimization/#cache_static_content
Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
MPOMagento Performance Optimization
Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
How to optimize Magento?
• Flat Product, Flat Catalog● Compilation● Caching
● Nitrogento● Ez Zoom● Full Page Cache Pro● Advanced Block Cache
● Less Modules or turn them off● Not to many JS frameworks
Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
Testing & Measuring
• ab• siege• curl-loader• httperf• new-relic• gtmetrix• webpagetest• etc...
Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
Techniques & Resources
•YSlow (Firebug/Firefox plugin)
•Google Page Speed (Firefox/Chrome plugin)
•Webpagetest.org•Gtmetrix.com •Whatsmyip.org/http_compression•Smushit.com/ysmush.it•Host-tracker.com•CSS Sprites (CSS technique)
•CDN (Content Delivery Network)
•Byte Internet (Magento hosting provider)
•CloudVPS (Magento VPS images created by Jira)
Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
More Jira ICT
•WPO/SPO audits– jira.nl/speed
•Training & demo-days– www.magento-competence-center.com/– cursus.jira.nl
Ray Bogman [[email protected]]www.jira.nl
Magento Performance Bootcamp
Thank [email protected]
#jiraict
www.jira.nlhttp://www.slideshare.net/jiraicthttp://www.facebook.com/jiraict
Top Related