Your SlideShare is downloading. ×

OpenXcell - Magento Optimization Webinar 2013

411
views

Published on

Magento Optimization – Challenges and Solutions …

Magento Optimization – Challenges and Solutions

• Major challenges for optimization of Magento in detail
• Best possible solutions to overcome the major
challenges
• Complete process understanding with help of work flow for Magento optimization
• Roles and benefits of Cloud Server for Magento optimization through our own experience (Amazon Cloud Server)

Published in: Technology

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
411
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
13
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. A brief about Openxcell Technolabs • Openxcell Technolabs is an ISO 9000:2008 certified company located in India and USA • We are a team of enthusiastic designers, Developers and managers exceeding the strength of 200 • We have strong hold in Mobile App Development, Game Development, Web Development, E-commerce Development and Enterprise Systems • We have delivered quality solutions to our worldwide clientele
  • 2. WHY MAGENTO OPTIMIZATION
  • 3. Why Magento Optimization • Various studies and our own experience shows that the overall performance of Magento is slow • Optimization is required to speed up Magento • Below is a chart showing the research outcomes for Magento performance without optimization
  • 4. A comparison of Magento performance before optimization and after optimization
  • 5. WHY DOES PERFORMANCE MATTER?
  • 6. WHY DOES PERFORMANCE MATTER? • 1 Second delay can cause 7% drop in conversions • Nearly 1/2 of users expect 2 second or less page load time and they tend to abandon if not loaded in 3 seconds • 79% of shoppers say they won’t return if performance is poor • 44% say they would tell a friend about their poor experience • A Bad Experience Will Drive – 46% of users to competitive sites – 35% are less likely to visit a problem site on any platform – 33% are less likely to purchase from that company • Reference: - http://bit.ly/zVcxsP, http://bit.ly/mHFVVX, http://mz.cm/W5Pkx7, http://bit.ly/xfvPMC, http://bit.ly/yOlHQv
  • 7. HOW FAST ARE YOU NOW
  • 8. Google Analytics Site Speed Reports
  • 9. GT Metrix
  • 10. WAYS TO OPTIMIZE MAGENTO
  • 11. Ways to Optimize Magento Challenges & Solutions • Large number of JAVASCRIPT and CSS • Slow performance due to multiple associated tables • High number of database log tables • Slow performance due to image loading • Improve performance with caching • Cloud Server
  • 12. LARGE NUMBER OF JAVASCRIPT & CSS
  • 13. Large number of JAVASCRIPT & CSS • Large number of JAVASCRIPT and CSS creates higher no. of HTTP request. • Response time will go on a higher side because of higher no. of HTTP request and system will be slow.
  • 14. Solution Merge CSS and JAVASCRIPT files into single file: • In the Magento Admin, go to System > Configuration > Developer. • Under "Javascript Settings", change "Merge Javascript Files" to YES. • Under "CSS Settings", change "Merge CSS Files" to YES. • Clear the cache.
  • 15. Solution
  • 16. SLOW PERFORMANCE DUE TO MULTIPLE ASSOCIATED TABLES
  • 17. Slow performance due to multiple associated tables • One of the main issues with Magento sites running slowly, is a database that has become large and difficult to use for sending/retrieving data from. • The model Magento uses to store customer and product data results in longer than average SQL queries and more reads. • Enabling the Flat Catalog option for Categories and Products will merge product data into one table, therefore improving performance.
  • 18. Solution Enabling Fat Catalog: • Login to administration area and go to - System > Configuration > Catalog • Under "Frontend", change "Use Flat Catalog Category" to yes • Under "Frontend", change "Use Flat Catalog Product" to yes • Clear your Magento cache
  • 19. HIGH NUMBER OF DATABASE LOG TABLES
  • 20. High number of database log tables • Higher number of database logs creates higher response time in system • Below is the table that are populated due to logging feature of Magento
  • 21. Solution Database log cleaning using Magento administration • In Magento administration go to System > Configuration • In the left menu under Advanced click on System • Under "Log Cleaning", change "Enable Log Cleaning" to YES and configure the Save Log days as per your requirement • Click "Save Config"
  • 22. SLOW PERFORMANCE DUE TO IMAGE LOADING
  • 23. Slow performance due to image loading • There are large number of images in any ecommerce store. • On an average a product has more than 3 images and number of products can be unlimited. • So its very necessary to optimize the images used in Magento store. • Optimization of images prevents the system from higher response time.
  • 24. • Choose the correct format for the image - JPG, GIF, PNG8, PNG24 • JPG is great for photographic images • GIF largely replaced by PNGs, but still sometimes a viable option for small patterns and textures • PNG combines some of the best qualities of both and with PNG24 supports true transparency
  • 25. IMPROVE PERFORMANCE WITH CACHING
  • 26. Improve performance with caching • Setup your admin for maximum performance. • These are the settings that will significantly speed up your Magento installation: Navigate to System > Cache Management and enable all cache types • Below is the default caching provided by Magento
  • 27. • Enabling caching option that Magento provides is not enough • So we need to use 3rd party caching extension for full page caching • Example: Nitrogento (http://www.nitrogento.com/) First install the extension
  • 28. Drawback of using full page caching : Enabling caching of every block with nitrogento causes different issues as below- • Caching of Price block shows incorrect price for various products • Wrong data in checkout processes
  • 29. Implement Varnish • Why Varnish – HTTP Accelerator – Caching reverse proxy – Load Balancer – Fail over system
  • 30. Before & After Before Varnish After Varnish
  • 31. Extension Required : Turpentine- Varnish Cache http://www.magentocommerce.com/magento-connect/turpentine-6332.html
  • 32. Install and Configure Varnish • Add the Repository • Install the Package • Configure the Daemon • Service nginx restart • Service php5 - fpm restart • Service Varnish restart • Varnish Start • Please follow the below link for detail understanding of the process. http://todsul.com/tech/install-and-configure-varnish-with-nginx/
  • 33. AMAZON CLOUD SERVER
  • 34. Cloud Server The most important Amazon services for Magento hosting • Amazon Elastic Compute Cloud (EC2) • Auto Scaling • Elastic Load Balancing • Amazon CloudFront (CDN) • Amazon Relational Database Services (RDS) • Amazon Route 53 • Amazon ElastCache • Amazon Simple Storage Services (Amazon S3)
  • 35. Benefits of Amazon cloud server: • Flexibility • Deployment Speed • Performance • Increase in capacity to accommodate higher number of visitors • Better conversion rate • Lower hosting cost through improve hardware efficiency