Magento performance
 

Magento performance

on

  • 285 views

5 most common errors in Magento and how to fix them

5 most common errors in Magento and how to fix them

Statistics

Views

Total Views
285
Views on SlideShare
284
Embed Views
1

Actions

Likes
1
Downloads
15
Comments
0

1 Embed 1

http://www.slideee.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17

Magento performance Magento performance Presentation Transcript

  • Magento – performance/optimalisation Marek Borzęcki
  • • 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
  • 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
  • WRONG OK 1. SQL queries inside a loop
  • 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
  • 1. SQL queries inside a loop ...
  • 1. SQL queries inside a loop ...
  • 2. Loading the same model multiple times WRONG OK
  • 2. Loading the same model multiple times ...
  • 3. Redundant dataset utilization WRONG OK
  • 3. Redundant dataset utilization ... WRONG OK
  • 3. Redundant dataset utilization ... WRONG OK
  • 4. Calculating the size of an array on each iteration of a loop WRONG OK
  • 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
  • 5. Inefficient memory utilization WRONG OK
  • • 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
  • • Always put attention to the critical parts of code • Think clearly and use reasonable arguments • Think in advance Summary