Magento Performance Bootcamp

2,434 views

Published on

Magento Performance Bootcamp at Jira ICT - 25 mei 2012

Published in: Education, Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,434
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
23
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Magento Performance Bootcamp

  1. 1. Magento Performance Bootcamp Magento Performance Bootcamp Website Performance Optimization (WPO) Server Performance Optimization (SPO) Ray Bogman [ray@jira.nl]Jira ICT www.jira.nl - @jiraict www.jira.nl
  2. 2. Magento Performance BootcampBootcamp itinerary• SPO• WPO• Magento• Break• Workshop Ray Bogman [ray@jira.nl] www.jira.nl
  3. 3. Magento Performance BootcampAbout 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 [ray@jira.nl] www.jira.nl
  4. 4. Magento Performance BootcampMy site is getting slowerand slower,whats the problem? Ray Bogman [ray@jira.nl] www.jira.nl
  5. 5. Magento Performance Bootcamp Webmaster Tools - Stress!Course: http://www.webpagetest.org/forums/showthread.php?tid=10936 Ray Bogman [ray@jira.nl] www.jira.nl
  6. 6. Magento Performance BootcampWhat is the problem, how do I fix this? • Can I fix this myself? • Where do I look? Ray Bogman [ray@jira.nl] www.jira.nl
  7. 7. Magento Performance Bootcampthe Performance Golden Rule [20 - 80%]“80-90% of the end-user response time isspent on the frontend. Ray Bogman [ray@jira.nl]Start there.” www.jira.nlBy Steve Souders
  8. 8. Magento Performance Bootcamp SPOServer Performance Optimization Ray Bogman [ray@jira.nl] www.jira.nl
  9. 9. Magento Performance BootcampSPO – Server Performance Optimization Ray Bogman [ray@jira.nl] www.jira.nl
  10. 10. Magento Performance BootcampSPO: Update your LAMP stack • Centos 6.2 • Apache 2.4.1 • Mysql 5.5.23 • PHP 5.3.10 Ray Bogman [ray@jira.nl] www.jira.nl
  11. 11. Magento Performance BootcampSPO: Setup Caching layer • APC • Memcache • tmpfs • Xcache • Eaccelerator • Zend Optimizer+ • Varnish • etc... Ray Bogman [ray@jira.nl] www.jira.nl
  12. 12. Magento Performance BootcampSPO: 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 Ray Bogman [ray@jira.nl] – Only “root” can do this www.jira.nl – Static files in memory like css/js/html
  13. 13. Magento Performance BootcampSPO : Database tuning • slow_queries_log • Mysqltuner Known problem: Magento 1.6.1 < older issues w/ Mysql 5.1 Ray Bogman [ray@jira.nl] www.jira.nl
  14. 14. Magento Performance BootcampSPO: Slow SQL log Ray Bogman [ray@jira.nl] www.jira.nl
  15. 15. Magento Performance Bootcamp WPOWebsite Performance Optimization Ray Bogman [ray@jira.nl] www.jira.nl
  16. 16. Magento Performance BootcampWPO: 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 [ray@jira.nl] www.jira.nl
  17. 17. Magento Performance Bootcamp WPO: Before optimized .htaccess Ray Bogman [ray@jira.nl]Source: www.jira.nlhttp://www.webpagetest.org/result/120524_F0_CBM/5/performance_optimization/#cache_static_content
  18. 18. Magento Performance Bootcamp WPO: After optimized .htaccess Ray Bogman [ray@jira.nl]Source: www.jira.nlhttp://www.webpagetest.org/result/120524_G5_CFZ/4/performance_optimization/#cache_static_content
  19. 19. Magento Performance Bootcamp MPOMagento Performance Optimization Ray Bogman [ray@jira.nl] www.jira.nl
  20. 20. Magento Performance BootcampHow 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 [ray@jira.nl] www.jira.nl
  21. 21. Magento Performance Bootcamp AuditHow do we test? Ray Bogman [ray@jira.nl] www.jira.nl
  22. 22. Magento Performance BootcampTesting & Measuring • ab • siege • curl-loader • httperf • new-relic • gtmetrix • webpagetest • etc... Ray Bogman [ray@jira.nl] www.jira.nl
  23. 23. Magento Performance BootcampWaterfall Ray Bogman [ray@jira.nl] www.jira.nl
  24. 24. Magento Performance BootcampLets get to work Live case Ray Bogman [ray@jira.nl] www.jira.nl
  25. 25. 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 [ray@jira.nl] www.jira.nl
  26. 26. Magento Performance BootcampMore Jira ICT•WPO/SPO audits – jira.nl/speed•Training & demo-days – www.magento-competence-center.com/ – cursus.jira.nl Ray Bogman [ray@jira.nl] www.jira.nl
  27. 27. Magento Performance Bootcamp Thank you ray@jira.nl #jiraict www.jira.nlhttp://www.slideshare.net/jiraicthttp://www.facebook.com/jiraict Ray Bogman [ray@jira.nl] www.jira.nl

×