Answer the question
In order to leave comments, you need to log in
How voracious is magento?
Actually, at work, I came across a client site on magento. Attendance is zero (i.e. the site has just been made and there are no visitors there yet).
The site was wildly stupid on the hosting, from the moment the request was sent to the moment the download started, 5-10 seconds passed.
Moved to VPS(OpenVZ 1024M Ram, 2 core=2.4GHz), upgraded apache+php+mysql+memcached+apc, enabled internal magento cache.
As a result, the page starts to give in 1-3 seconds, and not in 5-10.
At the same time, httpd loads the percentage by 120% during these same 1-3 seconds.
Question: this is the normal behavior of magento and I under-optimized something, or most likely the developer added some wildly crooked module of his own and it generates all this load.
Answer the question
In order to leave comments, you need to log in
Try to turn on profiling - then you can find an approximate bottleneck.
in index.php uncomment #Varien_Profiler::enable();
and in the admin panel system->configuration->developer->debug
+enable logging.
magento - not ideal in terms of performance - but not so much that it would load up to 10 seconds, even up to 3 - that's a lot.
Most likely there are third-party modules or just pieces of code that are inserted into templates - which make such a high load.
Try enabling compilation in Magento settings.
It greatly improves performance in some cases.
************************************
addition from 2014-05-19:
One of the ways to speed up by 30 % of any store on Magento is my second (after the Russian assembly of Magento) software product " Fast Core Magento ".
" Fast Magento Core " is a C-based PHP extension (an additional "module" for the PHP interpreter) that replaces some of Magento's most resource-intensive programming areas (functions) with an identical in functionality, but an order of magnitude faster implementation of them in C.
"Fast Magento Core" is compatible with all editions of Magento: Magento Russian Assembly, Magento Community Edition, Magento Enterprise Edition.
"Fast Magento Core" is a tool that is recommended to be used in combination with other ways to speed up Magento: for example, " Full Page Caching " and " Block Caching " modules of Magento Russian Build.
************************************
Moved to VPS(OpenVZ 1024M Ram, 2 core=2.4GHz), upgraded apache+php+mysql+memcached+apc, enabled internal magento cache.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question