30.06.2016 Views

Magento Site Performance Optimization

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Caching Them All<br />

6. At this point, Lesti::Fpc is fully functional but doesn't use APC or the<br />

memcached we settled earlier. In order to let Lesti:: Fpc use them, we have<br />

to rename the app/etc/fpc. xml. sample to app/etc/fpc.xml under<br />

<strong>Magento</strong>_Home.<br />

7. Locate the section related to APC and memcached in app/etc/fpc.xml and<br />

modify these sections so that they look like the one we added in app/etc/<br />

local.xml in the previous two sections.<br />

Let's have a look at the performances now that we have done so much in our<br />

<strong>Magento</strong> server:<br />

This is ApacheBench, Version 2.3 <br />

Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br />

Licensed to The Apache Software Foundation, http://www.apache.org/<br />

Benchmarking 192.168.0.103 (be patient).....done<br />

Server Software: nginx<br />

Server Hostname: 192.168.0.103<br />

Server Port: 80<br />

Document Path:<br />

/index.php/furniture/living-room.html<br />

Document Length: 35611 bytes<br />

Concurrency Level: 5<br />

Time taken for tests: 29.797 seconds<br />

Complete requests: 100<br />

Failed requests: 0<br />

Write errors: 0<br />

Total transferred: 3616000 bytes<br />

HTML transferred: 3561100 bytes<br />

Requests per second: 3.36 [#/sec] (mean)<br />

Time per request: 1489.826 [ms] (mean)<br />

Time per request: 297.965 [ms] (mean, across all concurrent<br />

requests)<br />

Transfer rate:<br />

118.51 [Kbytes/sec] received<br />

Connection Times (ms)<br />

min mean[+/-sd] median max<br />

Connect: 0 3 20.8 0 208<br />

[ 68 ]<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!