Magento performance

765 views
632 views

Published on

5 most common errors in Magento and how to fix them

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

No Downloads
Views
Total views
765
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
20
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • Magento performance

    1. 1. Magento – performance/optimalisation Marek Borzęcki
    2. 2. • Serwer Gearman – it allows to process asynchronically and synchronically • FACT-finder – advanced search engine • Cacheing on many levels • Clients in 2 types: OPEN and PARTNER Sklep.tim.pl –elektrotechnical stuff Conquer the 5 Most Common Magento Coding Issues to Optimize Your Site for Performance - Magento Expert Consultin Group
    3. 3. Magento Expert Consulting Group Top 5 Magento PHP code performance lSpurce: http://Conquer_the_5_Most_Common_Magento_Coding_Issues_to_Optimize_Your_Site_for_Performance.pdf
    4. 4. WRONG OK 1. SQL queries inside a loop
    5. 5. 1. SQL queries inside a loop ... larray of Magento lproducts l12 GB RAM l16x Intel® Xeon® CPU lrunning at 2.40GHz lPHP 5.3.19
    6. 6. 1. SQL queries inside a loop ...
    7. 7. 1. SQL queries inside a loop ...
    8. 8. 2. Loading the same model multiple times WRONG OK
    9. 9. 2. Loading the same model multiple times ...
    10. 10. 3. Redundant dataset utilization WRONG OK
    11. 11. 3. Redundant dataset utilization ... WRONG OK
    12. 12. 3. Redundant dataset utilization ... WRONG OK
    13. 13. 4. Calculating the size of an array on each iteration of a loop WRONG OK
    14. 14. 4. Calculating the size of an array on each iteration of a loop ... larray of Magento lproducts l12 GB RAM l16x Intel® Xeon® CPU lrunning at 2.40GHz lPHP 5.3.19
    15. 15. 5. Inefficient memory utilization WRONG OK
    16. 16. • Some operations are done with SQL eg. Via WHERE or JOIN • die() oraz exit() – unexpected system behavior • It is not allowed to use business logic in PHTML Others
    17. 17. • Always put attention to the critical parts of code • Think clearly and use reasonable arguments • Think in advance Summary

    ×