Your SlideShare is downloading. ×
Magento Performance Bootcamp
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Magento Performance Bootcamp

1,919
views

Published on

Magento Performance Bootcamp at Jira ICT - 25 mei 2012

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
1,919
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
19
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 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. Magento Performance BootcampBootcamp itinerary• SPO• WPO• Magento• Break• Workshop Ray Bogman [ray@jira.nl] www.jira.nl
  • 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. Magento Performance BootcampMy site is getting slowerand slower,whats the problem? Ray Bogman [ray@jira.nl] www.jira.nl
  • 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. 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. 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. Magento Performance Bootcamp SPOServer Performance Optimization Ray Bogman [ray@jira.nl] www.jira.nl
  • 9. Magento Performance BootcampSPO – Server Performance Optimization Ray Bogman [ray@jira.nl] www.jira.nl
  • 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. Magento Performance BootcampSPO: Setup Caching layer • APC • Memcache • tmpfs • Xcache • Eaccelerator • Zend Optimizer+ • Varnish • etc... Ray Bogman [ray@jira.nl] www.jira.nl
  • 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. 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. Magento Performance BootcampSPO: Slow SQL log Ray Bogman [ray@jira.nl] www.jira.nl
  • 15. Magento Performance Bootcamp WPOWebsite Performance Optimization Ray Bogman [ray@jira.nl] www.jira.nl
  • 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. 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. 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. Magento Performance Bootcamp MPOMagento Performance Optimization Ray Bogman [ray@jira.nl] www.jira.nl
  • 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. Magento Performance Bootcamp AuditHow do we test? Ray Bogman [ray@jira.nl] www.jira.nl
  • 22. Magento Performance BootcampTesting & Measuring • ab • siege • curl-loader • httperf • new-relic • gtmetrix • webpagetest • etc... Ray Bogman [ray@jira.nl] www.jira.nl
  • 23. Magento Performance BootcampWaterfall Ray Bogman [ray@jira.nl] www.jira.nl
  • 24. Magento Performance BootcampLets get to work Live case Ray Bogman [ray@jira.nl] www.jira.nl
  • 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. 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. 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

×