MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

Important Tips to speed up your Magento Store and Improve your Store Performance

Published on 01 August 17
0
0

The recent research shows that most of the customers (approximately 62%) who are frequent online buyers are not satisfied with the online shoppers they are not willing to visit again to slow online retailers again. 60% of the above customers are not ready to visit the same website again and rest of the customers would like to buy the product from a competitor.

Having such a substantial statistics the Magento development companies and their developers sometime get confused on one hand they wants the application to be multi-functional and on the other hand they also have to take care of the speed. And the intension is always to make the extension work as fast as possible.

Performance optimization is best possible way for Magento website development companies to tackle these kind of situation. Two factors should be taken into consideration for optimizing a website:

1. Loading speed for acceptable speed.

2. Acceptable pages loading speed when the same application is used by number of people.

There has been one common advice in last 4 decades regarding the response time is:

0.1 Second is the time in which system should react instantaneously which make the user feel that no time is wasted in displaying the result. No feedback is required during this process.

1.0 Is the time limit when the user don’t feel the access interruption even though they encountered the delay. In the time period of 0.1 to 1.0 second no feedback is required but user started to skip using the data.

10.0 seconds are the time when you need to bind the user to stay focused to the website. For the delays of this much extent it has been predicted that user will be involved or be migrated into other work , so here comes the use of feedback to indicate when the system is expected to be done and the user is able to use the data. Feedback is important when the delay is too long and users are not aware till what time the computer process will be done.

Now we’ll consider all the above analysis and try to maintain the page loading speed within 0.1 – 1.0 seconds by optimizing Magento performance having the load of around 20 competitive requests.

What we have

Server: · CPU: Intel® xxx ·

Memory: xGB ·

HDD: xHDD, non-RAID

Magento CE 1.7.0.0
What we should do
1. Select a tool to measure Magento application performance
http_load
For testing the throughput of a web server, http_load runs many http fetches in parallel. All the fetched run in a single process so it doesn’t mire the system.
Apache HTTP server benchmarking tool
To benchmark your Hyper Text Transfer Protocol (HTTP) server this tool is used. It provides the performance report the apache server. Especially this tool shows you the number of pages your server is fetching per second.
Siege
The tool utility is to test load and benchmarking. This tool helps the developers to know about the code durability and the ability of code to stand on the internet. Siege supports basic protocols like HTTPS, HTTP, authentication and cookies.
Apache JMeter
This is an open source software, it has been designed to load test functional behavior and measure its performance. Performance test can be applied on both static and dynamic resources, using this tool. Simulating heavy load of the server, network or object to analyze performance and strength of different type of loads. You can test the server/script/object under heavy concurrent load, this can be used for graphical analysis as well.
2. Select OS for server

Here you are free to use whatever is available or what your service provider is offering to you:

· BSD: FreeBSD, OpenSD, etc. · Debian: Debian, Ubuntu · Gentoo, Slackware · RHEL
3. Selecting webserver with PHP
Apache + mod_php
It is the most popular application environment.
Nginx + Apache + mod_php
Having Nginx before Apache helps increasing the page loading speed and also influence the page generation speed.
Nginx + php-fpm
This is least popular in web hosting control panels till date. But as per the experiments this is 30% faster than apache.
Important Tips to speed up your Magento Store and Improve your Store Performance - Image 1
To avoid big mistakes you must be careful with Nginx settings
Forbid access to Magento catalogs

location/app/{deny all;}

location ~ ^.ht {deny all;}

location /.svn/ {deny all;}
Disable logging where it is not necessary

location/media/catalog/{

access_log off; }

location /js/ {

access_log off; }
Turn on compression for js and css

location/media/js/{

gzip on;

gzip_min_length 1000;

gzip_disable MSIE[1-6]\.;

expires 5d; access_log off; }
Enlarge the FastCGI response time
fastcgi_read_timeout
4. Select PHP 5.3.* or PHP 5.4.*

There are 2 advantages to go with PHP 5.4.*:

  • Faster than others.
  • You can use other language construction later.
  • In case of migration it create problems.

Important Tips to speed up your Magento Store and Improve your Store Performance - Image 2
5. Number of child processes can be changed In PHP-FPM but it depends on your hardware.
6. Memcached can be moved to user’s session.
7. Cache can be moved to APC or memcached.
8. Higher values should be set in the settings of PHP – realpath_cache_size and realpath_cache_ttl.
Conclusion:
Important Tips to speed up your Magento Store and Improve your Store Performance - Image 3
The above graph shows the change in optimization of Magento performance after the implementation of different tools and servers we have discussed above. As you can see the server optimization results reduces the rendering speed by 3 times as earlier and also reducing the price of hardware.
This blog is listed under Development & Implementations and E-Commerce Community

Related Posts:
Post a Comment

Please notify me the replies via email.

Important:
  • We hope the conversations that take place on MyTechLogy.com will be constructive and thought-provoking.
  • To ensure the quality of the discussion, our moderators may review/edit the comments for clarity and relevance.
  • Comments that are promotional, mean-spirited, or off-topic may be deleted per the moderators' judgment.
You may also be interested in
 
Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top