How to Increase Magento’s Performance with Memcached ?

Performance has been an issue for many Magento implementations. Over the years, retailers have faced a few discomforts during their peak seasons. To overcome these bottlenecks, Magento has provided a few caching mechanisms that help to improve the performance of the eCommerce websites. Let’s have a look at the implementation process of a popular, distributed memory caching system known as Memcached.

Memcached is a powerful caching system which is easy to deploy and can handle complex data caching processes. Magento by default, has an internal cache mechanism which works well for smaller level eCommerce websites. As the website grows with increased visitors, the internal caching mechanism will not be able to handle the huge data. Memcached has a dynamic and swift backend mechanism which handles the cache data in an efficient manner.

To begin, memcached should be configured in local.xml file which is present in app/etc/ directory.

While configuring Memcached, we should be aware of both the one level and two level caching systems in Magento. While the data is stored in Memcached for the first level, in the second level, the cached data is stored in the internal database. In such cases, the size of the database has to be continuously monitored (especially the core_cache_tag table). It’s recommended to have cron jobs which monitor and clears out the database for specified limits.

If the admin module is really slow to respond, we should monitor the records in sales_flat_quote table for community edition, and for the enterprise edition enterprise_customer_sales_flat_quote table should be tracked on a regular basis.

Be the first to Know

Written By

Jeya is a Magento Developer plus and Magento Front End Developer certified Software Engineer. She is self motivated and early adopter to new technologies.
She is successful risk taker and a pragmatic developer and a realist. She loves playing with her kid.