{"id":2325,"date":"2016-05-03T04:47:19","date_gmt":"2016-05-03T09:47:19","guid":{"rendered":"http:\/\/www.migrate2cloud.com\/blog\/?p=2325"},"modified":"2017-02-20T09:16:59","modified_gmt":"2017-02-20T14:16:59","slug":"devops-xcart-mysql-apache","status":"publish","type":"post","link":"https:\/\/www.migrate2cloud.com\/blog\/devops-xcart-mysql-apache\/","title":{"rendered":"DevOps stories 1: working with a high traffic e-commerce portal"},"content":{"rendered":"<p>Looks like this is a good idea to write down first person stories of various DevOps &#8211; Cloud migration scenarios that we come across.<\/p>\n<p>In this particular case we have a beast of a server with 32 processors with 8 cores each &amp; 256 of RAM running LAMP stack, CakePHP &amp;\u00a0<a href=\"http:\/\/x-cart.com\" target=\"_blank\"> X-cart<\/a> shopping cart. And yes, everything is dead slow.<\/p>\n<p>Cleaning up the X-cart cache<\/p>\n<p>By default (?), the cache is at \/var\/www\/html\/cache or [DOCTUMENT_ROOT]\/cache. If there are too many files, you will not be able to delete the files. The following commands can help.<\/p>\n<p><em><code><br \/>\ntouch \/root\/agileblaze\/cache-file-list.txt #empty file<br \/>\nfind . -name '<em>.js' | grep -vFf \/root\/agileblaze\/cache-file-list.txt | xargs \/bin\/rm -f<br \/>\nfind . -name 'sql.<\/em>' | grep -vFf \/root\/agileblaze\/cache-file-list.txt | xargs \/bin\/rm -f<br \/>\nfind . -name 'rf*.php' | grep -vFf \/root\/agileblaze\/cache-file-list.txt | xargs \/bin\/rm -f<br \/>\n<\/code><br \/>\n<\/em><\/p>\n<p>The permanant fix for this X-cart behaviour is to change the following row in the config.php file from:<\/p>\n<p><code>define('USE_SQL_DATA_CACHE', true);<br \/>\nto<br \/>\ndefine('USE_SQL_DATA_CACHE', false);<\/code><\/p>\n<p><strong>MySQL<\/strong><\/p>\n<p>There are tons of issues like a db that is not upgraded, joins without indexes etc. We decided to make use of the RAM &amp; have MySQL MYISAM temporary files in there for faster access. Don&#8217;t forget to create the required directory and add the necessary entries \/etc\/fstab to persist the changes over reboots.<\/p>\n<p>\/etc\/my.cnf is changed as follows<\/p>\n<p><code>tmpdir = \/var\/mysqltmp # changed from \/var\/lib\/mysql\/tmp<\/code><\/p>\n<p>Now that we have some room to look into other matters, things should be easier.<\/p>\n<p>We also had the non-so-friendly max connections error. We increased in the max connections from the default.<\/p>\n<p><code># MAX CONNECTIONS<br \/>\nmax_connections = 300 #Sat Apr 30 03:35:25 CDT 2016<\/code><\/p>\n<p><strong>Slow Queries<\/strong><\/p>\n<p>If the slow query log is enabled, mysqldumpslow can be a very handy command<\/p>\n<p><code><em>[root@714219-db1 mysql]# mysqldumpslow -a -s r -t 10 \/var\/log\/mysql\/slow.log <\/em><\/code><\/p>\n<p><em>Reading mysql slow query log from \/var\/log\/mysql\/slow.log Count: 376687 Time=1.63s (613441s) Lock=0.00s (36s) Rows=203657.1 (76714970948), 2users@localhost SELECT productid, COUNT(remote_ip) AS total, AVG(vote_value) AS rating FROM xcart_product_votes GROUP BY productid<\/em><\/p>\n<p>Controlling the RAM usage<\/p>\n<p>&nbsp;<\/p>\n<p>The RAM usage on GNU\/Linux based systems can be sometimes quite weird. The immediate path taken is to play around with sysctl and tweak <a href=\"https:\/\/en.wikipedia.org\/wiki\/Swappiness\" target=\"_blank\">swappiness<\/a>\u00a0&amp; may be run drop_cache.<\/p>\n<p>ie,<\/p>\n<p>change <em>swappiness<\/em> to say, 10 &amp; do a cache + buffer <a href=\"http:\/\/www.linuxinsight.com\/proc_sys_vm_drop_caches.html\" target=\"_blank\">cleanup<\/a>. But these may not be very handy but the<a href=\"http:\/\/www.linuxinsight.com\/proc_sys_vm_vfs_cache_pressure.html\" target=\"_blank\">\u00a0<strong>\/proc\/sys\/vm\/vfs_cache_pressure <\/strong><\/a>changes seems to help further. (we have it around 512)<\/p>\n<p>Further minimum free memory size is a parameter which can help preventing OOM errors. A sample value is shown below.<\/p>\n<p><code>sysctl -w vm.min_free_kbytes=2621440<\/code><\/p>\n<p>Further:<\/p>\n<p><code>sysctl -w vm.vfs_cache_pressure=1024<br \/>\nsysctl -w vm.swappiness=10<\/code><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Keep an eye on Caches and Buffers<\/strong><\/p>\n<p>This is often something people miss. \u00a0 The difference between free command and the total process usage can give us the Cache + buffer usage. \u00a0slabtop is a very handy command to get exact details.<\/p>\n<p><code><em>slabtop --delay=10 -s c<\/em><br \/>\n<\/code><br \/>\nCan give a neat summary.<\/p>\n<p><a href=\"http:\/\/www.migrate2cloud.com\/blog\/wp-content\/uploads\/2016\/05\/Screenshot-from-2016-05-11-20-28-07.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2337\" src=\"http:\/\/www.migrate2cloud.com\/blog\/wp-content\/uploads\/2016\/05\/Screenshot-from-2016-05-11-20-28-07-300x285.png\" alt=\"Screenshot from 2016-05-11 20-28-07\" width=\"450\" height=\"427\" srcset=\"https:\/\/www.migrate2cloud.com\/blog\/wp-content\/uploads\/2016\/05\/Screenshot-from-2016-05-11-20-28-07-300x285.png 300w, https:\/\/www.migrate2cloud.com\/blog\/wp-content\/uploads\/2016\/05\/Screenshot-from-2016-05-11-20-28-07-768x729.png 768w, https:\/\/www.migrate2cloud.com\/blog\/wp-content\/uploads\/2016\/05\/Screenshot-from-2016-05-11-20-28-07.png 878w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Another very useful tool is <strong>dstat<\/strong><\/p>\n<p>dstat -lrvn 10 output is shown below. This can give colourful details of cache usage.<\/p>\n<div id=\"attachment_2376\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.migrate2cloud.com\/blog\/wp-content\/uploads\/2016\/05\/2017-02-20_19-30-30.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2376\" class=\"wp-image-2376\" src=\"https:\/\/www.migrate2cloud.com\/blog\/wp-content\/uploads\/2016\/05\/2017-02-20_19-30-30.png\" width=\"500\" height=\"241\" \/><\/a><p id=\"caption-attachment-2376\" class=\"wp-caption-text\">the memory, CPU, network, IO columns above gives useful information.<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>How to read dstat :\u00a0<a href=\"https:\/\/tobert.github.io\/pages\/als-cassandra-21-tuning-guide.html\">On a fully warmed-up system, memory should be around 95% in-use, with most of it in the cache column. CPUs should be in use with no more than 1-2% of iowait and 2-15% system time.<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>How to setup automatic updates:<\/p>\n<p>Sometimes it is quite good to have automatic updates in place. For Ubuntu, automatic updates can be done following <a href=\"https:\/\/help.ubuntu.com\/community\/AutomaticSecurityUpdates\">these<\/a> instructions.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Looks like this is a good idea to write down first person stories of various DevOps &#8211; Cloud migration scenarios that we come across. In this particular case we have a beast of a server with 32 processors with 8 cores each &amp; 256 of RAM running LAMP stack, CakePHP &amp;\u00a0 X-cart shopping cart. And [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[132,67],"tags":[123,105,675,187,134,145,433,678,679,213],"class_list":["post-2325","post","type-post","status-publish","format-standard","hentry","category-hosting","category-mysql","tag-cache","tag-devops","tag-information-technology","tag-linux","tag-php","tag-software-development-process","tag-sql","tag-swappiness","tag-sysctl","tag-ubuntu"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Looks like this is a good idea to write down first person stories of various DevOps - Cloud migration scenarios that we come across. In this particular case we have a beast of a server with 32 processors with 8 cores each &amp; 256 of RAM running LAMP stack, CakePHP &amp; X-cart shopping cart. And\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"bobinson\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.migrate2cloud.com\/blog\/Migrate%20to%20Cloud%20|%20DevOps%20stories%201:%20working%20with%20a%20high%20traffic%20e-commerce%20portal%20|%20performance%20tuning\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Migrate to Cloud - we make the clouds rain\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"DevOps stories 1: working with a high traffic e-commerce portal - Migrate to Cloud\" \/>\n\t\t<meta property=\"og:description\" content=\"Looks like this is a good idea to write down first person stories of various DevOps - Cloud migration scenarios that we come across. In this particular case we have a beast of a server with 32 processors with 8 cores each &amp; 256 of RAM running LAMP stack, CakePHP &amp; X-cart shopping cart. And\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.migrate2cloud.com\/blog\/Migrate%20to%20Cloud%20|%20DevOps%20stories%201:%20working%20with%20a%20high%20traffic%20e-commerce%20portal%20|%20performance%20tuning\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2016-05-03T09:47:19+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2017-02-20T14:16:59+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"DevOps stories 1: working with a high traffic e-commerce portal - Migrate to Cloud\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Looks like this is a good idea to write down first person stories of various DevOps - Cloud migration scenarios that we come across. In this particular case we have a beast of a server with 32 processors with 8 cores each &amp; 256 of RAM running LAMP stack, CakePHP &amp; X-cart shopping cart. And\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/devops-xcart-mysql-apache\\\/#blogposting\",\"name\":\"DevOps stories 1: working with a high traffic e-commerce portal - Migrate to Cloud\",\"headline\":\"DevOps stories 1: working with a high traffic e-commerce portal\",\"author\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/author\\\/bobinson\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/05\\\/Screenshot-from-2016-05-11-20-28-07-300x285.png\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/devops-xcart-mysql-apache\\\/#articleImage\"},\"datePublished\":\"2016-05-03T04:47:19-05:00\",\"dateModified\":\"2017-02-20T09:16:59-05:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/devops-xcart-mysql-apache\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/devops-xcart-mysql-apache\\\/#webpage\"},\"articleSection\":\"hosting, MySQL, cache, DevOPS, Information technology, Linux, PHP, Software development process, SQL, Swappiness, Sysctl, Ubuntu\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/devops-xcart-mysql-apache\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/category\\\/mysql\\\/#listItem\",\"name\":\"MySQL\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/category\\\/mysql\\\/#listItem\",\"position\":2,\"name\":\"MySQL\",\"item\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/category\\\/mysql\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/devops-xcart-mysql-apache\\\/#listItem\",\"name\":\"DevOps stories 1: working with a high traffic e-commerce portal\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/devops-xcart-mysql-apache\\\/#listItem\",\"position\":3,\"name\":\"DevOps stories 1: working with a high traffic e-commerce portal\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/category\\\/mysql\\\/#listItem\",\"name\":\"MySQL\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/#organization\",\"name\":\"Migrate to Cloud\",\"description\":\"we make the clouds rain\",\"url\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/author\\\/bobinson\\\/#author\",\"url\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/author\\\/bobinson\\\/\",\"name\":\"bobinson\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/devops-xcart-mysql-apache\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/75ccdce824303bc4f61f39dec0a643a767f9bda27d54a85334ab60120544971f?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"bobinson\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/devops-xcart-mysql-apache\\\/#webpage\",\"url\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/devops-xcart-mysql-apache\\\/\",\"name\":\"DevOps stories 1: working with a high traffic e-commerce portal - Migrate to Cloud\",\"description\":\"Looks like this is a good idea to write down first person stories of various DevOps - Cloud migration scenarios that we come across. In this particular case we have a beast of a server with 32 processors with 8 cores each & 256 of RAM running LAMP stack, CakePHP & X-cart shopping cart. And\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/devops-xcart-mysql-apache\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/author\\\/bobinson\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/author\\\/bobinson\\\/#author\"},\"datePublished\":\"2016-05-03T04:47:19-05:00\",\"dateModified\":\"2017-02-20T09:16:59-05:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/\",\"name\":\"Migrate to Cloud\",\"description\":\"we make the clouds rain\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"DevOps stories 1: working with a high traffic e-commerce portal - Migrate to Cloud","description":"Looks like this is a good idea to write down first person stories of various DevOps - Cloud migration scenarios that we come across. In this particular case we have a beast of a server with 32 processors with 8 cores each & 256 of RAM running LAMP stack, CakePHP & X-cart shopping cart. And","canonical_url":"https:\/\/www.migrate2cloud.com\/blog\/Migrate to Cloud | DevOps stories 1: working with a high traffic e-commerce portal | performance tuning","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.migrate2cloud.com\/blog\/devops-xcart-mysql-apache\/#blogposting","name":"DevOps stories 1: working with a high traffic e-commerce portal - Migrate to Cloud","headline":"DevOps stories 1: working with a high traffic e-commerce portal","author":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/author\/bobinson\/#author"},"publisher":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"http:\/\/www.migrate2cloud.com\/blog\/wp-content\/uploads\/2016\/05\/Screenshot-from-2016-05-11-20-28-07-300x285.png","@id":"https:\/\/www.migrate2cloud.com\/blog\/devops-xcart-mysql-apache\/#articleImage"},"datePublished":"2016-05-03T04:47:19-05:00","dateModified":"2017-02-20T09:16:59-05:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/devops-xcart-mysql-apache\/#webpage"},"isPartOf":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/devops-xcart-mysql-apache\/#webpage"},"articleSection":"hosting, MySQL, cache, DevOPS, Information technology, Linux, PHP, Software development process, SQL, Swappiness, Sysctl, Ubuntu"},{"@type":"BreadcrumbList","@id":"https:\/\/www.migrate2cloud.com\/blog\/devops-xcart-mysql-apache\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.migrate2cloud.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog\/category\/mysql\/#listItem","name":"MySQL"}},{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog\/category\/mysql\/#listItem","position":2,"name":"MySQL","item":"https:\/\/www.migrate2cloud.com\/blog\/category\/mysql\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog\/devops-xcart-mysql-apache\/#listItem","name":"DevOps stories 1: working with a high traffic e-commerce portal"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog\/devops-xcart-mysql-apache\/#listItem","position":3,"name":"DevOps stories 1: working with a high traffic e-commerce portal","previousItem":{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog\/category\/mysql\/#listItem","name":"MySQL"}}]},{"@type":"Organization","@id":"https:\/\/www.migrate2cloud.com\/blog\/#organization","name":"Migrate to Cloud","description":"we make the clouds rain","url":"https:\/\/www.migrate2cloud.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.migrate2cloud.com\/blog\/author\/bobinson\/#author","url":"https:\/\/www.migrate2cloud.com\/blog\/author\/bobinson\/","name":"bobinson","image":{"@type":"ImageObject","@id":"https:\/\/www.migrate2cloud.com\/blog\/devops-xcart-mysql-apache\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/75ccdce824303bc4f61f39dec0a643a767f9bda27d54a85334ab60120544971f?s=96&d=mm&r=g","width":96,"height":96,"caption":"bobinson"}},{"@type":"WebPage","@id":"https:\/\/www.migrate2cloud.com\/blog\/devops-xcart-mysql-apache\/#webpage","url":"https:\/\/www.migrate2cloud.com\/blog\/devops-xcart-mysql-apache\/","name":"DevOps stories 1: working with a high traffic e-commerce portal - Migrate to Cloud","description":"Looks like this is a good idea to write down first person stories of various DevOps - Cloud migration scenarios that we come across. In this particular case we have a beast of a server with 32 processors with 8 cores each & 256 of RAM running LAMP stack, CakePHP & X-cart shopping cart. And","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/devops-xcart-mysql-apache\/#breadcrumblist"},"author":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/author\/bobinson\/#author"},"creator":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/author\/bobinson\/#author"},"datePublished":"2016-05-03T04:47:19-05:00","dateModified":"2017-02-20T09:16:59-05:00"},{"@type":"WebSite","@id":"https:\/\/www.migrate2cloud.com\/blog\/#website","url":"https:\/\/www.migrate2cloud.com\/blog\/","name":"Migrate to Cloud","description":"we make the clouds rain","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Migrate to Cloud - we make the clouds rain","og:type":"article","og:title":"DevOps stories 1: working with a high traffic e-commerce portal - Migrate to Cloud","og:description":"Looks like this is a good idea to write down first person stories of various DevOps - Cloud migration scenarios that we come across. In this particular case we have a beast of a server with 32 processors with 8 cores each &amp; 256 of RAM running LAMP stack, CakePHP &amp; X-cart shopping cart. And","og:url":"https:\/\/www.migrate2cloud.com\/blog\/Migrate%20to%20Cloud%20|%20DevOps%20stories%201:%20working%20with%20a%20high%20traffic%20e-commerce%20portal%20|%20performance%20tuning","article:published_time":"2016-05-03T09:47:19+00:00","article:modified_time":"2017-02-20T14:16:59+00:00","twitter:card":"summary_large_image","twitter:title":"DevOps stories 1: working with a high traffic e-commerce portal - Migrate to Cloud","twitter:description":"Looks like this is a good idea to write down first person stories of various DevOps - Cloud migration scenarios that we come across. In this particular case we have a beast of a server with 32 processors with 8 cores each &amp; 256 of RAM running LAMP stack, CakePHP &amp; X-cart shopping cart. And"},"aioseo_meta_data":{"post_id":"2325","title":null,"description":null,"keywords":[{"label":"DevOps","value":"DevOps"},{"label":"MySQL","value":"MySQL"},{"label":"Performance tuning","value":"Performance tuning"},{"label":"Amazon EC2 Cloud Computing","value":"Amazon EC2 Cloud Computing"},{"label":"X-cart","value":"X-cart"}],"keyphrases":null,"primary_term":null,"canonical_url":"Migrate to Cloud | DevOps stories 1: working with a high traffic e-commerce portal | performance tuning","og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2022-12-27 09:33:08","updated":"2026-07-21 15:34:34","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.migrate2cloud.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.migrate2cloud.com\/blog\/category\/mysql\/\" title=\"MySQL\">MySQL<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tDevOps stories 1: working with a high traffic e-commerce portal\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.migrate2cloud.com\/blog"},{"label":"MySQL","link":"https:\/\/www.migrate2cloud.com\/blog\/category\/mysql\/"},{"label":"DevOps stories 1: working with a high traffic e-commerce portal","link":"https:\/\/www.migrate2cloud.com\/blog\/devops-xcart-mysql-apache\/"}],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/posts\/2325","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/comments?post=2325"}],"version-history":[{"count":14,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/posts\/2325\/revisions"}],"predecessor-version":[{"id":2327,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/posts\/2325\/revisions\/2327"}],"wp:attachment":[{"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/media?parent=2325"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/categories?post=2325"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/tags?post=2325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}