{"id":555,"date":"2015-12-22T13:15:12","date_gmt":"2015-12-22T13:15:12","guid":{"rendered":"http:\/\/cloudkul.com\/blog\/?p=555"},"modified":"2017-06-14T11:34:23","modified_gmt":"2017-06-14T11:34:23","slug":"amazon-elastic-cache-make-applications-faster","status":"publish","type":"post","link":"https:\/\/cloudkul.com\/blog\/amazon-elastic-cache-make-applications-faster\/","title":{"rendered":"Amazon Elastic Cache : Make your applications faster"},"content":{"rendered":"<p><strong>Take A Quick Look :<\/strong><\/p>\n<p>Your application is getting popular which is great but its performance suffers under heavy load. You have to fix this problem as users might be giving up due to the slow response. Most importantly, all these tasks of fixing the issue should be done in a manner that you don&#8217;t have to re-engineer with the application.<\/p>\n<p>Amazon elastic cache is a web service that improves the performance of web application by allowing you to retrieve information by fast managed in-memory caches instead of relying entirely on slower disk based databases.Since in-memory cache is quite faster than data retrieval from disk, queries served by amazon elastic cache will return output significantly faster than those that go to the database.<\/p>\n<p>Amazon elastic cache manages time consuming task such as managing persistance, infrastructure provisioning, installing software and patch management. This frees you up to focus on actually building and improving your apps.<\/p>\n<p>Elastic Cache supports two opensource in-memory object caching engines :-<\/p>\n<p><strong>Memcached<\/strong> :\u00a0Memcached is an opensource,high performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load. For more info, follow the link :-\u00a0<a href=\"http:\/\/cloudkul.com\/blog\/memcached-a-distributed-memory-object-caching-system\/\">http:\/\/cloudkul.com\/blog\/memcached-a-distributed-memory-object-caching-system\/<\/a><\/p>\n<p><strong>Redis<\/strong> :\u00a0Redis is an open source, in-memory data structure store, used as database, cache and message broker. For more info, follow the link :-\u00a0<a href=\"http:\/\/cloudkul.com\/blog\/redis-introduction-with-php\/\">http:\/\/cloudkul.com\/blog\/redis-introduction-with-php\/<\/a><\/p>\n<p><strong>How to choose between these two?<\/strong><\/p>\n<p>Application needing a data structure server will find the redis engine more useful.Since redis supports advance data structure, you can augment you database tier to provide feature such as leader board, counting, session management and tracking that are hard to do cost effectively with the relational databases.<\/p>\n<p>On the other hand, many customer may like memcached for its simplicity.<\/p>\n<p><strong>Where to use it?<\/strong><\/p>\n<ul>\n<li>Amazon Elastic cache is being used to build distributed data collection systems and handle real time statistics and metadata associated with mobile applications.<\/li>\n<li>Developers of gaming, social networking,media sharing and analytic apps are often using it to implement caching and speed up their apps.<\/li>\n<\/ul>\n<p><strong>Creating an Amazon Elastic Cache Cluster :<\/strong><\/p>\n<p>Step1: Select Engine &#8211; choose one of the available cache engines. Here, we have selected redis.<\/p>\n<p><a href=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2015\/12\/Screenshot_1.png\" rel=\"attachment wp-att-561\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-561\" src=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2015\/12\/Screenshot_1.png\" alt=\"Screenshot_1\" width=\"976\" height=\"451\" \/><\/a><\/p>\n<p>Step2: Specify cluster details<\/p>\n<p><a href=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2015\/12\/Screenshot_2-1.png\" rel=\"attachment wp-att-562\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-562\" src=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2015\/12\/Screenshot_2-1.png\" alt=\"Screenshot_2\" width=\"974\" height=\"587\" \/><\/a><\/p>\n<p>Step3: Configure advanced settings<\/p>\n<p><a href=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2015\/12\/Screenshot_6-1.png\" rel=\"attachment wp-att-566\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-566\" src=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2015\/12\/Screenshot_6-1.png\" alt=\"Screenshot_6\" width=\"1054\" height=\"595\" \/><\/a><\/p>\n<p>Step4: Review &amp; Launch<\/p>\n<p><a href=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2015\/12\/Screenshot_5-1.png\" rel=\"attachment wp-att-565\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-565\" src=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2015\/12\/Screenshot_5-1.png\" alt=\"Screenshot_5\" width=\"989\" height=\"562\" \/><\/a><\/p>\n<p>Step5: Cluster details<\/p>\n<p><a href=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2015\/12\/Screenshot_4-1.png\" rel=\"attachment wp-att-564\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-564\" src=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2015\/12\/Screenshot_4-1.png\" alt=\"Screenshot_4\" width=\"1118\" height=\"588\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Take A Quick Look : Your application is getting popular which is great but its <a class=\"text-primary\" title=\"read more\" href=\"https:\/\/cloudkul.com\/blog\/amazon-elastic-cache-make-applications-faster\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":5,"featured_media":573,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Amazon Elastic Cache : Make your applications faster - Cloudkul<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudkul.com\/blog\/amazon-elastic-cache-make-applications-faster\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Amazon Elastic Cache : Make your applications faster - Cloudkul\" \/>\n<meta property=\"og:description\" content=\"Take A Quick Look : Your application is getting popular which is great but its [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudkul.com\/blog\/amazon-elastic-cache-make-applications-faster\/\" \/>\n<meta property=\"og:site_name\" content=\"Cloudkul\" \/>\n<meta property=\"article:published_time\" content=\"2015-12-22T13:15:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-06-14T11:34:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2015\/12\/Amazon-Elastic-Cache-Make-your-applications-faster.png\" \/>\n\t<meta property=\"og:image:width\" content=\"848\" \/>\n\t<meta property=\"og:image:height\" content=\"422\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Naina Johari\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudkul.com\/blog\/amazon-elastic-cache-make-applications-faster\/\",\"url\":\"https:\/\/cloudkul.com\/blog\/amazon-elastic-cache-make-applications-faster\/\",\"name\":\"Amazon Elastic Cache : Make your applications faster - Cloudkul\",\"isPartOf\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\"},\"datePublished\":\"2015-12-22T13:15:12+00:00\",\"dateModified\":\"2017-06-14T11:34:23+00:00\",\"author\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/38f7cddff574c7fe989d6ca2df61fc57\"},\"breadcrumb\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/amazon-elastic-cache-make-applications-faster\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudkul.com\/blog\/amazon-elastic-cache-make-applications-faster\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudkul.com\/blog\/amazon-elastic-cache-make-applications-faster\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cloudkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Amazon Elastic Cache : Make your applications faster\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\",\"url\":\"https:\/\/cloudkul.com\/blog\/\",\"name\":\"Cloudkul\",\"description\":\"Host your eCommerce Store on AWS with Optimized Performance\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cloudkul.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/38f7cddff574c7fe989d6ca2df61fc57\",\"name\":\"Naina Johari\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c7a0be3afff58963975900f809e57046?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c7a0be3afff58963975900f809e57046?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"caption\":\"Naina Johari\"},\"url\":\"https:\/\/cloudkul.com\/blog\/author\/naina-johari379\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Amazon Elastic Cache : Make your applications faster - Cloudkul","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudkul.com\/blog\/amazon-elastic-cache-make-applications-faster\/","og_locale":"en_US","og_type":"article","og_title":"Amazon Elastic Cache : Make your applications faster - Cloudkul","og_description":"Take A Quick Look : Your application is getting popular which is great but its [...]","og_url":"https:\/\/cloudkul.com\/blog\/amazon-elastic-cache-make-applications-faster\/","og_site_name":"Cloudkul","article_published_time":"2015-12-22T13:15:12+00:00","article_modified_time":"2017-06-14T11:34:23+00:00","og_image":[{"width":848,"height":422,"url":"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2015\/12\/Amazon-Elastic-Cache-Make-your-applications-faster.png","type":"image\/png"}],"author":"Naina Johari","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/cloudkul.com\/blog\/amazon-elastic-cache-make-applications-faster\/","url":"https:\/\/cloudkul.com\/blog\/amazon-elastic-cache-make-applications-faster\/","name":"Amazon Elastic Cache : Make your applications faster - Cloudkul","isPartOf":{"@id":"https:\/\/cloudkul.com\/blog\/#website"},"datePublished":"2015-12-22T13:15:12+00:00","dateModified":"2017-06-14T11:34:23+00:00","author":{"@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/38f7cddff574c7fe989d6ca2df61fc57"},"breadcrumb":{"@id":"https:\/\/cloudkul.com\/blog\/amazon-elastic-cache-make-applications-faster\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudkul.com\/blog\/amazon-elastic-cache-make-applications-faster\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cloudkul.com\/blog\/amazon-elastic-cache-make-applications-faster\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Amazon Elastic Cache : Make your applications faster"}]},{"@type":"WebSite","@id":"https:\/\/cloudkul.com\/blog\/#website","url":"https:\/\/cloudkul.com\/blog\/","name":"Cloudkul","description":"Host your eCommerce Store on AWS with Optimized Performance","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudkul.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/38f7cddff574c7fe989d6ca2df61fc57","name":"Naina Johari","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c7a0be3afff58963975900f809e57046?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c7a0be3afff58963975900f809e57046?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","caption":"Naina Johari"},"url":"https:\/\/cloudkul.com\/blog\/author\/naina-johari379\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/555"}],"collection":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/comments?post=555"}],"version-history":[{"count":17,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/555\/revisions"}],"predecessor-version":[{"id":579,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/555\/revisions\/579"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/media\/573"}],"wp:attachment":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/media?parent=555"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/categories?post=555"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/tags?post=555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}