{"id":2794,"date":"2019-08-30T05:56:55","date_gmt":"2019-08-30T05:56:55","guid":{"rendered":"https:\/\/www.testpreptraining.com\/tutorial\/?page_id=2794"},"modified":"2020-05-01T12:31:37","modified_gmt":"2020-05-01T12:31:37","slug":"amazon-elasticache-2","status":"publish","type":"page","link":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/amazon-elasticache-2\/","title":{"rendered":"Amazon ElastiCache"},"content":{"rendered":"\n<p><strong>Amazon ElastiCache<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>ElastiCache is a web service<\/li><li>Used to set up, manage, and scale distributed in-memory cache environments in AWS.<\/li><li>Provides a high performance, resizable, and cost-effective in-memory cache<\/li><li>Removes complexity associated with deploying and managing a distributed cache environment.<\/li><li>Works with the Redis and Memcached engines<\/li><li>By default, the AWS SDKs, AWS CLI, ElastiCache API, and ElastiCache console reference the US-West (Oregon) region.<\/li><\/ul>\n\n\n\n<p><strong>ElastiCache Node<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Node is the smallest building block in Elasticache<\/li><li>Node can exist in isolation from<\/li><li>Node can be in some relationship to other nodes.<\/li><li>It is a fixed-size chunk of secure, network-attached RAM.<\/li><li>Each node runs an instance of the engine and version that was chosen during cluster creation.<\/li><li>Scale the nodes in a cluster up or down to a different instance type.<\/li><\/ul>\n\n\n\n<p><strong>ElastiCache operations for clusters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Creating a cluster<\/li><li>Modifying a cluster<\/li><li>Taking snapshots of a cluster (all versions of Redis)<\/li><li>Deleting a cluster<\/li><li>Viewing the elements in a cluster<\/li><li>Adding or removing cost allocation tags to and from a cluster<\/li><\/ul>\n\n\n\n<p><strong>Redis<\/strong><\/p>\n\n\n\n<p><strong>Redis, expands to Remote Dictionary Server<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>It is a fast, open-source, in-memory key-value data store<\/li><li>Can be used as\n<ul>\n<li>a database<\/li>\n<\/ul>\n<ul>\n<li>cache<\/li>\n<\/ul>\n<ul>\n<li>message broker<\/li>\n<\/ul>\n<ul>\n<li>queue<\/li>\n<\/ul>\n<\/li><li>The project started by Salvatore Sanfilippo, to improve scalability of his Italian startup.<\/li><li>Redis delivers sub-millisecond response times<\/li><li>Enables millions of requests per second<\/li><li>Good for real-time applications in\n<ul>\n<li>Gaming<\/li>\n<\/ul>\n<ul>\n<li>Ad-Tech<\/li>\n<\/ul>\n<ul>\n<li>Financial Services<\/li>\n<\/ul>\n<ul>\n<li>Healthcare<\/li>\n<\/ul>\n<ul>\n<li>IoT<\/li>\n<\/ul>\n<\/li><li>Popular choice for\n<ul>\n<li>Caching<\/li>\n<\/ul>\n<ul>\n<li>session management<\/li>\n<\/ul>\n<ul>\n<li>gaming<\/li>\n<\/ul>\n<ul>\n<li>leaderboards<\/li>\n<\/ul>\n<ul>\n<li>real-time analytics<\/li>\n<\/ul>\n<ul>\n<li>geospatial<\/li>\n<\/ul>\n<ul>\n<li>ride-hailing<\/li>\n<\/ul>\n<ul>\n<li>chat\/messaging<\/li>\n<\/ul>\n<ul>\n<li>media streaming<\/li>\n<\/ul>\n<ul>\n<li>pub\/sub apps.<\/li>\n<\/ul>\n<\/li><\/ul>\n\n\n\n<p><strong>Redis in Brief<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>All Redis data resides in-memory<\/li><li>Hence, Redis avoid seek time delays<\/li><li>Can access data in microseconds.<\/li><li>Redis features\n<ul>\n<li>versatile data structures<\/li>\n<\/ul>\n<ul>\n<li>high availability<\/li>\n<\/ul>\n<ul>\n<li>geospatial<\/li>\n<\/ul>\n<ul>\n<li>Lua scripting<\/li>\n<\/ul>\n<ul>\n<li>Transactions<\/li>\n<\/ul>\n<ul>\n<li>on-disk persistence<\/li>\n<\/ul>\n<ul>\n<li>cluster support<\/li>\n<\/ul>\n<ul>\n<li>simpler to build real-time internet scale apps.<\/li>\n<\/ul>\n<\/li><\/ul>\n\n\n\n<p><strong>Redis data types <\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Strings \u2013 text or binary data up to 512MB in size<\/li><li>Lists \u2013 a collection of Strings in the order they were added<\/li><li>Sets \u2013 an unordered collection of strings with the ability to intersect, union, and diff other Set types<\/li><li>Sorted Sets \u2013 Sets ordered by a value<\/li><li>Hashes \u2013 a data structure for storing a list of fields and values<\/li><li>Bitmaps \u2013 a data type that offers bit level operations<\/li><li>HyperLogLogs \u2013 a probabilistic data structure to estimate the unique items in a data set<\/li><\/ul>\n\n\n\n<p><strong>Redis Cluster and Shard<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>A Redis shard (or a node group in the API and CLI) is a grouping of 1 to 6 related nodes.<\/li><li>A Redis (cluster mode disabled) cluster always has one shard.<\/li><li>A Redis (cluster mode enabled) cluster can have 1\u201390 shards.<\/li><li>A multiple node shard implements replication by have one read\/write primary node and 1\u20135 replica nodes.<\/li><li>A Redis cluster is a logical grouping of one or more ElastiCache for Redis Shards.<\/li><li>Data is partitioned across the shards in a Redis (cluster mode enabled) cluster.<\/li><\/ul>\n\n\n\n<p><strong>AWS and&nbsp; Memcached<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Node is the smallest building block in Elasticache<\/li><li>Each node runs an instance of Memcached.<\/li><li>Can scale the nodes in a cluster up or down to a different instance type.<\/li><li>The Memcached engine supports Auto Discovery, in which, client programs automatically identify all nodes in cache cluster, initiate and maintain connections to all of these nodes. No manual configuration.<\/li><li>Client application connects to a configuration endpoint having DNS entry with CNAME entries for each of the cache node endpoints.<\/li><li>Memcached is available in multiple AWS Regions around the world.<\/li><\/ul>\n\n\n\n<p><strong>Choose Memcached if<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>You need the simplest model possible.<\/li><li>You need to run large nodes with multiple cores or threads.<\/li><li>You need the ability to scale out and in, adding and removing nodes as demand on system increases and decreases.<\/li><li>You need to cache objects, such as a database.<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Amazon ElastiCache ElastiCache is a web service Used to set up, manage, and scale distributed in-memory cache environments in AWS. Provides a high performance, resizable, and cost-effective in-memory cache Removes complexity associated with deploying and managing a distributed cache environment. Works with the Redis and Memcached engines By default, the AWS SDKs, AWS CLI, ElastiCache&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":53,"menu_order":29,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[477,7],"class_list":["post-2794","page","type-page","status-publish","hentry","category-amazon-aws","tag-amazon-elasticache","tag-aws"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Amazon ElastiCache - Tutorials (TestPrep)<\/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:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/amazon-elasticache-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Amazon ElastiCache - Tutorials (TestPrep)\" \/>\n<meta property=\"og:description\" content=\"Amazon ElastiCache ElastiCache is a web service Used to set up, manage, and scale distributed in-memory cache environments in AWS. Provides a high performance, resizable, and cost-effective in-memory cache Removes complexity associated with deploying and managing a distributed cache environment. Works with the Redis and Memcached engines By default, the AWS SDKs, AWS CLI, ElastiCache...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/amazon-elasticache-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Testprep Training Tutorials\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-01T12:31:37+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/amazon-elasticache-2\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/amazon-elasticache-2\/\",\"name\":\"Amazon ElastiCache - Tutorials (TestPrep)\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\"},\"datePublished\":\"2019-08-30T05:56:55+00:00\",\"dateModified\":\"2020-05-01T12:31:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/amazon-elasticache-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/amazon-elasticache-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/amazon-elasticache-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AWS Certified Solutions Architect Associate (SAA-C03)\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Amazon ElastiCache\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"name\":\"Testprep Training Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\",\"name\":\"Testprep Training\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"contentUrl\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"width\":583,\"height\":153,\"caption\":\"Testprep Training\"},\"image\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Amazon ElastiCache - Tutorials (TestPrep)","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:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/amazon-elasticache-2\/","og_locale":"en_US","og_type":"article","og_title":"Amazon ElastiCache - Tutorials (TestPrep)","og_description":"Amazon ElastiCache ElastiCache is a web service Used to set up, manage, and scale distributed in-memory cache environments in AWS. Provides a high performance, resizable, and cost-effective in-memory cache Removes complexity associated with deploying and managing a distributed cache environment. Works with the Redis and Memcached engines By default, the AWS SDKs, AWS CLI, ElastiCache...","og_url":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/amazon-elasticache-2\/","og_site_name":"Testprep Training Tutorials","article_modified_time":"2020-05-01T12:31:37+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/amazon-elasticache-2\/","url":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/amazon-elasticache-2\/","name":"Amazon ElastiCache - Tutorials (TestPrep)","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website"},"datePublished":"2019-08-30T05:56:55+00:00","dateModified":"2020-05-01T12:31:37+00:00","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/amazon-elasticache-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/amazon-elasticache-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/amazon-elasticache-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.testpreptraining.ai\/tutorial\/"},{"@type":"ListItem","position":2,"name":"AWS Certified Solutions Architect Associate (SAA-C03)","item":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/"},{"@type":"ListItem","position":3,"name":"Amazon ElastiCache"}]},{"@type":"WebSite","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","name":"Testprep Training Tutorials","description":"","publisher":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization","name":"Testprep Training","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","contentUrl":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","width":583,"height":153,"caption":"Testprep Training"},"image":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/2794","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/comments?post=2794"}],"version-history":[{"count":5,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/2794\/revisions"}],"predecessor-version":[{"id":5176,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/2794\/revisions\/5176"}],"up":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/53"}],"wp:attachment":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/media?parent=2794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/categories?post=2794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/tags?post=2794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}